frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Telegram Desktop vulnerability allowed any user's file to be stolen

https://beaksec.github.io/posts/telegram-desktop-one-click-account-takeover/
1•g-b-r•45s ago•1 comments

In-app submit test (deleting)

1•hntesting890•6m ago•0 comments

We solved SQLite's single-writer limitation

https://marcobambini.substack.com/p/we-solved-sqlites-single-writer-limitation
1•luispa•8m ago•0 comments

Ask HN: Are there things more important than 'humanity', such as empathy?

1•dfps•11m ago•1 comments

Israel isn't stopping at Gaza [video]

https://www.youtube.com/watch?v=GTL5trfjrdc
2•dataflow•15m ago•0 comments

Delta's CEO on Skipping Starlink, Premium-Travel Rush and High Fuel Prices

https://www.wsj.com/business/airlines/deltas-ceo-on-skipping-starlink-premium-travel-rush-and-hig...
1•gmays•15m ago•0 comments

Test post please ignore (will be deleted)

1•hntesting890•16m ago•1 comments

Put a price on breakthroughs

https://alexwang.ai/posts/put-a-price-on-breakthroughs/
1•ketothekingdom•25m ago•0 comments

Firefox's chief on why he hopes a redesign will help win users from Chrome

https://arstechnica.com/gadgets/2026/09/mozillas-head-of-firefox-talks-product-priorities-ai-skep...
2•cisc•37m ago•2 comments

Show HN: Create beautiful screenshots/ recordings to share your work

https://chromewebstore.google.com/detail/screens-beautiful-screens/fcnblpibmdpipbdfomiicdaadjmidakc
1•sss007r•40m ago•0 comments

Teenage Engineering will stop making synths to focus on whatever it feels like

https://www.engadget.com/2280912/teenage-engineering-will-stop-making-synths-to-focus-on-whatever...
1•blltprfmnk•42m ago•2 comments

Antigravity Excel Engine – Dual-Core Excel Automation for AI Agents

https://github.com/FranciscoGrandon/antigravity-excel-engine
1•fgrandon•49m ago•0 comments

Next.js 16.4

https://nextjs.org/blog/next-16-4
2•jhuleatt•49m ago•0 comments

Trump Calls on AI to Speed Up Science–While Continuing to Defund It

https://www.motherjones.com/politics/2026/10/trump-calls-on-ai-to-speed-up-science-while-continui...
4•computerliker•58m ago•0 comments

Language models play chess, everything is recorded

https://chessmark.merope.dev
1•emersonrsantos•58m ago•0 comments

Show HN: Spin Cycle – Tetris in a Washing Machine

https://verywacky.games/
1•forgatmachine•1h ago•2 comments

CA voter information guide [pdf]

https://vig.cdn.sos.ca.gov/2026/general/pdf/complete-vig.pdf
1•bbondo•1h ago•1 comments

NVFP4 vs. MXFP4 Decode Benchmark

https://cezarcocu.com/blog/nvfp4-vs-mxfp4-decode-bench/
1•ggamecrazy•1h ago•0 comments

Ask HN: Are LLMs Solving Math?

1•sean_pedersen•1h ago•0 comments

Decade-old RAM is making a comeback

https://www.theverge.com/games/1009140/ram-shortage-intel-amd-ddr4-comeback
3•1potato•1h ago•0 comments

Anthropic AI Model Goes Rogue, Submits Fake Unsolved Murder Tip

https://www.wsj.com/us-news/anthropic-ai-model-goes-rogue-submits-fake-unsolved-murder-tip-b0566f54
3•pseudolus•1h ago•2 comments

I own you but I don't trust you

https://axegon.com/#blog/i-own-you-but-i-dont-trust-you.md
1•extr0pian•1h ago•0 comments

Substrate Independence

https://www.edge.org/response-detail/27126
3•sans_souse•1h ago•0 comments

Stride – 25 minutes a day to make progress on your career

https://www.withstride.app/
1•LoganHoang•1h ago•0 comments

We Can Harden C

https://cybersect.substack.com/p/we-can-harden-c
1•otoburb•1h ago•1 comments

The Atari 800XL [2027 Hybrid Gaming Console]

https://atari.com/pages/800xl
1•radley•1h ago•0 comments

Show HN: Faplex – like `Claude agents` but all machines and harnesses

https://github.com/kkrausse/faplex
4•kkrausse•1h ago•3 comments

1.7B-year-old fossils reveal a crucial clue to the rise of complex life

https://www.sciencedaily.com/releases/2026/09/260925005447.htm
6•docmechanic•2h ago•0 comments

Should I Hire a Dev or Can I Vibecode This?

https://vibecodeornot.pixlw.com/
4•altmanaltman•2h ago•3 comments

GlobalFoundries announces 7nm class FD-SOI process

https://gf.com/news-and-events/news/gf-unveils-roadmap-to-deliver-worlds-most-advanced-platform-f...
1•osnium123•2h 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