frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A think piece: What happens if the Right wins absolutely?

https://neuburger.substack.com/p/if-the-right-wins-absolutely-what
1•ThomasNeu•22s ago•0 comments

Werner Herzog Trolling Elon Musk with Silence [video]

https://www.youtube.com/shorts/TuBNDulY5O0
1•doener•2m ago•0 comments

Show HN: YapType: hassle-free yap-to-text for Linux

https://github.com/jonas-klesen/yaptype
1•deklesen•2m ago•0 comments

Coursera to combine with Udemy

https://investor.coursera.com/news/news-details/2025/Coursera-to-Combine-with-Udemy-to-Empower-th...
1•throwaway019254•3m ago•0 comments

I've earned my PhD – what now?

https://www.nature.com/articles/d41586-025-03489-4
1•bookofjoe•3m ago•1 comments

PearPass: Open-Source Password Manager

https://pass.pears.com/
1•sygma•4m ago•0 comments

Bincode is now unmaintained

https://docs.rs/crate/bincode/latest
2•trashburger•5m ago•0 comments

Polyglot Makefiles

https://alganet.github.io/blog/2025-12-17-07-Polyglot-Makefiles.html
1•gaigalas•5m ago•0 comments

AnonCreds – Verifiable Credential Format

https://github.com/anoncreds/anoncreds
1•lionkor•6m ago•0 comments

After the warming. (1989) (YouTube) [video]

https://www.youtube.com/undefined
1•fanf2•6m ago•0 comments

Why European data sovereignty demands data governance

https://xwiki.com/en/Blog/open-source-data-governance-europe-2025/
2•lorinab•7m ago•0 comments

AI toys for kids talk about sex and issue Chinese Communist Party talking points

https://www.nbcnews.com/tech/tech-news/ai-toys-gift-present-safe-kids-robot-child-miko-grok-alilo...
1•bongripper•9m ago•0 comments

The Future of City-Building Games: A Developer-Player Perspective

https://www.radical-elements.com/minor-epiphanies/the-future-of-city-building-games-a-developer-p...
3•lexx•14m ago•0 comments

City now using AI-powered license plate readers to charge for garage parking

https://c-ville.com/city-using-ai-powered-license-plate-readers-to-charge-for-garage-parking/
1•bookofjoe•14m ago•1 comments

Show HN: A Chrome extension to navigate long Claude/ChatGPT threads with ease

https://chromewebstore.google.com/detail/threadline/aimgnmoicadcddiabnalakacaadaiibi
1•piyushgupta53•14m ago•0 comments

Developer Productivity

https://blog.joeschrag.com/2025/10/enabling-your-team.html
1•mooreds•17m ago•0 comments

Toolsmiths Melt Snowflakes

https://michaelheap.com/toolsmiths-melt-snowflakes/
1•mooreds•17m ago•0 comments

Sustainability and Responsible Computing

https://www.tara.sh/posts/2025/2025-12-16_sustainability_responsible_computing/
1•wrxd•19m ago•0 comments

An open-source multi-provider AI assisted CLI development tool

https://github.com/vybestack/llxprt-code
1•mooreds•19m ago•0 comments

Ramanujan's 100-year-old pi formula is still revealing the Universe

https://www.sciencedaily.com/releases/2025/12/251216081949.htm
1•baruchel•20m ago•0 comments

Inlining – The Ultimate Optimisation

https://xania.org/202512/17-inlining-the-ultimate-optimisation
1•hasheddan•20m ago•0 comments

Ask HN: Is there still space for innovation in B2B?

2•_el1s7•21m ago•1 comments

Show HN: ApplyFirst – AI job search alerts that get you more interviews

https://applyfirst.app/
2•mmazurovsky•22m ago•0 comments

Sigurimi

https://en.wikipedia.org/wiki/Sigurimi
1•vinnyglennon•22m ago•0 comments

Companies seek to use drones to mine Marianas seafloor

https://www.guampdn.com/news/companies-seek-to-use-drones-to-mine-marianas-seafloor/article_76522...
1•sipofwater•25m ago•1 comments

MCP Weekly: Agentic AI Foundation, Cloud Momentum, and New Security Tools

https://www.gentoro.com/blog/mcp-weekly-agentic-ai-foundation-cloud-momentum-and-new-security-tools
1•OmShree0709•25m ago•0 comments

Was it worth staying in San Francisco for a month?

https://ctts.substack.com/p/was-it-worth-staying-in-san-francisco
1•threefiftyone96•27m ago•0 comments

Trump Orders Venezuela Blockade, Demands Return of US Assets

https://www.foxnews.com/politics/trump-declares-venezuelan-regime-foreign-terrorist-organization-...
2•silexia•28m ago•1 comments

Can large language models generalize analogy solving like children can? [pdf]

https://arxiv.org/abs/2411.02348
1•Gys•29m ago•1 comments

Susie Wiles, Criticizes Bondi and Vance in Candid Interviews

https://www.nytimes.com/2025/12/16/us/politics/trump-susie-wiles.html
2•Anon84•29m ago•0 comments
Open in hackernews

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

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