frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Big Balls is running the ops for USA's new government network infrastructure

https://medium.com/@carmitage/big-balls-now-exposed-to-serious-criminal-charges-in-at-least-six-s...
1•sans_souse•31s ago•0 comments

Work Loudly

https://ben.balter.com/2026/07/14/work-loudly/
1•fagnerbrack•1m ago•0 comments

Rapidos

https://github.com/raphmwanza/RapidOS-open-source
1•raphmwanza•2m ago•0 comments

Database of Scientist Leaving America (USA)

https://www.scientistsleavingusa.com/
1•panicbutton•5m ago•0 comments

I Went Viral and Became an Undercover Pro

https://imateapot.dev/i-went-viral-and-became-an-undercover-pro/
1•Goofy_Coyote•6m ago•0 comments

Microsoft Doubles Down on Rust

https://www.infoworld.com/article/4227839/microsoft-doubles-down-on-rust.html
2•ibobev•8m ago•0 comments

Keeping Futhark Off the GPU

https://futhark-lang.org/blog/2026-10-02-cpu_function.html
1•ibobev•8m ago•0 comments

Klassik Revives the KDE 3 Desktop on Modern Plasma 6

https://linuxiac.com/klassik-revives-the-kde-3-desktop-on-modern-plasma-6/
1•ibobev•9m ago•0 comments

Show HN: Pi Durable and Nostr

https://gitea.coracle.social/coracle/pi-nostr
1•jonstaab•9m ago•0 comments

The Official TypeScript SDK for the SpaceXAI API

https://github.com/xai-org/xai-sdk-ts
1•arbayi•11m ago•0 comments

The little guy vs. the Trillion dollar company WhatD vs. MUSE

https://www.usmeu.com/
1•johnDD•12m ago•0 comments

OpenStack Hibiscus adds Confidential Computing to its bag of cloud tricks

https://opensourcewatch.beehiiv.com/p/openstack-hibiscus-adds-confidential-computing-and-ai-ready...
1•CrankyBear•12m ago•0 comments

What I Learned Publishing an iOS SDK for 10 Years

https://frankschmitt.org/blog/publishing-an-ios-sdk-for-10-years/
1•frankus•15m ago•0 comments

Start Your 90 Day Challenge with This Small Mac Desktop App(ADHD Friendly)

https://github.com/logrelu/swaybles
1•logrelu•15m ago•1 comments

The Dangers of North Korea's Nuclear Status Quo

https://www.38north.org/2026/10/the-dangers-of-north-koreas-nuclear-status-quo/
1•EA-3167•17m ago•0 comments

Hiring in this industry is broken

https://twitter.com/joshmanders/status/2105998630834327982
1•bilsbie•18m ago•1 comments

Monarch butterflies – an interactive 2.5D experience

https://www.echohive.ai/experiments/monarchs
1•echohive42•22m ago•0 comments

NSF Diverted $1.4B in Science Funds Mandated by Congress

https://www.nytimes.com/2026/10/02/us/politics/national-science-foundation-research-funds.html
3•contemporary343•23m ago•0 comments

LLaMA Now Goes Faster on CPUs

http://justine.lol/matmul/
1•luu•23m ago•0 comments

Rochdale College

https://en.wikipedia.org/wiki/Rochdale_College
1•pcfwik•24m ago•0 comments

Apple to Tighten Mac Data Controls in Guard Against AI Agents

https://www.bloomberg.com/news/articles/2026-10-02/apple-to-tighten-mac-data-controls-in-guard-ag...
1•mfiguiere•25m ago•0 comments

FAA Says 737 MAX Software Glitch Doesn't Pose Safety Issue

https://www.wsj.com/business/airlines/faa-determines-737-max-software-glitch-doesnt-pose-safety-i...
1•bookofjoe•27m ago•1 comments

Introducing Griffin – The First Human Interaction Model

https://www.tavus.io/griffin
1•mellosouls•29m ago•0 comments

Anything connected to the internet is going to get hacked to pieces

https://eliastaylor.com/software-tinderbox/
4•zkldi•30m ago•0 comments

Show HN: Cinematic Grade, a real-time GLSL color grade for the Cinnamon desktop

https://github.com/mateolafalce/iron-within
1•lafalce•31m ago•0 comments

Federal Judge Rules a Flock Search Was Unconstitutional

https://www.404media.co/federal-judge-rules-a-flock-search-was-indiscriminate-mass-surveillance-a...
10•pavel_lishin•32m ago•0 comments

Open-sourcing AstaBrief, the fast report-generation model in Asta

https://allenai.org/blog/astabrief
3•malshe•36m ago•0 comments

Show HN: A 100% Client-Side HAR Analyzer with Comparison Feature and Faster Load

https://har-analyzer.onlinetool.workers.dev/
2•kvmsolutionscon•37m ago•0 comments

Whistle: Speech to Text in 16.9 MB by Cactus Compute

https://cactuscompute.com/blog/whistle
1•KitN•39m ago•0 comments

Show HN: Rank every HN "Who is hiring?" post against your resume, locally

https://github.com/MaxwellVolz/hn_whos_hiring
1•intervolz•40m ago•0 comments
Open in hackernews

Ask HN: Any good tools to pgdump multi tenant database?

3•polishdude20•1y ago
Just joined a new company and they run a multi tenant database in postgres where each tenant is distinguished by their account ID. I'd like to be able to dump the data of a single account to my local instance to assist in debugging.

Problem is, many of the entities do not include an account ID. For example, a user can have an account ID but a user post will not but it will be tied to a user ID.

Also foreign keys aren't really implemented fully.

Are there any tools or techniques that could help make this process easier to do?

Comments

tudorg•1y ago
You can try with data subsetting tools, a few that I know are: greenmask, jailer, tonic condenser, and I think there are more. They are not exactly for your use case, but might help you a bit. The problem is most of these tools can walk foreign keys, but only in one directions.

Also, since you said FK are not fully implemented, then there just won't be enough information for them to work with. So you can either work on fixing the foreign keys or have more complex scripts.

polishdude20•1y ago
Thanks for the suggestions!

Yeah due to the unavailability of FK's, I'd have to somehow map certain ID columns to the tables they're for, accounting for slight naming convention differences.

woyten•1y ago
In case you don’t have FKs you could specify virtual foreign keys in Greenmask.

Check out docs for details

https://docs.greenmask.io/latest/database_subset/#virtual-re...

abhisek•1y ago
This is poor design. Multi-tenant data model design must have a tenant or segment ID for every tenant segmented tables. While it may not be a problem initially but as the business grows, you may need to move tenant data to separate DBs or even different regions based on compliance requirements. IMHO it is a good idea to run DB migrations and have a tenant ID populated in all tenant segmented tables
polishdude20•1y ago
Oh yes I agree with you. It may become a big push to convince my org to do that