frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Long Humans

https://www.thriveholdings.com/long-humans
1•skogstokig•49s ago•0 comments

Show HN: Crowfly.golf – Zero-backend GPS round tracking (localStorage)

https://crowfly.golf
1•whycombinetor•2m ago•0 comments

Think Interior Design Jobs

1•Ai-Dir•3m ago•0 comments

Show HN: AppLaunch - IOS & Android App Builder

https://applaunch.teamzlab.com/
1•mdhemalakhand•3m ago•1 comments

Appeals court upholds FTX co-founder Sam Bankman-Fried's fraud conviction

https://apnews.com/article/sam-bankman-fried-ftx-cryptocurrency-appeal-e709df4a152e9b3b52a266dd81...
1•1vuio0pswjnm7•4m ago•0 comments

IdleAds – Ads in AI's "thinking " moment, devs keep 70%+

https://IdleAds.dev
1•codepeekr•5m ago•1 comments

Agent Control Plane in your database

https://www.exasol.com/blog/exasol-agent-control-plane/
1•exasol_nerd•6m ago•0 comments

UFO footage just released by FBI

https://www.bbc.com/news/videos/c8e2w83kxryo
1•oliver236•7m ago•1 comments

White House negotiating preemption of state AI laws in exchange for KOSA & more

https://thehill.com/policy/technology/5916062-artificial-intelligence-federal-preemption-negotiat...
4•iamnothere•8m ago•1 comments

A calculator that doesn't round

https://constructive-calculator.dimview.org/writeup.html
2•dimview•8m ago•0 comments

Results from First Anthropic Public Record

https://www.anthropic.com/news/anthropic-public-record
1•surprisetalk•11m ago•0 comments

The small web is beautiful

https://benhoyt.com/writings/the-small-web-is-beautiful/
2•otolock•11m ago•0 comments

Closing a Mac remote session without logging out, keeps your Mac logged in [video]

https://www.youtube.com/watch?v=9prKU2Vuo-0
1•whereistejas•12m ago•0 comments

Red Lobster's 37-year-old CEO bets the chain's future on AI

https://moneywise.com/news/top-stories/red-lobster-ceo-damola-adamolekun-ai-anthropic-claude-rest...
2•cdrnsf•12m ago•0 comments

Elon Musk Becomes First Trillionaire as SpaceX Starts Trading

https://www.nytimes.com/live/2026/06/12/business/spacex-ipo-elon-musk/heres-the-latest
3•droidjj•12m ago•0 comments

Israeli tech firm accused of targeting First Minister in election

https://www.bbc.co.uk/news/articles/c77yje7n287o
2•asplake•13m ago•0 comments

MrBeast just hit 500M subscribers – half a billion

https://socialblade.com/youtube/handle/mrbeast
1•etrand_•14m ago•0 comments

The Public Now Backs Nuclear Energy. What Will It Take to Make It Happen?

https://www.wsj.com/business/energy-oil/nuclear-energy-public-support-bb744e6e
1•JumpCrisscross•14m ago•0 comments

Confidence Sets, Confidence Intervals

https://bactra.org/notebooks/confidence-sets.html
1•mattbit•14m ago•0 comments

The World Has Moved On

https://pluralistic.net/2026/06/11/lapsarianism/
5•hn_acker•16m ago•0 comments

Show HN: SharkClean MCP

https://github.com/a-funk/sharkclean-mcp
2•afunk•17m ago•0 comments

Overlooked Pollutants Cause About 15 Percent of Global Warming

https://nautil.us/these-overlooked-pollutants-cause-about-15-percent-of-global-warming-1281914
1•Brajeshwar•17m ago•0 comments

Post-Mortems for Agent Runs

https://blog.tacoda.dev/post-mortems-for-agent-runs-2cceeaf13f2e
1•tacoda•18m ago•0 comments

Fear of the SaaSpocalypse is tormenting techland

https://www.economist.com/business/2026/06/10/fear-of-the-saaspocalypse-is-tormenting-techland
1•1vuio0pswjnm7•19m ago•0 comments

Sources: Gordie Howe Bridge ribbon-cutting to take place Friday

https://www.freep.com/story/news/local/michigan/detroit/2026/06/08/gordie-howe-international-brid...
1•cf100clunk•19m ago•1 comments

Tried to get the horse.horse TLD but it was executed perfectly

https://horse.horse
2•hovden•21m ago•1 comments

Musk's Starlink hooked rural customers. Then came the price increases

https://www.washingtonpost.com/technology/2026/06/11/starlink-is-star-spacex-ipo-is-it-monopolizi...
4•1vuio0pswjnm7•21m ago•0 comments

Pokémon Go Data Isn't Being Used to Train Military Drones, Says Niantic Spatial

https://www.ign.com/articles/no-pokmon-go-data-isnt-being-used-to-train-military-drones-niantic-s...
2•HelloUsername•22m ago•0 comments

SpaceX Shares Open at $150, Above IPO Price of $135

https://www.wsj.com/livecoverage/spacex-ipo-stock-market-06-12-2026/card/spacex-shares-open-at-15...
2•JumpCrisscross•22m ago•0 comments

MTG Arena Rule Engine Overview

https://magic.wizards.com/en/news/mtg-arena/on-whiteboards-naps-and-living-breakthrough
1•BoingBoomTschak•24m ago•1 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