frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Systemd Merges Support for Rust Programs

https://www.phoronix.com/news/systemd-Merges-Rust-Programs
1•Bender•1m ago•0 comments

Prompt injection scanners should be positional, not phrasal

https://attest.rta.lat/article
1•vnutrivas•1m ago•0 comments

Linux's Early Boot-Time Physical Memory Allocator Big Speed-Up: ~268s to ~50ms

https://www.phoronix.com/news/Linux-7.4-memblock
1•Bender•1m ago•0 comments

There's a third PHP2Shell bug, but it won't get an emergency fix

https://www.theregister.com/security/2026/10/23/theres-a-third-php2shell-bug-but-it-wont-get-an-e...
1•Bender•2m ago•0 comments

Forget Live Aid, Africa is only a broken continent in the minds of the West

https://www.theguardian.com/global-development/2026/oct/24/forget-the-live-aid-image-africa-is-on...
1•prmph•4m ago•0 comments

I built a livestream where you can control a $4k 7-DOF Robot [video]

https://www.youtube.com/watch?v=uSrAc9nv_do
1•adrianmed•4m ago•0 comments

Why Gen Z teens are in no rush to get their driver's licenses

https://www.nytimes.com/2026/10/24/style/drivers-license-gen-z-teens-learners-permit.html
1•scruple•5m ago•1 comments

Omni Magazine Archive 1978-1995

https://archive.org/details/omni-archive
1•bookofjoe•5m ago•0 comments

Relation as a Service

https://medium.com/@smoking2man/relation-as-a-service-generative-replicas-of-a-person-and-the-tra...
1•Aldus551•7m ago•0 comments

Where did my freed memory (not) go?

https://yapfast.com/blog/where-did-my-freed-memory-go/
1•theanonymousone•8m ago•0 comments

I Replaced 50 PHP Workers with One Go Process

https://sentinel.rootstuff.io/blog/laravel-edge-workers-to-go-probes
1•rootstuff•10m ago•0 comments

Italy's Generali cuts around 800 jobs in Germany

https://www.reuters.com/business/world-at-work/italys-generali-cuts-around-800-jobs-germany-2026-...
1•frank_clover•11m ago•0 comments

Don't Sleep on Single-Agent Systems

https://www.openhands.dev/blog/dont-sleep-on-single-agent-systems
2•pretext•11m ago•0 comments

Utmost Biggest Human Rights Violations Being Done by Sahara India

1•krishnakumarcha•13m ago•0 comments

VCF Southwest 2026, but Edited on Silicon Graphics for '90s TV [video]

https://www.youtube.com/watch?v=46wxttvq9qY
1•zdw•14m ago•0 comments

Google Humiliates Indian Developers with Google Play BillDesk Verification

https://www.reddit.com/r/india/comments/1x9xa3h/how_google_humiliates_indian_developers_with/
1•qart•14m ago•0 comments

A Political History of SF

http://www.catb.org/~esr/writings/sf-history.html
1•andsoitis•22m ago•0 comments

Batchplan: Plan batches of robot motions, use for execution or training data

https://github.com/natsuku-lab/batchplan
1•natsuku•23m ago•0 comments

The Utility of Mathematics

http://www.catb.org/~esr/writings/utility-of-math/
1•andsoitis•23m ago•0 comments

Ricuicui 0.5.7: notes, database and 3D

https://ricuicui.com/en/versions/0-5-7
1•wivivi•23m ago•0 comments

The Art of Unix Programming

http://www.catb.org/esr/writings/taoup/
1•andsoitis•24m ago•0 comments

Valve Steam Personal Calendar

https://store.steampowered.com/login/?redir=https%3A%2F%2Fstore.steampowered.com%2Fpersonalcalendar
2•HelloUsername•27m ago•1 comments

I turn up late to meetings to dodge small talk. Am I wrong?

https://www.nature.com/articles/d41586-026-02201-4
2•gnabgib•28m ago•0 comments

Fermi Poker

https://www.lesswrong.com/posts/JFYvJqMaLw9nhfrur/fermi-poker
2•danielfetz•29m ago•1 comments

Israeli soldiers raze neighbourhood in Hebron, driving families from homes

https://www.theguardian.com/world/2026/oct/24/israel-soldiers-raze-west-bank-neighbourhood-hebron...
14•hebelehubele•29m ago•2 comments

I Built a SaaS with AI. Two Months Later, I Have Zero Active Users

https://news.ycombinator.com/
1•iyurynts•29m ago•0 comments

Botchelor – a dating show where AI agents bring their own characters over MCP

https://botchelor.com/gate?from=%2Fagents
1•slixxz•30m ago•0 comments

I Built a SaaS with AI. Two Months Later, I Have Zero Active Users

https://medium.com/@ivan_43200/i-built-a-saas-with-ai-two-months-later-i-have-zero-active-users-1...
1•iyurynts•31m ago•0 comments

Efficiency of Estimators

https://jechevarria.com/blog/2026/10/24/estimator-efficiency/
1•j_echevarria•31m ago•0 comments

Key Claude Code Engineers Shihipar and Morris Leave Anthropic

https://x.com/i/trending/2113887405459546296
1•e12e•32m 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