frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I built a web playground for Seed Audio 1.5

https://seedaudio15.org/
1•AnneWodell•20s ago•0 comments

Advent of Code (2026)

https://adventofcode.com/2026/about
2•saikatsg•3m ago•0 comments

Ask HN: Why are you (still) not running models locally? (Part N)

1•Ir0n•4m ago•0 comments

Open Source Theater: How to Fake a Multinational on a Hobby Budget

https://jcoffey.dev/articles/open-source-theater/
1•wolfi1•4m ago•0 comments

Memory management in 40 major C projects, a survey

https://theconsensus.dev/p/2026/11/08/c-memory-management-survey.html
2•birdculture•5m ago•0 comments

Packer template for Hetzner Ubuntu images with signed-BPF enforcement

https://github.com/victorlane/hetzner-shirudo-packer
1•victorbrink•6m ago•0 comments

GitHub Code Quality enablement and disablement fixes

https://github.blog/changelog/2026-11-30-github-code-quality-enablement-and-disablement-fixes/
1•neversaydie•8m ago•0 comments

Fast List

https://patrickcollison.com/fast
1•davedx•8m ago•0 comments

Browser

1•BCDev•10m ago•0 comments

HN+ – Christmas mode and QoL tools for HN

https://github.com/errorware/hn-plus
1•errorware•14m ago•0 comments

Show HN: Shifu – see which of your coding agents is waiting on you (macOS)

https://shifu.yutailin.com/en/
1•Eddielin03•14m ago•0 comments

Euro-Office's default Microsoft format: why it matters for digital sovereignty

https://blog.documentfoundation.org/blog/2026/12/01/euro-office-and-the-default-format/
4•mksaunders2•16m ago•0 comments

Google Authenticator: Latest version on iOS 27 keeps crashing

https://www.macrumors.com/2026/11/30/google-authenticator-crashing-ios-27/
3•tosh•20m ago•0 comments

Amazon EBS now supports multi-Availability Zone volumes

https://aws.amazon.com/about-aws/whats-new/2026/11/ebs-multi-az-volumes/
1•ntur1337•21m ago•0 comments

Amazon EBS announces Adaptive Volumes that charge only for the storage you use

https://aws.amazon.com/about-aws/whats-new/2026/11/ebs-adaptive-volumes/
1•dabinat•24m ago•0 comments

Communion of Saints: The Dawn of an LLM New Age

https://harpers.org/archive/2026/11/communion-saints-sam-kestenbaum-chatbot-spirituality/
1•GranularRecipe•25m ago•0 comments

Cloudflare R2 over AWS S3 for app hsoting?

1•heysrb•27m ago•0 comments

DailyToolDeck

https://dailytooldeck.com/
1•jeffsfrye•29m ago•0 comments

Anthropic Says AI Found Theoretical Crack in Post-Quantum Encryption Standards

https://www.archyde.com/anthropic-says-ai-found-theoretical-crack-in-post-quantum-encryption-stan...
1•drbyos•31m ago•0 comments

Salmon Chaos

https://en.wikipedia.org/wiki/Salmon_chaos
2•harporoeder•32m ago•0 comments

Shut Up and Drive

https://medium.com/user-experience-design-1/shut-up-and-drive-fa07c4318051
1•ritanev•32m ago•0 comments

Home Preparedness

https://www.krisinformation.se/en/get-prepared/home-preparedness/
1•bushwart•32m ago•0 comments

We build software with autonomous agents

https://strandsagents.com/blog/introducing-strands-factory/
2•tmoreton•33m ago•0 comments

OECD International Migration Outlook 2026 [pdf]

https://www.oecd.org/content/dam/oecd/en/publications/reports/2026/11/international-migration-out...
2•hunglee2•38m ago•0 comments

Creator of Heretic uncensored models, Philipp Emanuel Weidmann, is dead

https://www.freepressjournal.in/bhopal/41-year-old-german-it-engineer-found-dead-inside-locked-ro...
4•thunderbong•42m ago•0 comments

Show HN: Ask Claude about your Garmin data via the official Personal API

https://github.com/yershalom/claude-garmin-mcp
1•yershalom•51m ago•0 comments

Facial photographs reveal mortality risk

https://www.nature.com/articles/s41467-026-79581-8
1•geox•53m ago•0 comments

How we became obsessed with watching people talk

https://www.theguardian.com/news/2026/dec/01/the-rest-is-chat-how-we-became-obsessed-with-watchin...
2•mgd•56m ago•0 comments

Slopaganda is the Oxford Word of the Year 2026

https://corp.oup.com/news/slopaganda-is-the-oxford-word-of-the-year-2026/
4•DeepLogin•56m ago•0 comments

HTML esoterica – en-GB vs. en_GB

https://www.htmhell.dev/adventcalendar/2026/1/
2•edent•56m 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