frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Local Agentic Software Development 100% free

https://github.com/wondergeorge/george-coder
1•WonderGeorgeCTO•1m ago•0 comments

Show HN: Wafflenote – Granola alternative where you choose where your data lives

https://www.wafflenote.com/
1•vladsamonin•3m ago•1 comments

What Anthropic's new research means for the security of post-quantum crypto

https://research.ibm.com/blog/anthropic-pqc-security
1•thomasjb•6m ago•0 comments

Microcontrôland: A fictional country simulated by 7 ESP32 microcontrollers

https://www.microcontroland.org/en/projet.html
1•dverlaeckt80•7m ago•0 comments

Writing a primitive Forth in JavaScript (2024)

https://www.onirom.fr/wiki/blog/16-11-2024_writing_a_primitive_forth_in_javascript/
1•dverlaeckt80•7m ago•0 comments

Strands harness and Harness SDK now support Rust, with a 50 ms Lambda cold start

https://strandsagents.com/blog/strands-agents-rust-harness-sdk/
1•hazelsaenz_tech•7m ago•1 comments

Did social media kill personal spaces on the internet?

1•I-dont-know•7m ago•0 comments

FAA head links faulty cable to nationwide flight halt last month

https://www.cnbc.com/2026/12/01/air-traffic-us-ground-stop-router-failure.html
1•Betelbuddy•9m ago•1 comments

Show HN: Cerium – Run Claude Code, Codex, and Cursor in One Thread

https://github.com/CeriumHQ/cerium
1•nonlooped•11m ago•0 comments

A single year of CT scans could lead to roughly 103,000 future cancer cases

https://twitter.com/Rainmaker1973/status/2127786046389694767
2•nomilk•13m ago•0 comments

Major Artists and Creatives Are Pissing Off Fans with AI

https://www.wired.com/story/major-artists-and-creatives-are-pissing-off-fans-with-ai/
1•nephihaha•13m ago•0 comments

Show HN: Trellis – Edit PlantUML diagrams visually, on the real rendering

https://rio-jp.github.io/Trellis/
1•Takuma_jp•14m ago•0 comments

Edgar the On-Call AI Software Engineer

https://github.com/kana-ai/edgar
1•oussama_debug•16m ago•0 comments

Show HN: Emailfast

https://emailfa.st/
2•tombakerbuilds•17m ago•0 comments

Show HN: Leviyra – A new way to experience interactive storytelling

https://leviyra.com
2•Aditya47x•17m ago•1 comments

Nvidia signs on to Elon Musk's space datacenter pipe dream

https://www.theregister.com/off-prem/2026/12/01/nvidia-signs-on-to-elon-musks-space-datacenter-pi...
2•joebuckwilliams•19m ago•1 comments

Ahrefs switched to DR4 today: 183 of 212 startup directories lost rating

2•babacklindo•20m ago•2 comments

Show HN: KlongPy 2 – Rust array language with Lean 4/Kani proofs and WASM REPL

https://www.klongpy.org/2.0/playground/
1•eismcc•22m ago•0 comments

Advent of Hacking 2026 (mini games teaching you how to hack)

https://installplango.com/advent-of-security
3•rstureborg•23m ago•1 comments

Laravel in Rust [video]

https://www.youtube.com/watch?v=9znOFW6Bvg4
1•pratzc07•23m ago•0 comments

The Refund That Cost Me 10k

https://geronimo-labs.com/blog/the-refund-that-cost-me-10k/
1•g58892881•25m ago•0 comments

15% of Black Friday and Cyber Monday Deals Were Fake

https://pricelasso.com/blog/black-friday-cyber-monday-fake-deals
6•bashevis•25m ago•0 comments

HN: Virtual PCIe GPU/accelerator sandbox (QEMU and Linux driver and C SDK)

https://github.com/waguea/axon
1•fongang777•26m ago•1 comments

Snout Scout

https://www.snoutscout.fit
2•TayWhite•27m ago•1 comments

How I Checked My Satellite Uplink with a $5 SDR

https://hubble.com/blog/checked-satellite-uplink-5-dollar-sdr/
2•hasheddan•27m ago•0 comments

AMD launches new Ryzen 8000 APUs for the AM5 socket

https://www.tomshardware.com/pc-components/cpus/amd-launches-new-ryzen-8000-apus-for-the-am5-sock...
3•doener•30m ago•0 comments

A Query Planner for Your Application

https://foldkit-plus.pages.dev/blog/a-query-planner-for-the-whole-application
1•thomastill•32m ago•0 comments

What it took to get an MCP server into the ChatGPT and Claude directories

https://getadloop.com/mcp-directory-submission
1•klosk•33m ago•1 comments

Character.ai looking to sell its chats

https://fortune.com/2026/11/30/character-ai-auction-chats-2-1-million-minors-42-attorneys-general/
3•HR01•34m ago•0 comments

Licenseplatedle: The daily license plate game

https://www.licenseplatedle.com/
1•pattle•34m 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