frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Memory Safety

https://www.memorysafety.org/
2•pmaddams•5m ago•0 comments

Trilium v0.101.0: 8-year anniversary of Trilium (personal knowledge base)

https://github.com/TriliumNext/Trilium/releases/tag/v0.101.0
1•ezst•5m ago•0 comments

Use Codex (OpenAI Coding Agent Framework) for a Personal Search Solution

https://github.com/DeepBlueDynamics/codex-container/blob/main/examples/personal_search/DOC_SEARCH.md
1•kordlessagain•8m ago•0 comments

As HN: How do I route around Substack's age verification?

3•longitudinal93•8m ago•0 comments

Show HN: Debt.ski – smart loan payoff planner

https://www.debt.ski
1•_august•11m ago•0 comments

CopilotHub: Directory of GitHub Copilot prompts, instructions, and MCPs

https://copilothub.directory
1•eddybenchek•12m ago•1 comments

Precomputing Transparency Order in 3D

https://jacobdoescode.com/2025/05/18/precomputing-transparency-order-in-3d
1•yzydserd•13m ago•0 comments

Version your cache keys to survive rolling deployments

https://medium.com/dev-genius/version-your-cache-keys-to-survive-rolling-deployments-a62545326220
1•orrbenyamini•13m ago•1 comments

ServiceNow to Acquire Armis for $7.75B in Cash

https://www.securityweek.com/servicenow-to-acquire-armis-for-7-75-billion-in-cash/
1•Bender•14m ago•0 comments

Open-source tool Nezha used as post-exploitation remote access trojan

https://www.scworld.com/news/open-source-tool-nezha-used-as-post-exploitation-remote-access-trojan
1•Bender•14m ago•0 comments

One Formula That Demystifies 3D Graphics [video]

https://www.youtube.com/watch?v=qjWkNZ0SXfo
1•codewiz•16m ago•0 comments

Java Janitor Jim – Augmenting Java's Ancient Enum with Proper Collections

https://javajanitorjim.substack.com/p/java-janitor-jim-augmenting-javas
2•jimofl•18m ago•1 comments

Mac app notarization: The ghost of Xcode past?

https://lapcatsoftware.com/articles/2025/12/6.html
2•robenkleene•19m ago•0 comments

Released KC3 v0.1.16

https://www.kmx.io/blog/released-kc3-v0.1.16
1•todsacerdoti•19m ago•0 comments

Coupongogo: Remote-Controlled Crypto Stealer Targeting Developers on GitHub

https://www.rastersec.com/blog/coupongogo-cryptostealer
1•PaulHoule•21m ago•0 comments

Grifters, Gaslighters and Puff the Magic Dragon

https://theturtlechronicles.substack.com/p/grifters-gaslighters-and-puff-the
3•mooreds•24m ago•0 comments

Mini-sglang: A compact implementation of SGLang

https://github.com/sgl-project/mini-sglang
1•simonpure•24m ago•0 comments

A framework for technical writing in the age of LLMs

https://thedataquarry.com/blog/a-framework-for-reading-and-writing/
1•sebg•31m ago•0 comments

Mq – jq-like command-line tool for Markdown processing

https://github.com/harehare/mq
3•lemming•32m ago•0 comments

Intelligence – A Mystery Investigation Game

https://intelligencegame.tech/
1•throw_a_grenade•32m ago•0 comments

Show HN: Later – Schedule URLs to open later

https://github.com/adagradschool/later
1•adagradschool•36m ago•0 comments

Show HN: I embedded 10M StreetView images

https://view.geospot.sdan.io/
1•sdan•36m ago•0 comments

Attention Normalizes the Wrong Norm

https://convergentthinking.sh/posts/attention-normalizes-the-wrong-norm/
1•sebg•39m ago•0 comments

Wayback 0.3 Released

https://wayback.freedesktop.org/news/2025/12/22/wayback-0.3-released/
2•birdculture•42m ago•0 comments

The Most Worrying Bits from Bloomberg's AI Bubble Q&A with Jason Furman

https://gizmodo.com/the-most-worrying-bits-from-bloombergs-worrisome-ai-bubble-qa-with-jason-furm...
1•mooreds•46m ago•0 comments

The Virtual Cell Will Be More Like Gwas Than AlphaFold

https://andrewcarroll.github.io/2025/12/23/the-virtual-cell-will-be-more-like-GWAS-than-AlphaFold...
1•sebg•46m ago•0 comments

The Common Market: When I shop online, I support my kindergarten

https://blog.hermesloom.org/p/wenn-ich-online-shoppe-tu-ich-meinem
1•sigalor•46m ago•0 comments

Show HN: Fill PDFs with API, AI creates optimal layouts

https://www.hundredocs.com/
1•cgonzar3•47m ago•1 comments

IatroX – ChatGPT for UK Doctors (OpenEvidence/PathwayMD Competitor)

https://www.iatrox.com
1•kolatytler•51m ago•0 comments

War, Wellness, and Watts: Inside Oak Ridge National Lab

https://undark.org/2025/12/25/war-wellness-and-watts-inside-oak-ridge-national-lab/
2•EA-3167•1h ago•0 comments
Open in hackernews

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

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