frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

ParallelClusterMaker – CLI toolkit to manage AWS ParallelCluster stacks

https://github.com/rmarable/ParallelClusterMaker
1•rmarable•3m ago•0 comments

Brain scans reveal widespread changes in patients following COVID-19 infection

https://www.psypost.org/brain-scans-reveal-widespread-structural-and-functional-changes-in-patien...
1•amichail•3m ago•0 comments

Who Should Pay for Source Code Availability?

https://kristoff.it/blog/source-code-availability/
1•kristoff_it•4m ago•0 comments

An Israeli professor lost a prestigious US job offer after speaking out on Gaza

https://www.theguardian.com/us-news/ng-interactive/2026/aug/06/professor-israel-gaza-university-o...
2•khaledh•5m ago•1 comments

Interview with Amit Patel, Creator of "Solar Realms Elite"

https://breakintochat.com/blog/2013/02/18/amit-patel-creator-of-solar-realms-elite/
1•bananaboy•5m ago•0 comments

Ask HN: Why can't we use both doors?

1•Dfol•7m ago•0 comments

John C. Lilly on solid state intelligence and the elimination of man (1978)

https://kibotronics.net/unlisted/lilly-machines/
1•Kiboneu•8m ago•0 comments

ScientistOne: Towards Human-Level Autonomous Research via Chain-of-Evidence

https://arxiv.org/abs/2605.26340
1•simonpure•12m ago•0 comments

Big Tech's Ten Most Interesting Patents This Week (8/9/2026)

https://patentlyze.com/big-tech-ten-most-interesting-patents-july-30-2026/
2•Dfol•12m ago•0 comments

Science One Framework: Verifiable Autonomous Research via Chain-of-Evidence

https://research.google/blog/science-one-framework-a-verifiable-autonomous-research-framework-via...
1•simonpure•14m ago•0 comments

Debugging Information for Inlined Functions

https://lwn.net/Articles/1083985/
1•pykello•18m ago•0 comments

Ask HN: My dev blog has 11k followers. I stopped writing it. What would you do?

1•zlatkov•20m ago•2 comments

Halftone QR Codes

https://cgv.cs.nthu.edu.tw/Projects/Recreational_Graphics/Halftone_QRCodes/
1•karagenit•20m ago•1 comments

The Slow Squeeze: Three Systems Under Strain, Moving at Different Speeds

https://bytepith.com/article/slow-squeeze-climate-demographics-and-state-power
2•khanhnguyen8386•22m ago•0 comments

Play is at the core of a meaningful life

https://www.ft.com/content/7b95cdab-7546-432f-b4a1-6509e7648ec5
2•benkoller•24m ago•0 comments

I run a 9-model LLM council to write a financial newsletter. What breaks

https://marketdaily.ai/blog/eng-llm-council-judge-en-202608
1•delvinchang•26m ago•0 comments

Attachment style quiz – find out your attachment

https://tally.so/r/0QP0lj
1•ElysiumAbove•26m ago•1 comments

Becoming Bridge Builders

1•Revdrbkeithhane•28m ago•0 comments

Offline Bootloader Unlock for Xiaomi 8Elite 8G3 8G2 8sGen4 8sGen3, MTK 9400/9500

https://xdaforums.com/t/guide-breakthrough-free-offline-bootloader-unlock-for-cn-xiaomi-redmi-8el...
2•Markoff•30m ago•0 comments

Show HN: Sift – Fast local file organizer CLI with 1-click transaction undo

https://github.com/taevel02/Sift
1•taevel02•31m ago•0 comments

Open-Source Licensing 101

https://alavi.me/blog/opensource-licensing-101/
1•yolkedgeek•32m ago•0 comments

Translating anything into a number using math

https://blog.naxn.shop/ever-thought-about-how-you-can-translate-anything-into-a-number-using-math
1•codecnomad•32m ago•0 comments

Emacs for NvChads

https://qlain.online/blog/emacs-for-nvchads.html
2•etoql•33m ago•0 comments

Show HN: Job Seeker – AI agent skills for job searching

https://github.com/galiprandi/job-seeker
1•galiprandi•35m ago•0 comments

Mea Culpa – Dark Hours

https://blog.terrygodier.com/2026/08/09/mea-culpa-dark-hours.html
28•satvikpendem•35m ago•11 comments

Murder Stone

https://en.wikipedia.org/wiki/Murder_stone
1•jimnotgym•38m ago•1 comments

Exercise is good for you. But what's the right amount?

https://iterator.news/p/exercise-is-good-for-you-but-whats-the-right-amount
2•bucket2015•39m ago•3 comments

Let's build a digital clock (Video, Ben Eater)

https://www.youtube.com/watch?v=3XDH-fZKnQk
1•JKCalhoun•44m ago•0 comments

A unique palaeolithic human ichnological record from Italy (Bàsura Cave)

https://elifesciences.org/articles/45204
1•Tomte•45m ago•0 comments

Amazon Builder's Library – An overlooked goldmine of System Design knowledge

https://sumitgouthaman.com/posts/amazon-builders-library/
1•equinumerous•45m 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