frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Serial Dekhne Wala App – Elo TV

https://play.google.com/store/apps/details?id=com.eloelo&hl=en_US
1•Chirag12boss•1m ago•0 comments

Russia buys gasoline from India to tackle shortages

https://www.reuters.com/business/energy/russia-buys-gasoline-india-tackle-shortages-sources-say-2...
1•vrganj•3m ago•0 comments

China tells its ethnic minorities to integrate or face consequences

https://www.cnn.com/2026/07/01/china/china-ethnic-unity-law-intl-hnk
1•breve•3m ago•0 comments

Watch a Steam Controller Skitter Itself to Its Charge Puck

https://hackaday.com/2026/07/01/watch-a-steam-controller-skitter-itself-to-its-charge-puck/
1•StingyJelly•5m ago•1 comments

Software Security Analysis in 2030 and Beyond: A Research Roadmap

https://dl.acm.org/doi/10.1145/3708533
1•pjmlp•5m ago•0 comments

The Field Equation, living shader geometry folded into a breathing object

https://sand-morph.up.railway.app/the-field-equation
1•echohive42•6m ago•0 comments

The Fall of the Theorem Economy

https://davidbessis.substack.com/p/the-fall-of-the-theorem-economy
1•varjag•7m ago•0 comments

PlayStation will stop releasing games on discs in 2028

https://www.bbc.com/news/articles/c0ryjyvjq41o
2•isaacfrond•8m ago•0 comments

EU could announce social media ban for kids in September

https://www.euractiv.com/news/eu-plans-to-announce-social-media-ban-for-kids-in-september/
1•Klaster_1•10m ago•0 comments

Notes: Principles of Neural Design

https://act65com.wordpress.com/2018/08/13/notes-principles-of-neural-design/
1•Kotlopou•14m ago•0 comments

Token Leaderboards

https://www.didon.app/blog/ai-token-leaderboards-employee-usage-tracking
2•babakzy•15m ago•0 comments

EU top court dismisses Google fight against record €4B EU antitrust fine

https://www.reuters.com/world/eu-top-court-dismisses-google-fight-against-record-41-billion-eu-an...
3•bontoJR•18m ago•0 comments

Agents.md is lying to your agent – and nothing checks it

https://hunch-pi.vercel.app/blog/post?slug=agents-md-is-lying-to-your-agent
1•huchdave•19m ago•0 comments

Google Reader was building the wrong future

https://buttondown.com/blog/google-reader
2•maguay•22m ago•0 comments

The Age of Personalized Hardware Is Coming

https://geastack.com/blog-the-age-of-personalized-hardware-is-coming
2•arbayi•26m ago•0 comments

Books, Highlights and Progress on Every E-Reader: BookFusion for KOReader

https://www.blog.bookfusion.com/your-books-highlights-progress-onevery-e-reader-bookfusion-for-ko...
2•skillachie•27m ago•0 comments

Synthetic Customers Earn Their Stripes

https://www.bain.com/insights/synthetic-customers-earn-their-stripes/
2•fzliu•27m ago•0 comments

Show HN: MyWritingTwin: an AI Writing Profile that makes LLMs sound like you

https://www.mywritingtwin.com
3•writingdna•37m ago•1 comments

Spent EV Batteries Get Second Life as Higher-Performance Battery Material

https://today.ucsd.edu/story/spent-ev-batteries-get-second-life-as-higher-performance-battery-mat...
3•giuliomagnifico•39m ago•0 comments

EXo Platform 7.2: Native AI Powering a Unified and Intelligent Digital Workplace

https://www.exoplatform.com/blog/exo-platform-7-2-ai-powered-unified-digital-workplace/
3•jaouanebrahim•41m ago•1 comments

A bug I ran into when using Java Modules

https://old.reddit.com/r/java/comments/1ul2wiz/a_bug_i_ran_into_when_using_java_modules_plus/
2•Tomte•41m ago•0 comments

Word Count for Blog Posts: How Long Should Yours Be?

https://fastwordcount.com/blog/real-time-word-counter-boost-your-writing-efficiency/
1•rajkverma123•45m ago•2 comments

Grasse and the London Connection (2025)

https://www.englishmaningrasse.com/post/grasse-and-the-london-connection
1•zeristor•49m ago•0 comments

A 'new way of thinking' boosted math proficiency in an East Palo Alto school

https://www.paloaltoonline.com/east-palo-alto/2026/07/01/a-new-way-of-thinking-boosted-math-profi...
6•hbarka•51m ago•0 comments

Pasqal exceeds 1k Atoms in Quantum Processor

https://www.pasqal.com/newsroom/pasqal-exceeds-1000-atoms-in-quantum-processor/
2•fofoz•54m ago•0 comments

Evaluation order and nontermination in query languages

https://www.rntz.net/post/2026-06-11-datalog-nontermination.html
2•luu•59m ago•0 comments

Show HN: Noter – AI agent dashboard for monitoring coding harnesses locally

https://noterai.tech
1•carlobizzaro•1h ago•0 comments

Show HN: Deterministic Simulation Testing

https://workers.io/blog/deterministic-simulation-testing/
1•chaitanyya•1h ago•0 comments

The Download: Anthropic Launches Claude Science, and California's Carbon Manure

https://www.technologyreview.com/2026/07/01/1139996/the-download-anthropic-claude-science-califor...
2•joozio•1h ago•0 comments

A Machine-Verified Proof of a Quantum-Optimization Conjecture

https://arxiv.org/abs/2606.29687
3•ilaysat•1h 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