frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

How to get where you need to be when you don't know where you're going

https://www.ystrickler.com/how-to-get-where-you-need-to-be-when-you-dont-know-where-youre-going/
1•surprisetalk•39s ago•0 comments

What's Possible in Brain Circuit Mapping in 5 Years [video]

https://www.youtube.com/watch?v=Ss1twIeMrOY
1•surprisetalk•46s ago•0 comments

Detecting AV1-encoded videos with Python

https://alexwlchan.net/2025/detecting-av1-videos/
1•surprisetalk•58s ago•0 comments

Show HN: I wrote a book for software engineers, based on 11 years at Uber

https://rfonti.gumroad.com/l/playbook
1•ten-fold•3m ago•0 comments

macOS Tahoe Adoption Rate

https://old.reddit.com/r/MacOS/comments/1pc3pds/macos_tahoe_adoption_rate/
1•surprisetalk•4m ago•0 comments

Some models of reality are bolder than others

https://cjauvin.github.io/posts/metaphysical-boldness/
1•cjauvin•6m ago•0 comments

Show HN: I Built an Agentic AI That Creates Hosted File Converters

https://conversiontools.io/ai-converter-studio
1•drdmitry•7m ago•0 comments

Canonical Announces Ubuntu Pro for WSL

https://canonical.com/blog/canonical-announces-ubuntu-pro-for-wsl
1•2bluesc•7m ago•0 comments

Show HN: Gopin – Automatically pin latest to specific versions in Go install

https://github.com/nnnkkk7/gopin
1•sr-white•8m ago•0 comments

Is 2026 Next Year?

https://www.google.com/search?q=is+2026+next+year&oq=is+2026+next+year
3•kjhughes•9m ago•1 comments

Distributed ID Formats Are Architectural Commitments, Not Just Data Types

https://piljoong.dev/posts/distributed-id-generation-complicated/
1•piljoong•11m ago•0 comments

VKD3D-Proton 3.0 Released: Big Update to Direct3D 12 on Vulkan

https://www.phoronix.com/news/VKD3D-Proton-3.0
1•doener•11m ago•0 comments

Show HN: CoChat – Group chats with multi-model AI, built on OpenWebUI

3•mfolaron•12m ago•0 comments

Show HN: CoThou – Control what AI search engines say about your business

https://cothou.com/
1•MartyD•13m ago•0 comments

Kitten Space Agency

https://ahwoo.com/store/KPbAA1Au/kitten-space-agency
3•LorenDB•15m ago•0 comments

OpenAI Declares 'Code Red' as Google Threatens AI Lead

https://www.wsj.com/tech/ai/openais-altman-declares-code-red-to-improve-chatgpt-as-google-threate...
5•calstad•16m ago•1 comments

NYC's Premiere Analog Photobooth Gallery and Museum

https://www.autophoto.org/museum
2•mooreds•16m ago•0 comments

Project Iceberg – Coordinating the Human-AI Future

https://iceberg.mit.edu/
2•gmays•16m ago•0 comments

Why Healthcare Is in a Death Spiral: Follow the Money

http://charleshughsmith.blogspot.com/2025/12/why-healthcare-is-in-death-spiral.html
5•speckx•16m ago•0 comments

China's 'dirt cheap' hypersonic missiles could upend global defence markets

https://www.scmp.com/news/china/science/article/3334933/chinas-dirt-cheap-hypersonic-missiles-cou...
3•etiam•18m ago•0 comments

What I'm doing in GTM as B2B SaaS founder as of Dec 25

https://nonamevc.substack.com/p/what-im-doing-in-gtm-as-b2b-saas
2•zkid18•20m ago•0 comments

Show HN: Jester News - An RSS/Atom Companion App

https://jesterengine.com/pages/app
3•dan_h•20m ago•0 comments

What is evented IO and why does it scale?

http://ksat.me/what-is-evented-io-and-why-it-scales
3•andsoitis•21m ago•0 comments

Show HN: RunMat – runtime with auto CPU/GPU routing for dense math

https://github.com/runmat-org/runmat
4•nallana•22m ago•0 comments

Dionysiaca by Nonnus

https://topostext.org/work/529
1•keepamovin•25m ago•0 comments

'Function Coloring'

https://www.tedinski.com/2018/11/13/function-coloring.html
1•andsoitis•25m ago•0 comments

The myth of the $140k poverty line

https://marginalrevolution.com/marginalrevolution/2025/12/the-myth-of-the-140000-poverty-line.html
1•speckx•26m ago•0 comments

Show HN: Max MRR Calculator – Find Your Startup's Growth Ceiling

https://www.failory.com/tools/max-mrr
1•nocodebcn•27m ago•0 comments

Show HN: TinyTune – fine-tune open-source AI on your own data with no code

https://www.tinytune.xyz/
2•Jacques2Marais•27m ago•0 comments

Mistral 3 family of models released

https://mistral.ai/news/mistral-3
38•pember•28m ago•5 comments
Open in hackernews

Ask HN: Any good tools to pgdump multi tenant database?

3•polishdude20•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
Oh yes I agree with you. It may become a big push to convince my org to do that