frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

After Work, We'll Have Each Other

https://asteriskmag.com/issues/15/after-work-we-ll-have-each-other
1•stevekrouse•1m ago•0 comments

What IT Managers Should Know About Software Requirements (2007)

https://www.cio.com/article/266998/developer-five-things-it-managers-should-know-about-software-r...
1•ohjeez•2m ago•0 comments

The Nerd Reich wants to 'destroy' democracy, and it's mask has slipped

https://www.abc.net.au/news/2026-09-02/the-nerd-reich-silicon-valley-fascism-war-on-democracy-abc...
1•Fricken•2m ago•0 comments

Climbers rescued from Mount Shasta after relying on ChatGPT for trip planning

https://www.sfchronicle.com/outdoors/article/shasta-climbers-rescued-chatgpt-22414629.php
1•aanet•5m ago•1 comments

Silverman vs. OpenAI: Statement of Interest of the United States [pdf]

https://storage.courtlistener.com/recap/gov.uscourts.nysd.641355/gov.uscourts.nysd.641355.316.0.pdf
1•r3trohack3r•6m ago•0 comments

Inspect, test, and debug your website with an AI agent connected to Safari

https://developer.apple.com/documentation/safari-developer-tools/connecting-an-ai-agent-to-safari
1•Austin_Conlon•7m ago•0 comments

Open Gateway – Multi Agent Collab

https://opengateways.xyz/
1•mattdula•7m ago•0 comments

Will AI save or ruin democracy?

https://theconversation.com/will-ai-save-or-ruin-democracy-it-depends-on-whether-we-allow-compute...
1•mckelveyf•8m ago•1 comments

Israel 'seeking Trump's support for plan to expel Palestinians from Gaza'

https://www.theguardian.com/world/2026/sep/02/israel-seeking-trumps-support-for-plan-to-expel-pal...
3•hebelehubele•10m ago•0 comments

Ask HN: What Are You Working On?

1•rrmdp•12m ago•0 comments

Brain – A minimal, fast, extensible agent runtime

https://github.com/aexhq/brain
1•weilueluo•12m ago•1 comments

Tapestry: Operating system framework for physically reconfigurable matter

https://github.com/tapestry-os/tapestry
1•hasheddan•14m ago•0 comments

How Accurate Was Hubert Dreyfus on AI Predictions in "What Computers Can't Do"? (2024)

https://www.brightworkresearch.com/how-accurate-was-dr-hubert-dreyfus-on-ai-predictions-in-his-bo...
1•1vuio0pswjnm7•16m ago•0 comments

Hitosuji – a graphic novella about the journey of Arata Igarashi

https://roundos-hitosuji.ceo315110.chatgpt.site/
1•dmitriyabr•20m ago•0 comments

NixOS on a Cadillac Lyriq

https://surrealdev.com/rooting-the-cadillac-part-1-lay-of-the-land/
1•morp•21m ago•0 comments

Show HN: I put four persistent AI minds in a room and let them change each other

https://room.pluralmatter.com/e/how-will-the-world-change-when-ai-smarter-than-humans
1•adjohu•22m ago•0 comments

Ask HN: If you could set a maximum net worth for a person, what would it be?

3•kadhirvelm•23m ago•4 comments

Fable 5.1 way ahead on revised FrontierSWE long horizon benchmarks

https://www.frontierswe.com/blog/v2
1•akharris•25m ago•0 comments

Show HN: The Drudge Report, but for AI

https://theainewsreport.com/
1•titusblair•26m ago•0 comments

Show HN: 3-in-1 > Collect feedback, build changelog and monitor your endpoints

https://feedfa.st
1•eduardpantazi•28m ago•0 comments

Top US doctors offer flu, Covid vaccine recommendations to ease confusion

https://apnews.com/article/vaccine-fall-flu-covid19-rsv-sick-season-7b08ff2a2438e5e99db6ecca742bff55
3•mikhael•29m ago•0 comments

Programming Languages and Type Safety in the Era of LLMs

https://www.thecodedmessage.com/posts/pls-in-llm-land/
1•blueshoess•29m ago•0 comments

What does Omarchy own on your machine?

https://greenlitbooks.com/tools/what-omarchy-owns
1•ravistakumar•30m ago•0 comments

Humanoid robots clean a house in San Francisco for $30 an hour [video]

https://www.youtube.com/watch?v=-ioV0-rMycE
2•mistersquid•33m ago•0 comments

Meta's Muse Spark 1.3 beats Google's frontier model on artificialanalysis

https://artificialanalysis.ai/models/muse-spark-1-3
1•pranshuchittora•33m ago•0 comments

AI is changing religion and religions are trying to change AI

https://www.economist.com/international/2026/08/27/ai-is-changing-religion-and-religions-are-tryi...
4•fittingopposite•33m ago•1 comments

Is There I/O After Death? What Happens to Io_uring When a Process Dies

https://blog.ydb.tech/is-there-i-o-after-death-what-happens-to-io-uring-when-a-process-dies-92c65...
1•porridgeraisin•33m ago•0 comments

Mamdani Bans AI in NYC Schools

https://www.nytimes.com/2026/09/01/nyregion/ai-ban-schools-nyc.html
18•handfuloflight•35m ago•1 comments

Show HN: Dehurdle – Real-Time AI Voice Simulations for High-Stakes Conversations

https://dehurdle.com/register/
1•visha1v•36m ago•0 comments

Claude made me upgrade to a team subscription, now it sucks

1•rathboma•36m 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