frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Phone-Free Events Grew 567% Globally in 2026, over 900% in US Alone

https://www.eventbrite.com/blog/press/newsroom/the-rise-of-phone-free-experiences/
2•karakoram•4m ago•0 comments

TimyWind Sailing Game

https://tinywind.io/play?firstvisit=1
1•SubiculumCode•5m ago•0 comments

Snapcompact: SoTA Compaction – Instant, Local, Free. Pick 3

https://blog.can.ac/2026/06/10/snapcompact/
1•himata4113•7m ago•0 comments

Identifying Life-Changing Books with LLMs

https://blog.joellehman.com/identifying-life-changing-books-with-llms.html
1•andsoitis•9m ago•0 comments

Formal Methods and the Future of Programming

https://blog.janestreet.com/formal-methods-at-jane-street-index/
2•sebg•12m ago•0 comments

Shareholder Supremacy and the Precog CEO

https://pluralistic.net/2026/06/13/minority-shareholder-report/
1•hn_acker•12m ago•0 comments

Ask HN: What would you do with a trillion dollars

1•brudgers•12m ago•1 comments

The Future of Crossover

https://www.codeweavers.com/blog/mjohnson/2026/06/11/whats-in-and-whats-out-for-crossover-27
2•akyuu•12m ago•0 comments

Thanks Amazon

https://www.reddit.com/r/ClaudeAI/s/TUivYGKnCK
2•ihazgithub•12m ago•0 comments

Ask HN: If you had a trillion dollars, what would you do?

1•brudgers•13m ago•0 comments

Show HN: Domainbase – Instant domain search and management

https://domainbase.app/
1•alexpate•13m ago•0 comments

How cyber-criminals adopted Russias secret language of thieves

https://www.bbc.com/future/article/20260611-fenya-how-cyber-criminals-adopted-russias-secret-lang...
2•1659447091•13m ago•0 comments

Mandrake –> Gentoo a.k.a. "Mandrake Expatriate Syndrome" (2003)

https://www.greenfly.org/mes.html
1•coatmatter•14m ago•0 comments

Sealed Super Mario Bros Sells for $3M Setting New Record for a Video Game

https://www.ha.com/heritage-auctions-press-releases-and-news/highest-graded-super-mario-bros.-sel...
3•HelloUsername•14m ago•0 comments

Show HN: Sessemi – Scraping API That Solves Cloudflare/DataDome/Akamai Itself

https://sessemi.com
1•sessemi•15m ago•0 comments

Kennedy Center Says It Has Removed Trump's Name from Building

https://www.wsj.com/politics/policy/kennedy-center-misses-deadline-wants-more-time-to-remove-trum...
3•JumpCrisscross•16m ago•0 comments

Why India wants German submarines

https://www.dw.com/en/why-india-wants-german-submarines-and-what-pakistan-and-china-have-to-do-wi...
1•rustoo•17m ago•0 comments

The first trillionaire is a killer

https://www.theverge.com/tech/949259/the-worlds-first-trillionaire-is-a-killer
3•okneil•18m ago•1 comments

Seasonal changes in human hair growth

https://pubmed.ncbi.nlm.nih.gov/2003996/
1•JumpCrisscross•18m ago•0 comments

Why greatness cannot be planned

https://yinuoli.org/ken-stanley-and-joel-lehman-why-greatness-cant-be-planned/
1•andsoitis•18m ago•0 comments

What Happens to an Economy When It's Too Hot to Work?

https://www.bloomberg.com/news/features/2026-06-12/india-s-extreme-heat-is-hurting-its-economy-an...
5•littlexsparkee•22m ago•0 comments

Running DOS on Behringers DDX3216 with a DIY x86-Bios from Scratch

https://chrisdevblog.com/2026/06/08/running-dos-on-behringers-ddx3216-using-a-diy-x86-bios/
3•rasz•25m ago•0 comments

Something is jamming GPS over Europe. Here's what we found

https://www.youtube.com/watch?v=tz23G_UXCGA
2•nradov•26m ago•1 comments

Show HN: Deterministic and offline duplicate-code detector

https://github.com/Rafaelpta/dupehound
3•rafaepta•27m ago•0 comments

TinyWind

https://tinywind.io
4•kqr•29m ago•0 comments

Memory-mapped files considered harmful (for databases) (2022)

https://quasar.ai/2022/01/24/memory-mapped-files-considered-harmful/
2•tosh•31m ago•0 comments

Rows Are Made for Sorting and That's Just What We'll Do (2023) [pdf]

https://duckdb.org/pdf/ICDE2023-kuiper-muehleisen-sorting.pdf
3•tosh•31m ago•0 comments

Google Gemini-SQL2 tops text-to-SQL benchmarks

https://the-decoder.com/google-researchs-gemini-sql2-tops-text-to-sql-benchmarks-by-a-wide-margin/
2•geox•34m ago•0 comments

AI forgoes toxic positivity for neurodivergents

https://medium.com/@mantaman555/the-daily-exhaustion-of-waiting-mode-why-standard-productivity-sy...
3•FDX2018•34m ago•0 comments

Show HN: Seer – Private Ollama Chat in the Browser, No Account Needed

https://manticthink.com/
2•Colewilliamz•35m 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