frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Bumpy – versioning/changelog tool, fixed 120 open changesets issues

https://github.com/dmno-dev/bumpy
1•theozero•2m ago•0 comments

I got tired of hand-syncing AI coding rules across four tools

https://github.com/sampleXbro/agentsmesh
1•samplexBro•4m ago•0 comments

Show HN: I built a way to see if your SDK is AI-friendly

1•nguyenhu•9m ago•0 comments

Building a Threadiverse Community Platform

https://fedify.dev/tutorial/threadiverse
1•dahlia•10m ago•0 comments

Australia threatens tech companies with 2.25% tax if they don't pay publishers

https://www.theregister.com/2026/04/28/australia_news_bargaining_incentive/
2•defrost•14m ago•1 comments

How Do Perpetual Futures Differ from Spot Trading in Crypto?

https://www.bitdeal.net/cryptocurrency-exchange-development
1•harrisonrichrd•20m ago•0 comments

Meta prepares to undo acquisition of Singapore-based Manus after China ban

https://www.businesstimes.com.sg/international/global/meta-prepares-undo-acquisition-singapore-ba...
2•doppp•21m ago•0 comments

Freelancer for hire – full stack, ML, DevOps

1•Hopfield•22m ago•0 comments

Talos OS images are now bit-by-bit reproducible

https://github.com/siderolabs/talos/releases/tag/v1.13.0
1•matesz•24m ago•0 comments

I Use AI in 2026

https://fedepaol.github.io/blog/2026/04/25/how-i-use-ai-in-2026/
1•fedepaol•25m ago•0 comments

Come From

https://wiki.c2.com/?ComeFrom
1•pramodbiligiri•26m ago•0 comments

Steal Claude Code Architecture

https://teamcal.ai/blog/claude-code-architecture
1•rajl•29m ago•0 comments

How to build advanced features for AI chatbots on SSE

https://zknill.io/posts/everyone-said-sse-token-streaming-was-easy/
1•zknill•32m ago•0 comments

Show HN: VibeBrowser – Give your AI agent your real logged-in browser via MCP

https://www.vibebrowser.app/mcp
1•denis4inet•33m ago•0 comments

Show HN: Financial Database API for Vibe Coders

https://xfinlink.com
1•lyonghee97•41m ago•1 comments

Hotta GameDriverX64.sys shipping in Neverness to Everness preload

https://github.com/LaggyTMD/nte-driver-analysis
1•LaggyTMD•42m ago•0 comments

Anthropic Claude Code HERMES.md billing flaw

https://consumerrights.wiki/w/Anthropic_Claude_Code_HERMES.md_billing_flaw
1•Palmik•43m ago•0 comments

Scraping 241 UK council planning portals – 2.6M decisions so far

29•mebkorea•48m ago•33 comments

Show HN: BeVisible.app - Blog that runs itself

https://www.bevisible.app
2•evanyang•50m ago•0 comments

Xiaomi MiMo Orbit: 100T Token Grant for Builders

https://100t.xiaomimimo.com/
1•whtsky•52m ago•0 comments

SwiftBash: Pure-Swift, sandboxed bash interpreter

https://github.com/cocoanetics/swiftbash
2•ingve•52m ago•0 comments

Text Is the New Binary

https://andreabaccega.com/blog/text-is-the-new-binary/
2•veke87•54m ago•0 comments

Bugs in the original 1977 Cave Adventure Fortran source

https://colossalcave.cc/bugs.php
2•ultra-nick•57m ago•1 comments

A case report of someone who self-managed Fatal Familial Insomnia

https://pmc.ncbi.nlm.nih.gov/articles/PMC1781276/
1•abinaryquibit•58m ago•1 comments

Asimov v1: Open-Source Humanoid Robot

https://github.com/asimovinc/asimov-v1
1•Philipp2398•59m ago•0 comments

I built a coach for people who are tired of being yelled at by Stockfish

https://chessmentorai.com/en
1•sepiropht•1h ago•0 comments

Set a Meeting Budget

https://alexhans.github.io/posts/meeting-budget.html
2•alexhans•1h ago•1 comments

Ask HN: When might we not have to do laundry or fold clothes or cook

2•samarthv•1h ago•0 comments

Google signs classified AI deal with Pentagon

https://www.reuters.com/technology/google-signs-classified-ai-deal-with-pentagon-information-repo...
5•afshinmeh•1h ago•3 comments

The 278k language running 20% of the Internet

https://www.ismatsamadov.com/blog/lua-278k-language-running-the-internet
1•ismats•1h ago•0 comments
Open in hackernews

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

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