frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

MathLapse: Constructions by pin-and-string: conics [video]

https://www.youtube.com/watch?v=mldZ_7QwLvs
1•vismit2000•1m ago•0 comments

American Retirees on Different Incomes Rely on Social Security

https://www.nytimes.com/2026/10/12/business/social-security-income-retirement-benefits.html
1•toomuchtodo•2m ago•1 comments

Solar surpasses nuclear power globally for first time – pv magazine Global

https://www.pv-magazine.com/2026/09/29/solar-surpasses-nuclear-power-globally-for-first-time/
2•xbmcuser•2m ago•0 comments

Scientists Reveal How Pancreatic Cancer Evolves to Evade Treatment

https://today.ucsd.edu/story/scientists-reveal-how-pancreatic-cancer-evolves-to-evade-treatment
1•gmays•3m ago•0 comments

Ask HN: How do I stop Gemini Live from asking."Would like to know more about..?"

1•orsenthil•4m ago•0 comments

Null Surprises

https://wizardzines.com/comics/null-surprises/
1•vismit2000•4m ago•0 comments

Ask HN: Why people do not want to believe weight loss is possible without GLPs?

1•faangguyindia•5m ago•1 comments

I built a Telegram bot that tells me when watched Instagram accounts post

https://hikerapi.com/
1•SAdfzVGBXCNVB•6m ago•0 comments

Making Chicken Transparent Using Dorito Dust

https://chillphysicsenjoyer.substack.com/p/making-chicken-transparent-using
1•crescit_eundo•7m ago•0 comments

Using the brella to re-create Reddit

https://ahptour.com/blog/using-the-brella-to-re-create-reddit/
2•andrewfromx•8m ago•0 comments

Show HN: Esp32sim – Run ESP32 firmware in the browser

https://github.com/mikroverk/esp32sim
1•joakimeriksson•12m ago•0 comments

New Tesla Roadster: My Honest Reaction

https://www.youtube.com/watch?v=scwlR0QHGOk
1•Betelbuddy•14m ago•0 comments

Life After Death?

https://pudding.cool/2026/10/lifeafter/
1•gmays•17m ago•0 comments

Seminal Book Auction at Sotheby's

https://www.sothebys.com/en/series/reason-and-revolution-extraordinary-works-from-a-distinguished...
1•herodotus•17m ago•1 comments

Nexus-Q update: V4 native back end is now in main

https://nexus-q.link/
1•lecodev•18m ago•0 comments

Takto open-source hand exoskeleton

https://github.com/molanocortes/takto-one/tree/main
2•andsoitis•20m ago•1 comments

Internet access a fundamental right for all age groups – India's Supreme Court

https://scroll.in/latest/1096477/children-have-fundamental-right-to-use-internet-says-sc
2•drewfax•22m ago•1 comments

Are You Sure Your LLM Is Sure?

https://arxiv.org/abs/2610.22139
2•Betelbuddy•24m ago•1 comments

Stop ATSC 3.0 DRM

https://blog.velocifyer.com/Posts/7,Stop%20ATSC%203.0%20DRM/
1•Velocifyer•25m ago•0 comments

Microsoft AI chief says the company beat OpenAI's models, using less compute

https://www.businessinsider.com/microsoft-ai-ceo-new-model-beats-openai-using-less-compute-2026-10
1•khalidkhair•25m ago•2 comments

Academics should self publish textbooks

https://andrewpwheeler.com/2026/10/14/why-academics-should-self-publish-textbooks/
1•jruohonen•26m ago•0 comments

Prior-Data Gravity and Framework Reabsorption: A Behavioral Theory of LLMs

https://zenodo.org/records/23431917
1•RhizomaticMind•27m ago•0 comments

Developing for Debugging (2025)

https://www.davepacheco.net/blog/2025/developing-for-debugging-dns-propagation/
2•mpweiher•28m ago•0 comments

Show HN: Vramkit – lossless VRAM compression for LLM inference, on a MacBook

https://github.com/SRKRZ23/vramkit
1•sardor_r1•30m ago•0 comments

Welcome to the tour (AHP tour that is, Association of Hackathon Professionals)

https://ahptour.com/blog/welcome-to-the-tour/
2•andrewfromx•30m ago•0 comments

FDE-Gym: The Last Mile of AI Delivery

https://arxiv.org/abs/2610.22350
1•Betelbuddy•31m ago•0 comments

Ask HN: It's still worth to show own handmaded games to the public internet?

1•Wormaus•32m ago•1 comments

Show HN: High-quality duck audio synthesizer

https://celphase.github.io/duck-pond/
1•celphase•34m ago•0 comments

Sl – A Scalable, User-Friendly Source Control System

https://github.com/facebook/sapling
1•modinfo•40m ago•0 comments

Is there a temp phone number like temp email?

5•blacksinger•44m 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