frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

All top AI models in one place – GPT, Claude, Gemini, Grok

https://www.chatgoat.ai/en
1•HollisQi•1m ago•0 comments

Welcome to the Wasteland: A Thousand Gas Towns

https://steve-yegge.medium.com/welcome-to-the-wasteland-a-thousand-gas-towns-a5eb9bc8dc1f
1•weltview•2m ago•0 comments

Apple Studio Display XDR Supports Dicom Medical Imaging for Diagnostic Radiology

https://www.macrumors.com/2026/03/03/studio-display-xdr-dicom-medical-imaging/
1•tosh•3m ago•0 comments

When Reasoning Becomes a Trap: Gemini 3 Flash in FoodTruck Bench

https://foodtruckbench.com/blog/gemini-flash
1•Munksgaard•5m ago•0 comments

Au Revoir, Eleventy

https://hamatti.org/posts/au-revoir-eleventy/
1•Tomte•12m ago•0 comments

RFC 9849. TLS Encrypted Client Hello

https://www.rfc-editor.org/rfc/rfc9849.html
2•P_qRs•13m ago•0 comments

Altman's "sloppy" mistake works in Anthropic's favor [video]

https://www.youtube.com/shorts/ZklG_j10-IA
1•mdp2021•13m ago•1 comments

How Important Was the Battle of Hastings?

https://www.historytoday.com/archive/head-head/how-important-was-battle-hastings
2•benbreen•15m ago•1 comments

Fluid Cryptography Challenge

https://nests.zeabur.app/
1•realpaer•15m ago•1 comments

China uses AI doctor clones to help patients and improve healthcare

https://zoneofasia.com/china-uses-ai-doctor-clones-to-help-patients-and-improve-healthcare/
2•teleforce•17m ago•0 comments

Unmasking Redacted Names in Epstein Files Using Computer Vision (Open Source)

https://www.youtube.com/watch?v=mKK9VPito-E
2•birdculture•22m ago•0 comments

GPUI Mobile: Zed's GPUI Framework to iOS (Metal) and Android (Vulkan) in Rust

https://github.com/itsbalamurali/gpui-mobile
3•itsbalamurali•26m ago•1 comments

Tell HN: I got Claude Max for my open source project

3•asim•27m ago•2 comments

I built a local-first stock valuation tool based on Damodaran's methodology

https://github.com/stockvaluation-io/stockvaluation_io
3•softcane•28m ago•2 comments

Show HN: PulseWatch – AI-powered website change monitoring with visual selectors

https://pulsewatch.watch
2•KaracaTR•28m ago•0 comments

UN calls for investigation into deadly strike on school in Iran

https://www.reuters.com/world/middle-east/un-urges-investigation-into-horrific-attack-iran-school...
4•nerdyadventurer•32m ago•0 comments

The Influence of Anxiety: Harold Bloom and Literary Inheritance

https://thepointmag.com/examined-life/the-influence-of-anxiety/
3•apollinaire•36m ago•0 comments

Show HN: Mcpfs – Mount MCP servers as FUSE filesystems

https://github.com/airshelf/mcpfs
2•evoleinik•38m ago•0 comments

What Is Code Review For?

https://blog.glyph.im/2026/03/what-is-code-review-for.html
1•ingve•40m ago•0 comments

Israel Is Blowing Up Iran's Police State to Clear the Way for a Revolt

https://www.wsj.com/world/middle-east/israel-is-blowing-up-irans-police-state-to-clear-the-way-fo...
1•breppp•41m ago•0 comments

Show HN: Cloudwright – validate, cost, and export cloud architectures from text

https://github.com/xmpuspus/cloudwright
2•xmpuspus•41m ago•0 comments

Show HN: SPOTLYTT - STANDOUT AND GET DISCOVERED BY SKILLS

https://spotlytt.com
1•pbs29•42m ago•2 comments

Quiet War: The Polity, The Terminator, and AI takeover

https://yadin.com/notes/quiet/
1•dryadin•43m ago•0 comments

Show HN: Armalo AI – The Infrastructure for Agent Networks

1•ArmaloAI•45m ago•0 comments

Parakaryon – the sole species in the genus Parakaryon

https://en.wikipedia.org/wiki/Parakaryon
2•gurjeet•46m ago•0 comments

Tell HN: I exported my data from ChatGPT

2•luxpir•49m ago•0 comments

Polymarket and Kalshi's Iran War Wagers Are Ghoulish – and Troubling

https://www.bloomberg.com/opinion/articles/2026-03-04/prediction-markets-polymarket-kalshi-iran-w...
2•petethomas•49m ago•0 comments

Franz Kafka's Lost Treatise on Wayland

https://spader.zone/kafka/
1•dboon•49m ago•0 comments

A Temporal Dark Patterns Audit of McDonald's Self-Ordering Kiosk Flow

https://arxiv.org/abs/2603.03218
3•50kIters•50m ago•0 comments

Show HN: Yare.io – 1v1 JavaScript coding game

https://yare.io
2•levmiseri•53m ago•0 comments
Open in hackernews

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

3•polishdude20•9mo 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•9mo 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•9mo 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•9mo 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•9mo 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•9mo ago
Oh yes I agree with you. It may become a big push to convince my org to do that