frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Fan Transition – Generate outfit transition videos from a single photo

https://fantransition.com/
1•humphrey_liu•2m ago•0 comments

Show HN: Stream Reducer – Audio AI Summarization at Scale

https://reducer.xgoose.org/
1•lobstey•3m ago•0 comments

Show HN: PredixLab – my personal system to discover investment opportunities

https://github.com/predixlab/predixlab-infra
1•unliftedq•5m ago•0 comments

Show HN: See diffs of Wikipedia over time

https://memoryhole.app/wiki-timeline
1•flippant•5m ago•0 comments

Show HN: Simulate an engineering blog, or an idea or an incident

https://github.com/smarchone/sim-xp
1•smarch27•12m ago•0 comments

The Paradox at the Heart of AI and Science – Terence Tao [video]

https://www.youtube.com/watch?v=svl_1upFpQo
1•ent101•15m ago•0 comments

I built an LMSR prediction market for a classical music competition

https://www.ratemyfestival.com/competitions/wieniawski-2026/odds
1•onesemble•17m ago•1 comments

What is the ultimate truth? We asked leading AI models

https://ultimatetruth.one
2•regnull•17m ago•0 comments

Using AI as a tutor to do math with pen and paper

https://twitter.com/nichochar/status/2111822781214294329
3•nichochar•18m ago•1 comments

Chums

https://chums.club/
1•soheilpro•18m ago•0 comments

MS Project – I made my own app finally

1•sttock•19m ago•0 comments

Show HN: DogCatTrace – Clapt was distilled from some random dog

https://github.com/xiebaiyuan/DogCatTrace
2•xiebaiyuan•22m ago•0 comments

Jio Platforms IPO

https://finshots.in/archive/a-few-more-things-about-the-jio-platforms-ipo/
1•vismit2000•22m ago•0 comments

Good Interfaces Make Good Neighbors

https://boz.com/articles/good-interfaces-make-good-neighbors
1•swolpers•24m ago•0 comments

ZX Spectrum Next Laptop

https://www.dorchester3d.com/printing/blog/2020/11/zx-spectrum-next-laptop-version-2
1•utopcell•29m ago•0 comments

IMF World Economic Outlook 2026 [pdf]

https://www.imf.org/-/media/files/publications/weo/2026/october/english/text.pdf
4•gmays•30m ago•0 comments

Show HN: Neuron, agents that set themselves up from your GitHub repo

https://www.neuronbot.in
2•tanay_kapoor•33m ago•0 comments

Now you can simply watch an ad to get hacked [video]

https://www.youtube.com/watch?v=oTNqhH4KzxY
1•s_e_n_a_p_a_t_y•36m ago•1 comments

MyChart health data opt-out journey: notaries, calls, visit to Epic

https://www.statnews.com/2026/10/15/health-data-privacy-medical-record-opt-out-barriers-investiga...
1•EA-3167•36m ago•1 comments

The Sphere Packing Project – Post 1 – The Story

https://leanprover-community.github.io/blog/posts/SpherePacking-1/
1•Aleksandr_NFA•37m ago•0 comments

The Annotated VT100 Firmware

https://vt100.net/dec/vt100/rom/
2•Aleksandr_NFA•37m ago•0 comments

Post-mortem of technical issue – August 29, 2019

https://zerodha.com/marketintel/bulletin/229363/post-mortem-of-technical-issue-august-29-2019
1•Aleksandr_NFA•37m ago•0 comments

The Third Risk

https://thirdrisk.org/
3•paulpauper•42m ago•0 comments

The Nick Cammarata Model of Happiness (Reconstructed from His Tweets)

https://federicorcassarino.substack.com/p/the-nick-cammarata-model-of-happiness
1•paulpauper•43m ago•0 comments

The Rise of In-Office Remote Work

https://www.theatlantic.com/ideas/2026/10/in-office-remote-work/688993/
3•Garbage•43m ago•0 comments

I built a streaming platform where audiences decide what gets produced

https://app.quickflicktv.com/
1•actor1989•48m ago•0 comments

Shepherd – Better than software community support forums

https://startshepherd.com/
2•LukeMancuso17•49m ago•0 comments

Show HN: My Personal Weather Station

https://johnzanussi.com/weather
2•johnz•51m ago•0 comments

The 'Jury Duty' Scam That Cost This Family $25,000

https://www.wsj.com/us-news/the-jury-duty-scam-that-cost-this-family-25-000-5629f703
1•paulpauper•55m ago•0 comments

RepRap (Replicating Rapid prototyper) [self-printing 3D Printer]

https://en.wikipedia.org/wiki/RepRap
1•peter_d_sherman•59m 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