frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Rugs of War

https://rugsofwar.wordpress.com/
1•dmbche•2m ago•0 comments

Ask HN: How does YC / HN think about founder voting splits vs. equity splits?

2•cofounder1999•3m ago•0 comments

How long would you survive with no DNA? [video]

https://www.youtube.com/watch?v=s3oLIDaElaE
1•surprisetalk•6m ago•0 comments

Fundamental Engineering Principles

https://blog.tdhttt.com/post/fundamental-engineering-principles/
1•tdhttt•9m ago•0 comments

Canada's Prime Minister Mark Carney's Full Speech at Davos

https://www.cbc.ca/news/politics/mark-carney-speech-davos-rules-based-order-9.7053350
1•qkeast•10m ago•1 comments

Machine with Concrete – Arthur Ganson [video]

https://www.youtube.com/watch?v=5q-BH-tvxEg
1•o4c•11m ago•0 comments

DevOps Didn't Fail – We Just Gave It the Tools It Deserved

https://devops.com/devops-didnt-fail-we-just-finally-gave-it-the-tools-it-deserved/
1•milkglass•13m ago•0 comments

Libbbf: Bound Book Format, A high-performance container for comics and manga

https://github.com/ef1500/libbbf
1•zdw•16m ago•0 comments

Google Health AI Overviews Cite YouTube More Than Any Hospital Site

https://www.searchenginejournal.com/google-health-ai-overviews-cite-youtube-more-than-any-hospita...
1•randycupertino•23m ago•0 comments

OpenFlexure Microscope

https://openflexure.org/projects/microscope/
1•o4c•26m ago•1 comments

A series of distributed systems challenges brought to you by Fly.io

https://fly.io/dist-sys/
3•meistro•28m ago•0 comments

I got into an argument on Discord about how inefficient CBR/CBZ is, so I wrote

https://old.reddit.com/r/selfhosted/comments/1qi64pr/i_got_into_an_argument_on_discord_about_how/
1•todsacerdoti•31m ago•0 comments

Virology Lectures 2025 [video]

https://www.youtube.com/watch?v=3pX0x3mC4Io&list=PLGhmZX2NKiNm2iEUtVslIUHTW9i2zAG72
2•shpx•33m ago•0 comments

Drift

https://github.com/dadbodgeoff/drift
1•handfuloflight•34m ago•0 comments

Using RL to Double an Agent's Effectiveness in Production Debugging

https://www.dbow.me/rl.html
4•anyekwest•41m ago•0 comments

Show HN: DoceraX – Open "Please wait cannot display this document" PDFs Mac

http://fastHNReader.com
1•coolwulf•43m ago•0 comments

Can AI Pass Freshman CS? [video]

https://www.youtube.com/watch?v=56HJQm5nb0U
1•thethirdone•47m ago•1 comments

Explore medieval life and death with these 5 fun interactive maps (2023)

https://weirdmedievalguys.substack.com/p/explore-medieval-life-and-death-with
1•crescit_eundo•47m ago•0 comments

Migrating 13,000 Comments from Drupal to Hugo

https://www.jeffgeerling.com/blog/2026/migrating-13000-comments-from-drupal-to-hugo/
2•zdw•48m ago•0 comments

An 800 year old prayer book that's decorated with puns (2023)

https://weirdmedievalguys.substack.com/p/an-800-year-prayer-book-thats-decorated
3•crescit_eundo•49m ago•0 comments

Air Force One Returns to Joint Base Andrews After 'Minor Electrical Issue'

https://www.wsj.com/livecoverage/greenland-trump-tariffs-trade-eu/card/air-force-one-returns-to-j...
3•thm•50m ago•1 comments

How Birds Got Human Names (2025)

https://weirdmedievalguys.substack.com/p/how-birds-got-human-names
1•crescit_eundo•52m ago•0 comments

Why Not Tail Recursion?

https://futhark-lang.org/blog/2026-01-20-why-not-tail-recursion.html
2•todsacerdoti•56m ago•0 comments

Incremental AI Adoption for E-Commerce – Arcturus Labs

http://arcturus-labs.com/blog/2026/01/18/incremental-ai-adoption-for-e-commerce/
1•JnBrymn•1h ago•0 comments

Everything Moe

https://ianbarber.blog/2026/01/20/everything-moe/
1•phpencil•1h ago•0 comments

Shingles vaccine may help keep older people biologically younger

https://www.thetimes.com/uk/science/article/shingles-vaccine-news-bz55zstn5
7•ValentineC•1h ago•1 comments

Disaster planning for regular folks (2015)

https://lcamtuf.coredump.cx/prep/index-old.shtml
39•AlphaWeaver•1h ago•16 comments

Create video resumes without any recording - perfectclips.netlify.app

1•perfectclips•1h ago•1 comments

DOGE employees may have improperly accessed social security data, DOJ says

https://www.axios.com/2026/01/20/doge-employees-social-security-information-court-filing
6•handfuloflight•1h ago•2 comments

ChatGPT recommended a scam and I spent $300

https://old.reddit.com/r/soylent/comments/1qii7d5/soylent_aus_is_this_a_scam_i_just_spent_so_much/
2•aendruk•1h ago•0 comments
Open in hackernews

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

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