frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

GateProof – offline-first event check-in, no back end, no guest list leak

https://gateproof.app/
1•nunosimoes•20s ago•0 comments

New Alphabet Song

https://www.youtube.com/watch?v=-I7v0HqejXE
1•bns•31s ago•0 comments

Pocket TTS opensourced its training stack

https://twitter.com/kyutai_labs/status/2092254286772080768
1•octabond•1m ago•0 comments

AMD Versal Premium Gen2 at Hot Chips 2026

https://www.servethehome.com/amd-versal-premium-gen2-at-hot-chips-2026/
1•pella•2m ago•0 comments

JetBrains Releases Junie Local, Its Coding Agent On-Device to Macs

https://techstrong.ai/articles/jetbrains-releases-junie-local-bringing-its-coding-agent-fully-on-...
1•CrankyBear•2m ago•0 comments

Youths on proposed social media ban: Some approval, questions around enforcement

https://www.rnz.co.nz/news/politics/1119896/youths-on-proposed-social-media-ban-cautious-approval...
3•billybuckwheat•4m ago•0 comments

Fastmail Down for Anyone Else?

https://app.fastmail.com/
1•arbol•4m ago•3 comments

PGRun

https://pgrun.dev/
2•handfuloflight•6m ago•0 comments

When life calls for causal analysis

https://www.junkcharts.com/when-life-calls-for-causal-analysis/
1•speckx•6m ago•0 comments

OKD

https://github.com/okd-project/okd
2•reconnecting•6m ago•0 comments

We're all getting good at not reading each other

https://rice.codes/blog/ab9b9e43-80f0-44a0-aa14-e99219bc7112/
1•yqhsms•8m ago•0 comments

Clean and Compress PDF Files on Mac

https://medium.com/@chris.ahrweiler/clean-and-compress-pdf-files-on-mac-93a6e3925f9d
1•docjojo•8m ago•0 comments

Show HN: I missed the moving blocks, so I built a real Linux disk defragmenter

https://github.com/gbin/defragger
1•gbin•9m ago•0 comments

Inside Próspera,, the libertarian utopia on a Caribbean island

https://www.abc.net.au/news/2026-08-22/honduras-prospera-libertarian-utopia-caribbean-roatan/1070...
1•tcp_handshaker•9m ago•0 comments

Paul Graham's Essays, as Audio

https://journal.daniellopes.dev/p/paul-grahams-essays-as-audio
1•danielvlopes2•9m ago•1 comments

The Nvidia-sized hole in US GDP statistics

https://epoch.ai/publications/the-nvidia-sized-hole-in-us-gdp-statistics
2•paulpauper•10m ago•0 comments

Polyamorous bird of prey 'single-handedly' reviving species

https://www.thetimes.com/uk/environment/article/montagus-harriers-breeding-au-britain-hklk56vw5
1•paulpauper•10m ago•0 comments

Ads in Apple Maps have officially begun rolling out

https://9to5mac.com/2026/08/25/apple-maps-launches-ads-on-iphone-heres-whats-new/
1•zof3•11m ago•1 comments

Ask HN:Can you find the perimeter of this figure on cover

https://www.amazon.com/dp/B0F4PBNZWF
1•min2bro•11m ago•1 comments

Building Anki Cards with Claude Code

https://segar.me/blog/posts/anki_cards_claude_code.html
1•speckx•12m ago•0 comments

A map for one reader – a bespoke GPS audio travel guide

https://networkedthought.substack.com/p/a-map-for-one-reader
1•houshuang•13m ago•0 comments

$125/month Premium seats on ChatGPT Business

https://help.openai.com/en/articles/8792828-chatgpt-business-overview
1•kaliszad•13m ago•0 comments

Respondus|Senior Software Developer|Remote|US Only

https://web.respondus.com/
1•kruczynski•16m ago•0 comments

The Instant team joins OpenAI

https://www.instantdb.com/essays/instant_team_joins_openai
1•gurjeet•17m ago•1 comments

Show HN: PocketCoded Py – Full CPython, pip, and data stacks offline on Android

https://play.google.com/store/apps/details?id=com.mkhokheli.pocketcodedpy&hl=en_US
1•Mkhokheli_Ndebe•17m ago•0 comments

Show HN: Ifso – A personal finance simulator for major life decisions

https://ifso.io
1•timer_interrupt•18m ago•0 comments

Show HN: FetchMark – An Offline-first read-later app with AI summaries

https://fetchmarkapp.com
1•fetchmark•21m ago•0 comments

FreeCORE, TrueNAS Core Continued

https://freecore.org/
1•NexRebular•21m ago•0 comments

Show HN: Acurite 433MHz Sensor to Weather Underground via RTL-SDR

https://github.com/lowerpower/wu-upload
2•mycal•22m ago•0 comments

Dolly Parton Has Died

https://en.wikipedia.org/wiki/Dolly_Parton
7•ColinWright•23m ago•2 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