frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Cost of "Contact Us for a Quote" in Modern E-Commerce

https://medium.com/@admin_75463/the-hidden-cost-of-contact-us-for-a-quote-in-modern-e-commerce-b3...
1•iDevGames•57s ago•0 comments

A cruel story How I almost killed my own AI project with "crypto" payments

https://old.reddit.com/r/consentbar/comments/1v5936l/how_we_almost_killed_our_own_ai_project_with/
1•genesem•1m ago•0 comments

Auto History Wipe

https://chromewebstore.google.com/detail/auto-history-wipe/amndpakmdficmebaknminpdbgdccfkjn
1•CodeWanderer•2m ago•0 comments

My security camera shipped a GitHub admin token in its login page

https://hhh.hn/hanwha-github-token/
1•hhh•4m ago•0 comments

David Bunnell, vintage computer magazine publisher

https://dfarq.homeip.net/david-bunnell-vintage-computer-magazine-publisher/
1•jnord•4m ago•0 comments

glTF 2.1 Complex Scenes

https://www.khronos.org/blog/introducing-gltf-2.1-with-complex-scenes
1•kevthecoder•4m ago•0 comments

"What happened after 2010?" (2021)

https://gist.github.com/shawwn/3110ab62fa027c7811578f167fa5a3a0
1•downbad_•4m ago•0 comments

Cygwin 3.6.6-1

https://cygwin.com/pipermail/cygwin-announce/2026-January/012771.html
1•theanonymousone•4m ago•0 comments

Show HN: Tawrida – Global Trade Tools – Export-Document Generators

https://tawrida.xyz/tools
2•m-zakarya•5m ago•0 comments

Topolines – animated topographic contour backgrounds for React

https://github.com/idleCyrex/topolines
1•idleeee•6m ago•1 comments

Show HN: Tawrida – Global Trade Tools – Export-Document Generators

https://tawrida.xyz/
1•Mohamed_zakarya•6m ago•0 comments

TFormula: Render LaTeX from any CLI app directly in Kitty-compatible terminals

https://github.com/mikewang817/TFormula
1•boltzmann-brain•7m ago•1 comments

Maximum Overkill

http://www.os2museum.com/wp/maximum-overkill/
1•supermatou•10m ago•0 comments

"If someone had shown me Scala in 2003, I'd probably never create Groovy" (2009)

http://macstrac.blogspot.com/2009/04/scala-as-long-term-replacement-for.html
2•theanonymousone•10m ago•0 comments

AWS us-west-2 connectivity issues affecting multiple services

https://health.aws.amazon.com/health/status?
2•_acco•10m ago•0 comments

German battery maker Varta files insolvency applications

https://www.reuters.com/business/german-battery-maker-varta-files-insolvency-applications-2026-07...
5•giuliomagnifico•11m ago•0 comments

The case for MUDs in modern times

https://www.andrewzigler.com/feed/the-case-for-muds-in-modern-times
6•bw86•12m ago•0 comments

AgentCost – local CLI,attributes token cost in Claude Code/Cursor/Codex sessions

https://pypi.org/project/agentcost-cli/0.1.0/
2•Kashifdevfe1•13m ago•0 comments

Single-click and remote OpenCode session right in the browser

2•jashandeep31•13m ago•0 comments

Unicode variation selector 15 and text vs. emoji presentation styles

https://benjaminwil.info/weblog/variation-selector-15/
2•fanf2•16m ago•0 comments

Show HN: YC Has It – describe your problem, find the YC startup that solves it

https://www.ychasit.com/
3•intelligentleak•17m ago•0 comments

The Ride Is the Ride

https://soloist.bearblog.dev/the-ride-is-the-ride/
2•mooreds•17m ago•0 comments

Polish-Lithuanian Commonwealth

https://u.osu.edu/poland/history/polish-lithuanian-commonwealth/
2•mooreds•20m ago•0 comments

LPC for Speech (1993)

https://lists.cpunks.org/archives/list/cypherpunks-legacy@lists.cpunks.org/message/PPN2I2MBKTAUZF...
2•basilikum•23m ago•0 comments

Show HN: A useful service for back end devs

https://app.linking.studio
2•yourfavdev•24m ago•0 comments

The Demographics of Central Europe [video]

https://www.youtube.com/watch?v=qvrj7_SMxao
2•mooreds•25m ago•0 comments

Why Garmin Bought TrainingPeaks

https://www.getvertical.ai/blog/garmin-trainingpeaks-acquisition/
2•mresposito•27m ago•0 comments

AMD EPYC 9006 Venice Announced and Looks Poised to Be a Grand Slam

https://www.phoronix.com/review/amd-epyc-9006-venice
4•ksec•28m ago•1 comments

Everybody Wants to Be a Dev

https://theturingmachine.net/everybody-wants-to-be-a-dev
2•birdculture•31m ago•0 comments

Show HN: Chrome extension for clean, readable SEC filings (10-K, 10-Q, 8-K)

https://chromewebstore.google.com/detail/sec-reader/jimblilpjbmhmgiooeobpabjnkadcoji
3•wenbin•31m 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