frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: HealthAPI – Hosted REST API over Apple Health

https://healthapi.app
1•jdbloodstone•9s ago•0 comments

Leaving VMware Just Got Harder After Broadcom Pulled VDDK Downloads

https://www.virtualizationhowto.com/2026/09/leaving-vmware-just-got-harder-after-broadcom-pulled-...
1•josephcsible•1m ago•0 comments

DESI Legacy Imaging Surveys: catalogs and sky viewer for 31,000 sq deg of sky

https://www.legacysurvey.org/
1•Jimmc414•3m ago•0 comments

Show HN: Bamboo – build-time, Rust/Oxc, type-safe, zero-runtime CSS-in-JS

https://bamboocss.com/docs/overview/getting-started/
1•gajus•4m ago•0 comments

We're disrupting the creator management industry

https://peachandcherry.com/blog/welcome
1•zyloquenstar•4m ago•0 comments

Kenyans Made a Living Writing College Essays. Then A.I. Arrived

https://www.nytimes.com/2026/09/05/technology/kenya-college-essays-ai.html
1•porridgeraisin•5m ago•0 comments

Use Vsock with Libzmq

https://blog.remijouan.net/posts/libzmq-vsock-pyzmq/
1•remijouannet•9m ago•1 comments

AI chatbots wrongly reassure sleep apnoea patients their symptoms aren't serious

https://www.ersnet.org/news-and-features/news/in-a-third-of-cases-ai-chatbots-wrongly-reassure-sl...
1•DeepLogin•11m ago•0 comments

CallerCheck.co.uk: UK reverse phone lookup

https://www.callercheck.co.uk
1•rosszt•12m ago•0 comments

A Tesla ran a stop sign and killed a man, Full Self-Driving/Autopilot was on

https://electrek.co/2026/09/07/tesla-driver-assist-stop-sign-buena-vista/
2•FabHK•12m ago•0 comments

Tech explores Argentina's Patagonia for mega data centers

https://www.reuters.com/business/energy/tech-companies-look-argentinas-windswept-patagonia-build-...
1•reqo•13m ago•0 comments

Viaduct – clickable integration flows on top of a C4 model

https://c4.quietgridlabs.com/
1•igrlgkv•16m ago•0 comments

Anticipated Difficulty Bias, and Why Experience Doesn't Fix It

https://www.saul.at/posts/anticipated-difficulty-bias
1•Essa•19m ago•0 comments

CrowdStrike Falcon 0day Privilege Escalation Vulnerability

https://github.com/MSNightmare/FalconFlank
2•cebert•19m ago•0 comments

Emacs Bedrock 2.0 Released

https://lambdaland.org/posts/2026-09-06-bedrock-v2/
2•ashton314•21m ago•0 comments

Teaching Prevents Learning

https://twitter.com/marius_manola/status/2095920613768536180
1•Marius_Manola•23m ago•1 comments

The Loop Closes

https://henryaj.substack.com/p/the-loop-closes
2•henryaj•23m ago•0 comments

Show HN: Stirfry, a small Ruby webframe work mixing it up

https://github.com/tanema/stir_fry
1•drunken_thor•24m ago•0 comments

Promo UGG Lanah Clog Slipper – Women's

https://www.dsw.com/product/ugg-lanah-clog-slipper---womens/596685?activeColor=210%3Fcm_mmc%3DCSE...
1•carlachok•25m ago•0 comments

Peer-to-peer LLM inference in browser tabs, Qwen 3.8 27B

https://github.com/Nehanth/swarmllm
2•Nehanth•25m ago•0 comments

Hackers drain $320M in Bitcoin from Liquid Network, claim they're the good guys

https://www.theregister.com/security/2026/09/07/hackers-drain-320m-in-bitcoin-from-liquid-network...
4•sbulaev•26m ago•1 comments

MAI-Transcribe-2 undercuts OpenAI, Google and ElevenLabs on price and speed

https://venturebeat.com/infrastructure/microsoft-ais-mai-transcribe-2-undercuts-openai-google-and...
1•gmays•27m ago•0 comments

Do People Need Another Agent Harness

https://www.paulgraham.com/bronze.html
3•fhakimihsan•29m ago•3 comments

Cherenkov light as a mechanism for light flashes seen by astronauts in space

https://arxiv.org/abs/2608.11761
1•stmw•30m ago•0 comments

Show HN: PDF Measuring Tool

https://theinstant.cc/plan
1•Gshaheen•31m ago•0 comments

Piclaw 3.0 – Ohana

https://github.com/rcarmo/piclaw/releases/tag/v3.0.0
1•rcarmo•33m ago•0 comments

Has the A.I. Job Apocalypse Been Postponed?

https://www.newyorker.com/news/the-financial-page/has-the-ai-job-apocalypse-been-postponed
2•fortran77•36m ago•0 comments

Herdr now connects to remote servers

https://herdr.dev/blog/connecting-the-machines/
4•pstadler•36m ago•1 comments

Germany Power Grid Sabotage: Launch Devices Found Near Weisweiler Plant

https://cedarnews.net/newstasks/970710/germany-power-grid-sabotage-launch-devices-found/
6•0bytes•36m ago•1 comments

Code Reviews in the Age of AI

https://danielfm.me/posts/code-reviews-in-the-age-of-ai/
3•danielmartins•39m 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