frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Meta Considers Phone-Like Device in Hardware 'Constellation' Built Around Muse

https://www.bloomberg.com/news/articles/2026-12-03/meta-considers-phone-like-device-in-hardware-c...
1•bookofjoe•54s ago•1 comments

Winc is a desktop editor built with Rust and its own rendering engine

https://github.com/DEEIX-AI/Winc
1•amichail•1m ago•0 comments

Marcus Aurelius: "What is this thing in itself"

https://dev.niceasthis.com/tablehub/meditations/8.11
1•firasd•2m ago•1 comments

Wikipedia pageviews in R: statistics articles lost >50% of readers in 4 years

https://datascienceplus.com/wikipedia-pageviews-in-r-statistics-articles-lost-more-than-half-thei...
1•kkk4seis•3m ago•0 comments

Elon Musk questions couples who deliberately choose a childfree life

https://timesofindia.indiatimes.com/life-style/parenting/moments/elon-musk-questions-couples-who-...
1•teleforce•3m ago•0 comments

What we learned by watching Luna and Opus play RollerCoaster Tycoon

https://www.datadoghq.com/blog/coding-agents-luna-and-opus-play-rollercoaster-tycoon/
1•makaimc•4m ago•0 comments

Show HN: Finder, but in Chrome (File System Access API Demo)

https://wf.rohitpaulk.com/
1•rohitpaulk•5m ago•0 comments

Show HN: OpenVireo, Open Source, KeePass-Based Password Manager

https://openvireo.com
1•bongani-m•6m ago•0 comments

Families who can't sleep near a New Jersey data center are now suing Microsoft

https://newjerseymonitor.com/2026/12/03/vineland-data-center-lawsuit/
1•DeepLogin•7m ago•0 comments

PQConnect: Automated Post-Quantum End-to-End Tunnels

https://www.pqconnect.net/
1•Tepix•8m ago•0 comments

Show HN: I wrote a simple MP3 tag editor with rust+Tauri

https://github.com/gabrielfalcao/mp3-tag-editor/
1•gfalcao•8m ago•0 comments

FAAC 3.0: Beating Bigger Encoders on a Budget

https://nils.schimmelmann.us/2026-11-26-faac-30-beating-bigger-encoders-on-a-budget/
1•ksec•10m ago•0 comments

Why not rewrite ESLint in Rust?

https://github.com/eslint/eslint/discussions/21626
9•ksec•11m ago•1 comments

Wordy: Wordle Terminal Clone in Bash

https://gitlab.com/christosangel/wordy
1•thunderbong•12m ago•0 comments

Net migration turned negative in 2025, up -1.2M projected

https://www.brookings.edu/articles/macroeconomic-implications-of-immigration-flows-2025-2028-dece...
1•yread•17m ago•0 comments

Software Purpose Built for Nix

https://fzakaria.com/2026/12/04/software-purpose-built-for-nix
2•Brajeshwar•20m ago•0 comments

'They Should Be Dead': How Snow Insects Survive Freezing Temps

https://www.quantamagazine.org/they-should-be-dead-how-snow-insects-survive-freezing-temps-20261204/
1•Brajeshwar•20m ago•0 comments

China fired satellite weapon at missile in unprecedented space test, sources say

https://www.reuters.com/world/china/china-fired-satellite-weapon-missile-unprecedented-space-test...
2•rbanffy•20m ago•0 comments

Why Did Big Pharmaceutical Companies Abandon Antibiotics?

https://www.construction-physics.com/p/why-did-big-pharmaceutical-companies
1•Brajeshwar•20m ago•0 comments

DrTool This Hack Gadget

https://hackaday.io/project/207527-drtool-this-hack-gadget
1•Drfoxi•20m ago•1 comments

When did we decide coding agents could have our whole computers?

https://sgnt.ai/p/agents-whole-computer/
2•petesergeant•22m ago•0 comments

EmuStudio 0.50 – write and debug code on vintage computers

https://www.emustudio.net/
5•vbmacher•24m ago•0 comments

AI startups raise faster mostly because they're younger

https://datahyena.com/research/venture-now-runs-on-two-clocks/
1•ghostfoxgod•24m ago•0 comments

OpenAI mcpfs: MCP Filesystem Tools

https://github.com/openai/mcpfs
2•tosh•25m ago•0 comments

Amiga: MorphUAE is a MUI-based variant of E-UAE for MorphOS

https://onyxsoft.se/morphuae.html
2•doener•26m ago•0 comments

Show HN: LookPose AI – Visual pose studio and Chrome side-panel virtual try-on

https://lookposeai.com/
1•chatgpt2notion•28m ago•0 comments

Show HN: SlowedLab – Make slowed and reverb songs online for free

https://slowedlab.com/
1•zhonglinxin•28m ago•0 comments

Project Gutenberg stuck offline: vandal turns book pages into smut link farm

https://www.theregister.com/security/2026/12/04/project-gutenberg-stuck-offline-after-vandal-turn...
2•taubek•32m ago•0 comments

The future of Lume: porting from Deno to Node as Lume 4

https://lume.land/blog/posts/lume-4/
1•frostbyte7•39m ago•0 comments

OpenSSH: "switch default key type generated to ECDSA NISTP384"

https://github.com/openssh/openssh-portable/commit/5b63da24d393ec5f08ec4371e09b692fc86587a8
5•throw0101d•40m 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