frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Mbmn

https://x.com/home
1•qvinfordev•18s ago•0 comments

AWS Continuum for code vulnerabilities is now generally available

https://aws.amazon.com/blogs/aws/aws-continuum-for-code-vulnerabilities-is-now-generally-available/
1•taubek•6m ago•0 comments

LibreSSL 4.4 Released with Faster SHA3, Bug Fixes

https://www.phoronix.com/news/LibreSSL-4.4-Released
1•ksec•10m ago•1 comments

Volkswagen's best-seller has gone electric, will replace the ID.4 and ID.5

https://electrek.co/2026/10/09/volkswagens-best-seller-goes-ev-replace-id-4-images/
2•geox•11m ago•0 comments

Elon Musk Invests $1B in Skydance (New Paramount/Warner Bros Discovery)

https://techcrunch.com/2026/10/22/elon-musk-made-a-1-billion-investment-in-skydance-report-says/
2•ryan_j_naughton•13m ago•0 comments

'Smart Wall' of AI Cameras Is Watching the Border and More Than a Million People

https://www.nytimes.com/interactive/2026/10/22/us/politics/ai-surveillance-cameras-border-mexico....
1•ryan_j_naughton•15m ago•0 comments

Pangram CEO: People believe AI writing is indistinguishable from ours. It's not

https://bigthink.com/science-tech/trust-issues/
1•paulpauper•19m ago•0 comments

OBS Studio 33

https://github.com/obsproject/obs-studio/releases/tag/33.0.0
1•pentagrama•21m ago•0 comments

The current state of new media

https://twitter.com/kramnotmark/status/2113668179788534255/photo/1
1•binarynate•22m ago•0 comments

AOM Sees Rapid AV2 Adoption Across the Ecosystem Just 4 Months After Release

http://aomedia.org/press%20releases/AOMedia-Rapid-AV2-Adoption-Across-the-Video-Ecosystem/
1•ksec•23m ago•0 comments

Welcome to 2030. I own nothing, no privacy, and life's never been better (2016)

https://medium.com/world-economic-forum/welcome-to-2030-i-own-nothing-have-no-privacy-and-life-ha...
2•sssilver•27m ago•0 comments

Elon Musk Acquires $1B Stake in CNN's Parent Company

https://symby.com/news?_cid=101605177&preferredLanguage=en
15•Alien1Being•29m ago•3 comments

Who will become the new mathematicians of Math 2.0?

https://proofsandprompts.com/2026/10/20/who-will-become-the-new-mathematicians-of-math-2-0/
2•the-mitr•34m ago•0 comments

Who Wrote This Byte?

https://fzakaria.com/2026/10/23/who-wrote-this-byte
1•Sighery•39m ago•0 comments

No Pussyfooting (1973)

https://www.discogs.com/master/9824-Fripp-Eno-No-Pussyfooting?srsltid=AYCX9vI4P8C-IiZyut0mu3GJd_l...
2•erottern•40m ago•0 comments

Yab, yet Another Browser

https://yetanotherbrowser.com/#arc
1•nmiv•50m ago•1 comments

Pi, the coding agent, compiled ahead of time to one native executable

https://github.com/opensec-git/Pi-Bolt
2•thunderbong•53m ago•0 comments

Julia Returns to Tiobe's Top 20

https://tech-insider.org/tiobe-index-october-2026-python-julia-rust/
2•sumnole•53m ago•1 comments

Oura sues rival Ultrahuman again, threatening its U.S. smart ring comeback

https://techcrunch.com/2026/10/22/oura-sues-rival-ultrahuman-again-threatening-its-u-s-smart-ring...
2•Brajeshwar•54m ago•0 comments

Tehran has detailed plans to hit Gulf undersea cables if war resumes

https://www.timesofisrael.com/liveblog_entry/iranian-officials-tehran-has-detailed-plans-to-hit-g...
2•ghost-pooper•56m ago•0 comments

Uringscope: eBPF Tracer and Analyzer for io_uring

https://github.com/rch0wdhury/uringscope
2•tanelpoder•58m ago•1 comments

Regular Expression Matching Can Be Simple and Fast (2007)

https://swtch.com/~rsc/regexp/regexp1.html
3•giancarlostoro•1h ago•0 comments

Hitler's Eagle's Nest retreat 'completely ablaze'

https://www.telegraph.co.uk/world-news/2026/10/24/fire-hitler-eagles-nest-germany/
3•giuliomagnifico•1h ago•1 comments

Security Infrastructure for Developers and Agents

https://infisical.com/
2•measurablefunc•1h ago•0 comments

Filekin – PDF tools with no signup, no limits and no watermark

https://filekin.io/
2•LlamaCode•1h ago•1 comments

Indian government sites are serving revoked eMudhra certificates

https://captnemo.in/blog/2026/10/23/emsign-revoked-gov-in/
2•adityaathalye•1h ago•0 comments

The Age of Reasoning [pdf]

https://metisreasoning.ai/whitepaper/the-age-of-reasoning-2026-10.pdf
3•gmays•1h ago•0 comments

Misure di sicurezza rafforzate NIS: stato e preparazione

https://cyberpath-hq.com/blog/misure-sicurezza-rafforzate-nis/
1•ebalo55•1h ago•0 comments

Mamdani Makes a Splash with His Bidets

https://www.nytimes.com/2026/10/23/nyregion/bidets-zohran-mamdani-gracie-mansion.html
2•osnium123•1h ago•0 comments

Sam Altman: 'I No Longer Think We're Gonna Be Able to Just Patch All the Bugs'

https://gizmodo.com/sam-altman-i-no-longer-think-were-gonna-be-able-to-just-patch-all-the-bugs-20...
5•CharlesW•1h 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