frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Personal AI Router for Local Inference

https://www.nvidia.com/en-us/ai-on-rtx/personal-ai-router/
2•jonbaer•3m ago•0 comments

Dyson CameraJet ($500 Toothbrush)

https://www.dyson.com/discover/news/latest/introducing-camerajet
1•nycdatasci•4m ago•1 comments

To Ruby from Python

https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/to-ruby-from-python/
2•thunderbong•10m ago•0 comments

Deploying blojsom 2.28 (2006) on a modern host, 2026

https://blojsom.audiodude.xyz/blojsom/blog/
1•audiodude•10m ago•1 comments

The Strange Brain of an F1 Driver

https://www.nytimes.com/2026/09/04/sports/f1-brains-drivers-racing.html
1•bookofjoe•11m ago•1 comments

New feature, agent owning maintenance plans

https://machinemind.cdtglobal.org/
1•igdiaz•12m ago•0 comments

Vietnam Ho Chi Minh City proposes curbs on gasoline, diesel vehicles from 2027

https://www.reuters.com/world/asia-pacific/vietnams-ho-chi-minh-city-proposes-curbs-gasoline-dies...
1•teleforce•12m ago•0 comments

AI-assisted writing is common because writing is hard

https://greyenlightenment.com/2026/08/24/ai-assisted-writing-is-common-because-writing-is-hard/
1•paulpauper•15m ago•1 comments

Claude Fable 5.1 vs. GPT-6 Astra, who wins on the 3D modeling?

https://github.com/PhiloLabs/fable51-worlds/tree/main
1•ameddserM•22m ago•2 comments

"Taste" Will Not Save You

https://molochinations.substack.com/p/taste-will-not-save-you
1•domhudson•22m ago•0 comments

The jobs apocalypse is postponed. An AI jobs boom is here

https://www.economist.com/finance-and-economics/2026/09/04/the-jobs-apocalypse-is-postponed-an-ai...
3•alephnerd•24m ago•0 comments

A Movie Can't Be Just Its Own Thing Anymore

https://www.theatlantic.com/culture/2026/09/onslaught-movie-review-a24-adam-wingard/688521/
1•paulpauper•25m ago•0 comments

Need advice on personal web project

https://www.what2do.me/
1•gnrlnoob•28m ago•2 comments

Hi, I'm a solo dev behind Twilock

https://apps.apple.com/us/app/twilock-screen-time-blocker/id6786474238
1•hussaintaheri•30m ago•0 comments

Show HN: Video Wall Live – View all your Ring cameras at once, on the big screen

https://ring.com/pages/appstore/video-wall-live
1•rabbimarshak•30m ago•0 comments

Shotdock – Wayland screenshot, recording, and window framing tool in Rust

https://github.com/sirrryasir/shotdock
2•sirrryasir•30m ago•1 comments

The Key to a Killer Résumé Is Your Perfect Scrambled Eggs

https://www.wsj.com/lifestyle/careers/go-ahead-put-your-most-eccentric-hobbies-on-your-resume-31e...
1•gmays•31m ago•0 comments

Android Studio’s device mirroring as a standalone app, no IDE required

https://github.com/rPlayAI/rplayhub-android
1•rPlayAI•45m ago•0 comments

Tiny Rust Layout Choices Freed 100 TB of DNS Cache Memory

https://talmondrlm.medium.com/the-argument-for-rust-on-arduino-am-i-crazy-641830273cd9
1•syumei•48m ago•1 comments

GPT-6 Astra: First Experience (high)

https://chatgpt.com/share/6a9b671d-b780-83ea-bd5d-b0ea39f7d9b3
2•nycdatasci•49m ago•1 comments

Mega Backdoor Roth ($72k/year contribution limit)

https://www.bogleheads.org/wiki/Mega-backdoor_Roth
3•nycdatasci•53m ago•0 comments

After OpenAI's Bots Went Rogue, Watchdogs Were Kept on a Short Leash

https://www.nytimes.com/2026/09/03/technology/openai-hugging-face-hack.html
1•whack•56m ago•0 comments

Hilarious House of Frightenstein[Nostalgia]

https://www.frightenstein.com/castcrew.html
1•rolph•1h ago•1 comments

John Brown and the question of righteous violence

https://thedispatch.com/article/john-brown-harpers-ferry-slavery/
2•cocacola1•1h ago•0 comments

Hegel-Rust OSS bug-finding

https://github.com/DRMacIver/hegel-rust-oss-bug-finding
1•wwilson•1h ago•0 comments

Elastic Cloud (Public) Status – Replication bug causing slow recoveries

https://status.elastic.co/incidents/l6zgdnvvg41j
2•kyisaiah47•1h ago•0 comments

Book Review: The Tale of Genji

https://www.astralcodexten.com/p/your-book-review-the-tale-of-genji
2•paulpauper•1h ago•0 comments

Solving Chess

https://en.wikipedia.org/wiki/Solving_chess
1•nomilk•1h ago•0 comments

Tell HN: The Thoughts and Woes of a Full-Time Founder Part 2

1•lcampbellsoup•1h ago•0 comments

Ask HN: What is your biggest career regret?

3•eudamoniac•1h ago•1 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