frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

You commit three felonies a day (2013)

https://kottke.org/13/06/you-commit-three-felonies-a-day
1•zenincognito•3m ago•0 comments

We charged per page. 0 sales from 1,100 visits. Switching to unlimited

https://getclonecode.com
2•thedbeaver•3m ago•0 comments

Can economics explain Europe's deadly witch trials?

https://www.ft.com/video/b140c279-f573-465e-a57b-14ba68333a63
1•mooreds•3m ago•0 comments

My Favourite Laptop

https://blog.jsbarretto.com/post/laptop
3•ibobev•5m ago•0 comments

Fpstreams: JavaScriptstyle Functional Pipelines for Python

https://github.com/steventimes/fpstreams
1•timesteve•5m ago•0 comments

Johnston's Electric Trains, St. Louis

https://dfarq.homeip.net/johnstons-electric-trains-st-louis/
1•ibobev•5m ago•0 comments

IBM PC/XT drives stuck in the bay? How to free them

https://dfarq.homeip.net/ibm-pc-xt-drives-stuck-in-the-bay-how-to-free-them/
2•ibobev•6m ago•0 comments

It's time to block reckless AI IPOs and tax billionaires

https://www.theguardian.com/commentisfree/2026/nov/02/ai-ipos-tax-billionaires
1•entryleveljobsc•6m ago•0 comments

Show HN: Prepd – System design interview practice with AI mock interviews

https://prepd.tech/
1•Prepd•7m ago•0 comments

Show HN: Agent Drift Game – short games about why AI agents drift

https://drift.seethis.dev/
1•aming557•7m ago•0 comments

Squarespace is laying off around 300 employees

https://www.theverge.com/tech/1024447/squarespace-layoffs-19-percent
2•ExMachina73•8m ago•0 comments

Mercur – add third-party sellers to an existing Magento store

https://github.com/mercurjs/magento2-connector
1•vholik•8m ago•0 comments

The US election could turn the country into chaos

https://martinvol.pe/blog/2026/11/01/the-us-election-could-turn-the-country-into-chaos/
2•martinvol•9m ago•0 comments

Cross-User Agent Communication

https://github.com/EledoneAi/murmur
1•wanadou•9m ago•1 comments

Canonical's new Kernel release strategy (Sep. 23rd 2026)

https://canonical.com/blog/accelerating-delivery-of-cve-fixes-with-a-new-kernel-release-strategy
1•ChromeUltron•16m ago•0 comments

Show HN: Fooboard – deployment and promotion status of each repo per environment

https://www.fooboard.dev/demo
2•karmaniverous•16m ago•0 comments

SUSE to cut one in ten employees because of AI

https://www.theregister.com/software/2026/11/02/suse-to-cut-one-in-ten-employees-because-of-ai/53...
3•klhs•17m ago•3 comments

Automated Subtle Emergent Misalignment Research

https://alignment.anthropic.com/2026/automated-em-search/
1•gmays•19m ago•0 comments

Show HN: HackerZon – HackerTube but for Amazon products mentioned on HN

https://hackerzon.pages.dev/
2•kiliancgn•19m ago•0 comments

Advertisers are turning back to hand-drawn and stop-motion animation

https://www.wsj.com/cmo-today/the-ad-industrys-antidote-to-ai-pencils-clay-and-stop-motion-114545d6
1•zomtorg•19m ago•0 comments

QwenGPU: A functioning, deterministic SIMT GPU inside Qwen3.5

https://twitter.com/TheVixhal/status/2116938733815738516
4•vixhal•20m ago•0 comments

Matching the Speed of Hand-Written Assembly with an Interpreter Written in Java

https://medium.com/graalvm/chasing-the-perfect-assembly-d0edb5387a5e
1•mike_hearn•20m ago•0 comments

Apps to show off your new iPhone Duo's foldable features

https://appleinsider.com/articles/26/10/29/10-apps-to-show-off-your-new-iphone-duos-foldable-feat...
1•andsoitis•20m ago•0 comments

With students scarce, college admissions offices friendlier, less intimidating

https://www.npr.org/2026/11/02/nx-s1-6007855/college-admissions-change-fewer-students
1•toomuchtodo•21m ago•1 comments

Show HN: Open-source, Lightroom Alternative RAW editor made by photographer

https://github.com/Duecki1/CalibRaw
1•duecki•21m ago•0 comments

Trump administration Is Wreaking Havoc on Electoral System Before Midterms

https://www.wired.com/story/the-trump-administration-is-wreaking-havoc-on-the-electoral-system-be...
2•HotGarbage•24m ago•0 comments

BoardUI: A React design system with 103 unique components

https://www.boardui.com
2•luispa•24m ago•0 comments

Anthropic's internal AI use, at retail prices, now exceeds its employee pay

https://www.businessinsider.com/anthropic-claude-internal-ai-use-exceeds-employee-pay-tokens-2026-11
4•entryleveljobsc•25m ago•0 comments

Show HN: Hacker News Aggregators, Aggregated

https://hackeragain.com/
1•yewenjie•25m ago•1 comments

Looking for a lost 1985 game called Netozelius: The Forbidden Outpost

https://www.reddit.com/r/vintagecomputing/comments/1xlwvu7/looking_for_a_lost_1985_game_called_ne...
1•Teever•26m 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