frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Discussion about real life impacts of the Riemann Hypothesis solved

1•ltononro•1m ago•0 comments

Show HN: Nunya – A "digital privacy screen" that makes text illegible from afar

https://usenunya.com/
1•magicmarc•1m ago•0 comments

Show HN: Artificial Games – 22 daily games, server-replayed leaderboards

https://artificialgames.online/
1•seethefutureco•2m ago•0 comments

Show HN: Wordmap – WordNet but it's a mind-map

https://spa-mvc-pages.duckdns.org/wordmap/
2•joexo•3m ago•0 comments

"Artificial" Gets a Human-Made AI-Style Poster

https://www.darkhorizons.com/artificial-gets-a-human-made-ai-style-poster/
2•xoxxala•3m ago•0 comments

Robots Are Ruining My Inbox

https://onefoottsunami.com/2026/11/20/robots-are-ruining-my-inbox/
1•speckx•5m ago•0 comments

Scientists Study a Woman Who 'Hibernated' Every Winter for 30 Years

https://gizmodo.com/a-woman-hibernated-every-winter-for-30-years-she-shared-a-surprising-trait-wi...
1•gumby•7m ago•0 comments

Dying, or Doing Something Else: Lydia Davis on Marcus Aurelius and Other Stoics

https://www.lrb.co.uk/the-paper/v48/n21/lydia-davis/dying-or-doing-something-else
1•diodorus•9m ago•0 comments

Dec WRL-TN-13: characterization of organic illumination systems. (electrocuted p

https://archive.org/details/bitsavers_dectechrep_45429
1•fanf2•10m ago•0 comments

An experimental web browser written from scratch in Rust by an AI agent (Claude)

https://github.com/senko/swb
2•cyrc•11m ago•0 comments

Millennials Became the Burnout Generation

https://www.buzzfeednews.com/article/annehelenpetersen/millennials-burnout-generation-debt-work
1•tylerdane•11m ago•0 comments

Hardening GitHub Actions Against Insider Threats

https://socket.dev/blog/hardening-github-actions-against-insider-threats
1•mesto1•13m ago•0 comments

Bots are replacing reporters in cryptocurrency journalism

https://pressgazette.co.uk/news/bots-are-replacing-reporters-in-cryptocurrency-journalism/
1•thm•13m ago•0 comments

AI Tutor as a Programming Learning Aid

https://www.tugraz.at/en/news/article/ai-tutor-computor
1•geox•13m ago•0 comments

BookOrbit dev unmasks as abandoned BookLore project dev

https://www.reddit.com/r/selfhosted/comments/1w9h1b4/comment/p8adm61/
1•purgedreality•14m ago•0 comments

The only path to sustainable and safe AGI is LDD (Love-driven development)

1•delopsu•15m ago•0 comments

Reintroducing Spaces

https://dholms.leaflet.pub/3mu3p3ldwrc26
1•thunderbong•16m ago•0 comments

Aura: 1.3B speech-to-video model that runs in real time on a single H100 GPU

https://huggingface.co/kyutai/AURA-1.3B
1•armcat•16m ago•0 comments

Finite-time blow-up for the Navier–Stokes equations

https://github.com/tristanbuckmaster/navier-stokes/
1•trotro•18m ago•0 comments

Agentic Workflow Governance with MFA

https://studio.sinapsdata.com.br/
1•kardassnp•21m ago•0 comments

Show HN: Sandscale – Firecracker microVMs for AI coding agents

https://sandscale.dev
2•Sanjay05•23m ago•0 comments

TypeScript Is Enough

https://twitter.com/dashersw/status/2123724189651612042
1•arbayi•23m ago•0 comments

Show HN: Online curling game/SIM with Three.js

https://www.cloudcurling.com
1•nrjames•23m ago•1 comments

You trust your bank. But who else has your information?

https://inclinq.medium.com/chase-visa-and-mastercard-a-vendor-breach-can-expose-your-data-without...
1•inclinq•23m ago•0 comments

Show HN: Tikivela – Online multiplayer football career game

https://tikivela.com/
1•faridmovsumov•23m ago•0 comments

Next wave: data, AI agents, and no-code automation

https://aws.amazon.com/marketplace/pp/prodview-pvfpfkgk2vdba
1•sadrk•23m ago•0 comments

EU confirms AI-assisted cyberattack on European Commission

https://apnews.com/article/cyberattack-european-union-artificial-intelligence-ai-79705095e8141cd6...
3•datascientist•24m ago•0 comments

Show HN: Formbook – MCP server for horse racing data

https://mcp.formbook.io
1•beginnings•24m ago•0 comments

Signal restricts screenshots to block AI from reading messages

https://www.reuters.com/legal/litigation/signal-restricts-screenshots-block-ai-agents-reading-mes...
2•laurex•26m ago•2 comments

Slopstrap – Make your site look hastily vibecoded

https://slopstrap.mikelacher.com/
3•mlacher•28m 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