frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Cut Express

https://cut.express/
1•welsenesbros•51s ago•0 comments

Oil 101

https://oil101.morgandowney.com/
1•mxschumacher•1m ago•0 comments

Integers – how ought they work?

https://futhark-lang.org/blog/2026-10-21-integers-how-ought-they-work.html
1•stosssik•2m ago•0 comments

A new contest pits competitors against each other in a race to biological youth

https://www.technologyreview.com/2026/10/02/1145610/younger-contest-race-to-biological-youth/
1•stosssik•2m ago•0 comments

Parano1d EIP-8288: heterogeneous recursion with an authenticated class bank

https://ethresear.ch/t/paranoid-eip-8288-heterogeneous-recursion-with-an-authenticated-class-bank...
2•ignotusnemo•4m ago•0 comments

Musk's public endorsement of SpaceX-Tesla deal may throw a wrench in talks

https://www.reuters.com/legal/government/musks-public-endorsement-spacex-tesla-deal-may-throw-wre...
1•samizdis•5m ago•0 comments

One History, Many Agents: Using jj workspaces for parallel coding agents

https://minikin.me/blog/jj-workspaces-for-parallel-agents/
1•koburan•6m ago•0 comments

The grads ditching the UK for a fresh start abroad

https://www.bbc.com/news/articles/cmzxj4e8w44vo
1•clarionbell•8m ago•0 comments

OnePlus Open gets official LineageOS builds

https://wiki.lineageos.org/devices/xueying/
1•bilibali•9m ago•0 comments

Show HN: Moin – A P2P voice app built on iroh and Media over QUIC

https://moin.chat/
2•culinary-robot•10m ago•0 comments

The Eureka Mechanical Language Model from 1845

https://en.wikipedia.org/wiki/The_Eureka
2•theanonymousone•13m ago•0 comments

The Internet Is on Fire

https://kuber.studio/internetonfire/
4•kuberwastaken•20m ago•0 comments

Mark Zuckerberg Threatened to Leave California. Meta’s Board Cut Him a Deal

https://www.wsj.com/business/mark-zuckerberg-discussed-leaving-california-over-wealth-tax-21b0b522
3•thm•21m ago•0 comments

5GHz Drone Video, with an ESP32

https://hackaday.com/2026/10/20/5-ghz-drone-video-with-an-esp32/
1•khalidkhair•21m ago•0 comments

IBM releases granite speech 5.0 2B

https://huggingface.co/ibm-granite/granite-speech-5.0-2b
2•kennykartman•21m ago•1 comments

Stack.menu: Stack guidance for your coding agent

https://stack.menu/
1•almirsarajcic•22m ago•0 comments

Reminiscing about the 90s

https://www.reddit.com/r/90s/comments/1x2tvxb/i_dont_even_recognize_this_world_anymore/
1•abhikul0•22m ago•0 comments

Zls 0.17.0

https://zigtools.org/zls/releases/0.17.0/
1•birdculture•24m ago•0 comments

Run iOS on Android Phones

3•spicygum•26m ago•0 comments

Cloudflare is rewriting everything in Rust

https://kerkour.com/rust-at-cloudflare
3•tonyedgecombe•26m ago•0 comments

Show HN: Shay.me – Personal AI assistant to get things done

1•arjumand•29m ago•0 comments

TornadoVM 7 Enables GPU-Native Workloads from Java Applications

https://www.infoq.com/news/2026/10/tornadovm-7-gpu/
1•pjmlp•30m ago•0 comments

Show HN: Tinytowns, a small model to generate realistic sounding town names

https://quirkyagents.com/wizard/projects/tinytowns/
2•dave8172•33m ago•0 comments

Show HN: NeoInbox, a recreation of Google Inbox as a Thunderbird extension

https://neoinbox.freakified.net/
1•FreakyT•35m ago•0 comments

Show HN: AIQualityHQ – Browser-native prompt QA and security guardrails

https://aiqualityhq.com
1•pntkrl•36m ago•0 comments

Show HN: PrintPixel Tool – Client-side image print size and quality calculator

https://printpixeltool.com/
1•pntkrl•37m ago•0 comments

CVE-2026-111943: Compromised Intermediate Certificate Authority

https://nvd.nist.gov/vuln/detail/cve-2026-111943
33•keks24•40m ago•10 comments

Poland says social media firms are 'silent ally' of Russia, threatens fines

https://www.reuters.com/technology/poland-says-social-media-firms-are-silent-ally-russia-threaten...
6•vrganj•40m ago•0 comments

Why skilj has no aggregates

https://blog.gklijs.tech/tech/2026/why-skilj-has-no-aggregates
1•gklijs•40m ago•0 comments

Show HN: The Companion Lab – What 7 AI companion apps charge on bank statements

https://thecompanionlab.com/billing/
2•dirtyfancy•41m 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