frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Aging Redefined: Cognitive and Physical Improvement with Positive Age Beliefs

https://www.mdpi.com/2308-3417/11/2/28
1•marojejian•43s ago•1 comments

Show HN: The Longest Click

https://longest-click.4m1r.dev/
1•4m1rk•2m ago•0 comments

Alternatives for returning multiple values from a Python function

https://stackoverflow.com/questions/354883/alternatives-for-returning-multiple-values-from-a-pyth...
1•slow_typist•4m ago•0 comments

FOMO.nyc – what are you doing tonight?

https://fomo.nyc/
1•mnky9800n•8m ago•0 comments

A Saturday with OpenClaw

https://twitter.com/jeffweisbein/status/2035464534446469606
1•cacklesclub•9m ago•0 comments

Related UI elements should not appear unrelated

https://rakhim.exotext.com/related-ui-elements-should-not-appear-unrelated
1•birdculture•10m ago•0 comments

US to embed Palantir AI across military

https://thecradle.co/articles-id/36667
3•gravisultra•11m ago•1 comments

OpenClaw's ChatGPT moment sparks concern that AI models are becoming commodities

https://www.cnbc.com/2026/03/21/openclaw-chatgpt-moment-sparks-concern-ai-models-becoming-commodi...
1•matthest•11m ago•1 comments

Turbo Pascal Deconstructed

https://simonwillison.net/2026/Mar/20/turbo-pascal/
1•alberto-m•11m ago•0 comments

President Nixon's Address About Oil Shortages (1973)

https://www.presidency.ucsb.edu/documents/address-the-nation-about-policies-deal-with-the-energy-...
3•alexandrehtrb•13m ago•1 comments

A Chess Playing Machine – Shannon (1950) [pdf]

https://www.paradise.caltech.edu/ist4/lectures/shannonchess1950.pdf
1•kristianp•14m ago•0 comments

WorthBuild – SaaS idea validation tool

https://worthbuild.io/
2•realfdi•16m ago•0 comments

Professional video editing, right in the browser with WebGPU and WASM

https://tooscut.app/
2•mohebifar•16m ago•1 comments

Show HN: Travel Hacking Toolkit – Points search and trip planning with AI

https://github.com/borski/travel-hacking-toolkit
1•borski•19m ago•0 comments

What 33 AI Agents Taught Me About Alignment

https://thealignmentlayer.substack.com/
1•slythefox•20m ago•0 comments

Show HN: HackerNewsDelta Is a Clone of HN Powered by Exponential (CMS)

https://hackernewsdelta.com/
2•7x•30m ago•0 comments

SafeVPN–Let people remote in to fix your servers, but prevent data exfiltration

https://github.com/chinagloud/SafeVPN
1•chinagloud163•32m ago•1 comments

Kalshi Has Been Temporarily Banned in Nevada

https://www.wired.com/story/nevada-bans-kalshi-prediction-market/
1•HardwareLust•34m ago•2 comments

Show HN: An MCP server that helps coding agents find the full change surface

https://github.com/ftrou/Decodifier3.1
1•ftrou•35m ago•0 comments

What Looks Like Resilience in Iran Is Its Collapse Plan

https://parpanchi.substack.com/p/what-looks-like-resilience-in-iran
2•gambutin•36m ago•0 comments

Gea: A batteries-included, reactive JavaScript UI framework

https://github.com/dashersw/gea
2•thunderbong•36m ago•0 comments

Scroll Press

https://scroll.press/
2•mathgenius•36m ago•0 comments

The Claude Dichotomy

https://jonathannen.com/the-claude-dichotomy/
2•jwilliams•37m ago•0 comments

Bye Bye RTMP

https://daniel.haxx.se/blog/2026/03/21/bye-bye-rtmp/
2•jandeboevrie•39m ago•0 comments

Show HN: GoldenMatch – Entity resolution with LLM scoring, 97% F1, no Spark

https://github.com/benzsevern/goldenmatch
2•benzsevern•42m ago•0 comments

Russian women who don't want children will be sent to psychologist

https://www.thetimes.com/world/russia-ukraine-war/article/russian-women-children-psychologist-zzn...
7•randycupertino•45m ago•2 comments

Show HN: I ran Qwen3.5 35B on my iPhone at 5.6 tok/SEC

https://twitter.com/alexintosh/status/2035386645764006102
4•alexintosh•46m ago•1 comments

How to Attract AI Bots to Your Open Source Project

https://nesbitt.io/2026/03/21/how-to-attract-ai-bots-to-your-open-source-project.html
2•zdw•46m ago•0 comments

My Beef with Substack

https://tasshinfogleman.substack.com/p/my-beef-with-substack
2•tasshin•48m ago•0 comments

SSH Certificates and Git Signing

https://codon.org.uk/~mjg59/blog/p/ssh-certificates-and-git-signing/
4•zdw•48m ago•0 comments
Open in hackernews

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

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