frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

New England RiverTime

https://newenglandrivertime.org/Clock
1•twalichiewicz•44s ago•0 comments

OpenAI Says It Could Have Reacted Sooner to Prevent AI Hack

https://www.bloomberg.com/news/articles/2026-08-26/openai-says-it-could-have-reacted-sooner-to-pr...
1•root-parent•44s ago•0 comments

Would you give Grok bot access to your bank accounts?

https://twitter.com/elonmusk/status/2092692116610957814
1•eyehurtsme•2m ago•0 comments

Playdate maker Panic is refunding tariff fees to customers

https://www.gamedeveloper.com/business/playdate-maker-is-refunding-tariff-fees-to-customers
1•ricobecks•3m ago•0 comments

The Rings of Power Introduces LOTR's Next Generation of Dwarves

https://screenrant.com/rings-of-power-prime-video-new-dwarves-generation-exclusive-image/
1•TMWNN•3m ago•0 comments

Potential everyday use of cargo bikes

https://gupea.ub.gu.se/items/cc92f218-76e1-4a0d-b0b3-46f7a5b39c06
2•emj•4m ago•0 comments

Man gripping his phallus is oldest known narrative scene

https://www.thehistoryblog.com/archives/65878
2•isomorph•4m ago•0 comments

Bill Gates proposes major limits on AI development

https://www.cnn.com/2026/08/26/business/bill-gates-wants-limits-on-ai
2•lsllc•4m ago•0 comments

How I Design with AI

https://twitter.com/reactiverobot/status/2092638003789439075
1•7777777phil•5m ago•0 comments

PlayStation 3 Cluster

https://en.wikipedia.org/wiki/PlayStation_3_cluster
1•jjbinx007•9m ago•0 comments

Gamescom highlights gaming boom amid AI concerns

https://www.dw.com/en/gamescom-2026-highlights-gaming-industrys-strength-ai-challenges/a-78502849
4•billybuckwheat•10m ago•0 comments

US Designates Palestine Action as Terrorist Group: What the Decision Means

https://moztako.me/us-designates-palestine-action-terrorist-group/
3•imanis•11m ago•0 comments

Why Is Everyone in Silicon Valley Talking Like That?

https://www.theatlantic.com/technology/2026/08/ai-jargon-in-everday-speech/688358/
3•apparent•12m ago•2 comments

New GPUThor attack defeats Nvidia ECC protection for root access

https://www.bleepingcomputer.com/news/security/new-gputhor-attack-defeats-nvidia-ecc-protection-f...
1•datakan•13m ago•0 comments

Show HN: NetSour, the modular packet analyzer TUI

https://github.com/thegoodduck/NetSour
1•thegoodduck•16m ago•0 comments

Show HN: Infra Lang – Compile a Single DSL to K8s, Compose, Helm and Terraform

1•Tuvi•17m ago•0 comments

76% of 623 EU software vendors have no security.txt ahead of the CRA 24h rule

https://cradrill.com/research.html
2•gilsha•17m ago•1 comments

Numbat Editor: a notepad-style calculator with first-class units

https://numbat.dev/editor.html
1•ikesau•20m ago•1 comments

Show HN: Find Perth jobs. Hire local talent

https://jobsinperth.com.au
1•wowinter15•20m ago•0 comments

Bellevue speed cameras vandalized just a week after installation

https://www.seattletimes.com/seattle-news/bellevue-speed-cameras-vandalized-just-a-week-after-ins...
3•petethomas•21m ago•0 comments

Ask HN: Why do tools like customer.io abandon self-serve after their Series A?

2•alessandroetc•21m ago•0 comments

'A Bible-sized blind spot': alarm on rising Christian nationalism

https://www.theguardian.com/world/2026/aug/26/jared-huffman-rising-christian-nationalism-no-proph...
2•johnea•22m ago•1 comments

Building textlog without JavaScript

https://gist.github.com/stagas/09ad937b493bf8cd3285917279de2488
1•stagas•22m ago•0 comments

Show HN: Ten_cubed – Artificially restricted social graph

https://tencubed.dev
2•darkpicnic•23m ago•0 comments

Science magazine casts doubt on genes hailed as warding-off Alzheimer's disease

https://www.science.org/content/article/science-investigation-casts-doubt-genes-hailed-warding-al...
1•pcrh•25m ago•0 comments

Remote Patient Monitoring Software

https://andersenlab.com/industries/healthcare/remote-patient-monitoring
1•morganclns94•26m ago•0 comments

Australian data centres will use seven times more power by 2036

https://thenextweb.com/news/australian-data-centres-power-aemo-forecast-2036
1•01-_-•26m ago•0 comments

Your Discs. Now Also Digital

https://news.xbox.com/en-us/2026/08/26/your-discs-now-also-digital/
1•durron•27m ago•0 comments

Minicomputers Made by Nvidia Are Powering Moscow's A.I. Drones

https://www.nytimes.com/2026/08/24/world/europe/ukraine-war-nvidia-ai-autonomous-drones.html
1•01-_-•27m ago•1 comments

We're Only "Renting" What We Think We "Own"

http://charleshughsmith.blogspot.com/2026/08/were-actually-only-renting-what-we.html
2•speckx•29m 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