frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The largest acidic geyser has been putting on quite a show

https://www.usgs.gov/observatories/yvo/news/echinus-geyser-back-action-now
1•1659447091•2m ago•0 comments

The Xkcd thing, now interactive, as jenga blocks

https://jenga.symploke.dev/
1•thomasfromcdnjs•5m ago•0 comments

Help us test WEBCAT alpha

https://securedrop.org/news/webcat-alpha/
1•ahlCVA•6m ago•0 comments

Bankster: Money as Data

https://github.com/randomseed-io/bankster
1•PaulHoule•7m ago•0 comments

Show HN: Augur – A text RPG boss fight where the boss learns across encounters

https://www.theaugur.ai/
1•thutch76•9m ago•1 comments

AgentMail Now Supports X402

https://twitter.com/agentmail/status/2028893166506787270
1•obulbo•10m ago•1 comments

Progressive Disclosure CLI for OpenAPI

https://github.com/OpenScribbler/phyllotaxis
1•mlhpdx•13m ago•0 comments

Show HN: A leadership 360 survey for startup founders: feedback please

https://org360.app/surveys/startup-founder-360
1•ddesposito•17m ago•1 comments

Python Package Uses a PRNG-Like Algorithm to Create Tokenized Infinite Data

https://github.com/stateshaper/stateshaper/tree/old_main
1•jaygeorgedunn•18m ago•0 comments

The 'Anything-but-Solar' Trade Is the Future of Solar

https://www.bloomberg.com/opinion/articles/2026-03-03/the-anything-but-solar-trade-is-the-future-...
1•petethomas•19m ago•0 comments

Show HN: OpenClawHub – A Lib for AI agent workflows so you don't have to

https://openclawhub.uk/
1•951560368•20m ago•0 comments

Critical Authentication Bypass in Pac4j-JWT – Using Only a Public Key

https://www.codeant.ai/security-research/pac4j-jwt-authentication-bypass-public-key
1•Brajeshwar•25m ago•0 comments

Show HN: DubTab – Live AI Dubbing in the Browser (Meet/YouTube/Twitch/etc.)

https://dubtab.com/
2•DanielHu87•25m ago•1 comments

Code-Offline

https://github.com/opensecurity/code-offline
2•opensecurity•26m ago•0 comments

Google employees call for military limits on AI amid Iran strikes

https://www.cnbc.com/2026/03/03/anthropic-fallout-iran-war-tech-military-ai.html
4•MilnerRoute•27m ago•0 comments

Google AI previews helped me in Iran's internet shutdown of 2025

https://ahrm.github.io/jekyll/update/2025/06/20/iran-internet-2025.html
1•owenpayton•27m ago•0 comments

Motorola GrapheneOS devices will be bootloader unlockable/relockable

https://grapheneos.social/@GrapheneOS/116160393783585567
2•pabs3•31m ago•0 comments

Developer Certificate of Origin and AI is a no-go

https://brokenco.de/2026/03/02/copyright-ai.html
1•pabs3•32m ago•0 comments

Wait what, you can't use a *code* editor when you're under 18 now?

https://mastodon.online/@marekfort/116164253291515471
8•pabs3•32m ago•0 comments

Show HN: PreflightAPI – US airports, weather, NOTAMs and more via one API

https://preflightapi.io/
1•bberisford•34m ago•0 comments

Show HN: Formualizer – Arrow-backed spreadsheet engine, 320 functions,PyO3+WASM

https://github.com/psu3d0/formualizer
1•ManfredMacx•34m ago•1 comments

Left-Handers Are More Competitive Than Right-Handers

https://www.psychologytoday.com/us/blog/the-asymmetric-brain/202602/left-handers-are-more-competi...
4•geox•36m ago•0 comments

The Markless Document Markup Standard

https://shirakumo.org/docs/markless/
1•todsacerdoti•40m ago•0 comments

People Really Are More Likely to Commit Crimes After a Cancer Diagnosis

https://www.vice.com/en/article/people-really-are-more-likely-to-commit-crimes-after-a-cancer-dia...
3•pseudolus•42m ago•0 comments

Show HN: Restless – a CLI that discovers and maps APIs automatically

https://github.com/bspippi1337/restless
1•bspippi1337•42m ago•2 comments

Four months of Ruby Central moving Ruby backward

https://andre.arko.net/2026/03/03/four-months-of-ruby-central-moving-ruby-backward/
4•bigiain•45m ago•0 comments

Trump Worries Iran's Leaders May Be Just 'As Bad' After War

https://www.bloomberg.com/news/articles/2026-03-03/trump-worries-iranian-leaders-could-be-just-as...
3•petethomas•45m ago•5 comments

Anatomy of a Web3 Supply Chain Attack

https://www.notesoncloudcomputing.com/posts/2026-02-27-anatomy-of-a-web3-supply-chain-attack/
2•carlesloriente•46m ago•0 comments

Windows 98 Disk Defrag Simulator

https://defrag98.com/
2•nixass•49m ago•1 comments

3M Canadian Adults Taking GLP-1 Drugs, Reshaping Eating and Spending Habits

https://www.thecanadianpressnews.ca/health/3m-canadian-adults-taking-glp-1-drugs-reshaping-eating...
2•karakoram•51m ago•3 comments
Open in hackernews

Ask HN: Any good tools to pgdump multi tenant database?

3•polishdude20•9mo 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•9mo 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•9mo 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•9mo 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•9mo 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•9mo ago
Oh yes I agree with you. It may become a big push to convince my org to do that