frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Gmail emoji reactions will be enabled by default starting Feb

https://www.prettyfwd.com/t/XOR4SAN3R1qitLNl5hHwNg/
1•Alex3917•9m ago•0 comments

Meesho Goes Public

https://www.ycombinator.com/blog/meesho-goes-public/
1•todsacerdoti•10m ago•0 comments

Dependable C

https://dependablec.org/
1•RossBencina•13m ago•0 comments

Collective Governance for AI: Points of Intervention

https://metagov.org/cg-ai/
1•ntnsndr•23m ago•0 comments

Linus Torvalds is 'a believer' in using AI to maintain code

https://www.zdnet.com/article/linus-torvalds-ai-tool-maintaining-linux-code/
1•CrankyBear•23m ago•1 comments

UK agrees higher drug prices to secure zero-tariff deal with US

https://www.chemistryworld.com/news/uk-agrees-higher-drug-prices-to-secure-zero-tariff-deal-with-...
1•geox•29m ago•0 comments

Most Frequent UI Errors App Developers Make

https://makeincoimbatore.substack.com/p/the-most-frequent-ui-errors-app-developers
1•swathid•29m ago•0 comments

Butterick's Practical Typography

https://practicaltypography.com/
1•cardamomo•30m ago•0 comments

Show HN: Built some privacy tools

https://privsen.com/
1•privsen•32m ago•0 comments

For App Developers: How to Identify and Fix Common Vulnerabilities

https://makeincoimbatore.substack.com/p/for-app-developers-how-to-identify
1•swathid•33m ago•0 comments

Cat Gap

https://en.wikipedia.org/wiki/Cat_gap
2•Petiver•34m ago•0 comments

Show HN: Numbered Headings Chrome Extension

https://chromewebstore.google.com/detail/numbered-headings/nnjoibaodhcgnbajfkabmdadmpnmbdih
1•bluedskim•44m ago•0 comments

Turbocharging LinkedIn's Recommendation Systems with SGLang

https://www.linkedin.com/blog/engineering/ai/turbocharging-linkedins-recommendation-systems-with-...
1•bbzjk7•45m ago•0 comments

Kevin Costner's resilience shines through life's challenges

https://figyj.blogspot.com/2025/12/kevin-costners-resilience-shines.html
1•FIGYJ•49m ago•0 comments

State Department orders return to Times New Roman

https://www.theguardian.com/us-news/2025/dec/10/trump-times-new-roman-font-return-state-department
2•yannis•52m ago•1 comments

A 'green gold rush' in the Amazon led to dubious carbon deals

https://news.mongabay.com/2025/11/how-a-green-gold-rush-in-the-amazon-led-to-dubious-carbon-deals...
1•PaulHoule•52m ago•0 comments

The 3-Ladder System of Social Class in the U.S. [pdf]

https://doriantaylor.com/file/3-ladder.pdf
2•petermcneeley•53m ago•0 comments

kernel.org git repositories

https://tor.source.kernel.org
1•1vuio0pswjnm7•54m ago•0 comments

Private Indices Are the New Public Indices

https://www.bloomberg.com/opinion/newsletters/2025-12-09/private-indices-are-the-new-public-indices
1•petethomas•59m ago•0 comments

Canadian accused in plot to export Nvidia's AI chips from US to China

https://nationalpost.com/news/world/canada-nvidia-high-tech-ai-chips-china
5•uladzislau•1h ago•0 comments

The Future of Business Intelligence Might Be Here

https://datamethods.substack.com/p/the-future-of-business-intelligence
1•zekrom•1h ago•0 comments

We Benchmarked the Best Video AI Models

https://www.gmicloud.ai/blog/modelmatch-technical-overview
1•CKMo•1h ago•0 comments

DuckDB-terminal: A browser-based SQL Terminal for DuckDB powered by Ghostty

https://github.com/tobilg/duckdb-terminal
3•smithclay•1h ago•0 comments

Computers Almost Killed the Chinese Language

https://www.youtube.com/watch?v=cPYK8s2OdMY
1•bane•1h ago•0 comments

'Source available' is not open source (and that's okay)

https://dri.es/source-available-is-not-open-source-and-that-is-okay
2•geerlingguy•1h ago•0 comments

How was TF2's art designed so well? [video]

https://www.youtube.com/watch?v=RJ5goMBD6oc
1•65•1h ago•0 comments

MIT researchers "speak objects into existence" using AI and robotics

https://news.mit.edu/2025/mit-researchers-speak-objects-existence-using-ai-robotics-1205
1•smurda•1h ago•0 comments

Uncommon Thinkers: Bluesky CEO Jay Graber seeding a decentralized digital world

https://www.geekwire.com/2025/uncommon-thinkers-bluesky-ceo-jay-graber-is-planting-the-seeds-for-...
2•schwentkerr•1h ago•2 comments

Why are "remote" jobs in late 2025 still limited to hiring in US/CA/UK/DE?

3•ftonato•1h ago•1 comments

The iFixit App Is Here

https://www.ifixit.com/News/114706/the-ifixit-app-is-here
10•thunderbong•1h ago•1 comments
Open in hackernews

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

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