frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

US Mobile now bundles Starlink home internet starting at $47/month

https://www.usmobile.com/home-internet/starlink
1•fastest963•1m ago•0 comments

For Chinese visa-seekers in the US, the path to good fortune lies in Chick-fil-A

https://apnews.com/article/china-student-visa-h1b-green-card-immigrant-talent-stem-0c86e70ae2074e...
1•rawgabbit•3m ago•0 comments

The Guinndex

https://guinndex.ai
1•wallflower•3m ago•0 comments

Why Obama did not stop NSA domestic surveillance (2015)

https://www.politico.com/magazine/story/2015/11/barack-obama-lawyer-in-chief-213342/
1•downbad_•4m ago•1 comments

ChatGPT Helped Plan Massacre

https://www.youtube.com/watch?v=IbG-JGdGniY
1•solid_fuel•6m ago•1 comments

Ask HN: Will AI Redefine Programming?

1•ploution•7m ago•1 comments

Getting chat-tuned models to act kinda like base models

https://iter.ca/post/model-baseify/
1•smitop•9m ago•0 comments

Show HN: Editing 2000 photos made me build a macOS bulk photo editor

https://apps.apple.com/us/app/rapidphoto-batch-crop-edit/id6758485661?mt=12
2•om202•10m ago•0 comments

Why you not contributing yet? Contribute to Obsidian Kernel

https://github.com/roading-os/Obsidian-Kernel/blob/main/HOW-TO-CONTRIBUTE.md
1•oretuff•11m ago•0 comments

The Little Book of Deep Learning

https://fleuret.org/francois/lbdl.html
2•malshe•11m ago•2 comments

Zotero 9

https://www.zotero.org/blog/zotero-9/
4•tech234a•12m ago•0 comments

Chilcy – AI-Powered Business Intelligence for Modern Companies

https://www.chilcy.com/
2•sajithfx•13m ago•0 comments

Open Letter to Some Collabora Developers

https://blog.documentfoundation.org/blog/2026/04/11/open-letter-to-developers/
1•tech234a•13m ago•0 comments

Is Schoolwork Optional Now?

https://www.theatlantic.com/technology/2026/04/ai-agents-school-education/686754/
1•Anon84•13m ago•0 comments

Air Powered Segment Display [video]

https://www.youtube.com/watch?v=E1BLGpE5zH0
1•guiambros•15m ago•0 comments

Show HN: Self-improving sandboxed agent with memory and scheduling

https://github.com/Grimm67123/GrimmBot
1•grimm8000•17m ago•1 comments

Lost Images

https://web.archive.org/web/20060428062213/http://westfordcomp.com/updated/found.htm
2•bookofjoe•18m ago•0 comments

The mystery of the lost Roman herb

https://www.bbc.com/future/article/20170907-the-mystery-of-the-lost-roman-herb
1•theamazing0•19m ago•0 comments

What I Stopped Thinking About Going Car-Free

https://maxmautner.com/2026/04/10/what-i-dont-spend-time-thinking-about.html
5•mslate•20m ago•0 comments

I built a free daily Shikaku puzzle site

https://shikaku.ch/
1•lucernelucerne•24m ago•0 comments

Alan Bean Plus Four

https://www.newyorker.com/magazine/2014/10/27/alan-bean-plus-four-fiction-tom-hanks
1•lIl-IIIl•26m ago•1 comments

The Jet Powered Beer Cooler

https://www.asciimation.co.nz/beer/
2•jesterpm•26m ago•0 comments

Windows Defender Is Being Used to Hack Windows

https://hackingpassion.com/bluehammer-windows-defender-zero-day/
2•weaksauce•27m ago•0 comments

Japan Injects $16B to Kickstart Rapidus to AI Chipmaking

https://catenaa.com/industries/technology/japan-injects-16bn-to-kickstart-rapidus-to-ai-chipmaking/
1•malindasp•28m ago•1 comments

The Synthetic Mind – Cognitive Architecture for LLM Agents

https://github.com/joshferrer1/the-synthetic-library/tree/main/the-synthetic-mind
2•Josh55•28m ago•0 comments

Agent Harness: Inside vs. Outside the Sandbox

https://www.mendral.com/blog/agent-harness-inside-vs-outside-sandbox
3•shad42•30m ago•0 comments

The Center Has a Bias

https://lucumr.pocoo.org/2026/4/11/the-center-has-a-bias/
3•yomismoaqui•32m ago•1 comments

Show HN: Bitcoin and Quantum Computing – a three-part research series

https://bitcoinquantum.space
1•nvk•34m ago•0 comments

How We Broke Top AI Agent Benchmarks: And What Comes Next

https://rdi.berkeley.edu/blog/trustworthy-benchmarks-cont/
16•Anon84•35m ago•1 comments

The Buffalo Raiders

https://magazine.atavist.com/2026/buffalo-raiders-vietnam-draft
2•gmays•39m ago•0 comments
Open in hackernews

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

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