frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Thread to Self – a private message thread with yourself

https://threadtoself.com
1•cwalenciak•40s ago•0 comments

'Lake America' makes one thing clear: We can't trust U.S. tech companies

https://www.tvo.org/article/analysis-lake-america-makes-one-thing-clear-we-cant-trust-us-tech-com...
1•Teever•1m ago•0 comments

Capital Without Labor: Data Centers and the Local Economy

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7384998
1•toomuchtodo•2m ago•0 comments

Poisoning AI Scrapers

https://www.brainonfire.net/blog/2024/09/19/poisoning-ai-scrapers/
1•serhack_•2m ago•0 comments

A Puzzle

https://kyle.marek-spartz.org/posts/2026-09-08-a-puzzle.html
1•zeckalpha•4m ago•0 comments

Does anyone know YouTube's pre-2006's des key?

2•kyer_bananaclan•7m ago•1 comments

Accuracy and Precision

https://blogs.extension.msstate.edu/theriskproject/accuracy-and-precision/
1•bryanrasmussen•7m ago•0 comments

Nim Version 2.2.12 Released

https://nim-lang.org//blog/2026/09/08/nim-2212.html
2•ibobev•8m ago•0 comments

Is Zenodo Down?

https://zenodo.org
2•cbracketdash•8m ago•0 comments

Taint tracking on AI agent traces: 0.48 precision on AgentDojo

https://github.com/IdoGol24/weir
2•CodeNinja778•8m ago•0 comments

Mamdani: Officials 'lied' to New Yorkers about still-toxic after 9/11

https://www.independent.co.uk/news/world/americas/911-air-quality-report-mamdani-ground-zero-b304...
1•doener•9m ago•0 comments

Wealth Inequality in America (Updated 2026) [video]

https://www.youtube.com/watch?v=2GxlL5-0m_g
4•sethops1•9m ago•0 comments

Underwater Drone Captured by Iran Matches American Anduril Model

https://www.navalnews.com/naval-news/2026/09/underwater-drone-captured-by-iran-matches-american-a...
1•bigyabai•9m ago•0 comments

Chime Announces Agreement to Acquire Stride Bank

https://finance.yahoo.com/markets/stocks/articles/chime-announces-agreement-acquire-stride-200500...
1•d1egoaz•11m ago•0 comments

Show HN: Browser viz of OpenAI's "spaghetti" Navier–Stokes vortex (illustration)

https://3d-retro.com/experiments/vortex
2•SouthWestAtlas•13m ago•0 comments

Show HN: CodeEraser – a deterministic judge of LLM-induced code and doc entropy

https://github.com/skymanbp/CodeEraser
1•Azng_0•15m ago•0 comments

USD Grants for OSS, Made by Guillermo Rauch (CEO Vercel)

https://rauchg-oss-grants.vercel.app/
2•gidellav•15m ago•0 comments

Judge spares Google's ad-tech business from a breakup

https://www.computerworld.com/article/4218844/judge-spares-googles-ad-tech-business-from-a-breaku...
1•CrankyBear•16m ago•0 comments

How long before a real crackdown on AI model decensoring?

https://www.unite.ai/how-long-before-a-real-crackdown-on-ai-model-decensoring/
2•50kIters•19m ago•0 comments

Superiority

https://www.baen.com/Chapters/1439133476/1439133476___5.htm
2•bryanrasmussen•21m ago•0 comments

A collection of minimal, generative and customizable SVG-patterns

https://bookofshapes.com/
2•drunkonvinyl•21m ago•0 comments

The Singapore Strategies

https://aeon.co/essays/did-singapore-go-wrong-in-its-quest-for-food-security
2•karakoram•22m ago•0 comments

Mercury 2.5

https://www.inceptionlabs.ai/blog/introducing-mercury-2-5
6•Topfi•26m ago•0 comments

Assume you've built sub-5-millon parameter competitor to Astra, so?

2•aunekiaru•28m ago•1 comments

UmamiEngine Has a Special Offer

https://umamiengine.com/
2•sauromates•30m ago•0 comments

Show HN: Postgres schema review and 3D explorer, run on seven open-source apps

https://github.com/greenstevester/postgres-schema-gallery
2•greenstevester•32m ago•1 comments

Animation in Bevy: The Big Picture

https://glocq.com/en/blog/20260827/
6•ibobev•33m ago•0 comments

Microsoft marked the holiday by unloading 973 CVEs

https://www.automox.com/blog/patch-fix-tuesday-september-2026
2•speckx•33m ago•0 comments

Voronoi Fragmentation of a Mesh

https://www.4rknova.com/blog/2026/07/27/voronoi-fracture
3•ibobev•33m ago•0 comments

Kimi K3 (2.8T) at 1 token/s on a MacBook Pro, streamed from four SSDs

https://github.com/argonautlabsai/deltafin
15•Argonautlabs•33m ago•3 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