frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

On The Difference Between Rest and Idleness.

https://idle.news/blog/on-the-difference-between-rest-and-idleness/
1•bookofjoe•25s ago•0 comments

Glone: A CLI to back up all your GitHub repositories

https://github.com/joaopalmeiro/glone
1•joaopalmeiro•1m ago•0 comments

Fairplayer

https://fairplayer.band/player/
1•drcongo•1m ago•0 comments

Vintage AMD R600 Graphics Driver Sees Code Cleanups Thanks to GitHub Copilot

https://www.phoronix.com/news/AMD-R600-Driver-Copilot-Cleanup
1•giuliomagnifico•3m ago•0 comments

CoAnalyst360 Multi-Agent AI Platform for Investigative Questions

https://www.penlink.com/press-release/coanalyst360-launch/
1•sharpshadow•5m ago•0 comments

Why cheap online shopping is about to change for Irish consumers

https://www.rte.ie/brainstorm/2026/0609/1576806-online-shopping-customs-duties-ireland-eu-regulat...
2•austinallegro•6m ago•0 comments

Show HN: Why aren't popular book trackers offline-first?

2•thedetailsguy•7m ago•0 comments

The iPhone's Last Stand

https://stratechery.com/2026/the-iphones-last-stand/
2•swolpers•8m ago•0 comments

Show HN: TripoSplat Running in the Browser

https://splat.sqrm.co/
1•fursund•9m ago•0 comments

Perplexity plans IPO in 2028 regardless of what happens to Anthropic or OpenAI

https://www.cnbc.com/2026/06/09/perplexity-ipo-2028-as-anthropic-openai-prepare-listings.html
3•thm•9m ago•0 comments

Ötzi the Iceman is long dead, but some of his ancient microbes are still alive

https://www.cnn.com/2026/06/08/science/otzi-the-iceman-microbial-activity
2•thm•12m ago•0 comments

Warning Maravel-Framework 10.x Tagged Cache in JWT Blacklist

https://marius-ciclistu.medium.com/the-hidden-architecture-trap-why-laravels-tagged-cache-jwt-is-...
1•marius-ciclistu•17m ago•0 comments

Apple Silicon Cuts Mac Failure Rates in Half

https://www.forbes.com/sites/barrycollins/2026/06/09/apple-silicon-cuts-mac-failures-in-half-says...
3•newsymonger•18m ago•0 comments

Leading supplier of research monkeys declares bankruptcy

https://www.science.org/content/article/leading-supplier-research-monkeys-declares-bankruptcy
4•pseudolus•19m ago•0 comments

SQLite improving performance with pre-sort

https://andersmurphy.com/2026/06/07/sqlite-improving-performance-with-pre-sort.html
1•andersmurphy•19m ago•0 comments

Show HN: SearchJack – 23 extensions, 758K users, 8 search monetization brokers

https://malext.io/reports/SearchJack/
1•toborrm9•19m ago•0 comments

Wall Street Is Rushing to Fund the AI Bonanza in Every Conceivable Way

https://www.wsj.com/finance/investing/global-stocks-markets-dow-news-06-08-2026-aac7c547
2•thm•22m ago•0 comments

Linux latency measurements and compositor tuning

https://farnoy.dev/posts/linux-latency
1•GalaxySnail•26m ago•0 comments

GentleOS – Classic operating system with a lovely retro GUI

https://github.com/luke8086/gentleos32
11•tekkertje•26m ago•0 comments

Stop pasting files into agent prompts

https://julienreszka.com/blog/stop-pasting-files-into-agent-prompts/
1•julienreszka•26m ago•0 comments

Pockemon Go data used as landmarks to train military drones

https://www.trouw.nl/redactie/PokemonGo/
3•piskov•27m ago•0 comments

How disinformation in Congo is worsening Ebola epidemic

https://www.dw.com/en/how-disinformation-in-congo-is-worsening-ebola-epidemic/a-77434273
2•wslh•27m ago•0 comments

Show HN: ΦASIS and Atmos, zero and BIOS layers beneath a breathwork app

https://shiihaa.app/atmos/
1•felixzeller•27m ago•1 comments

Full Text of Strategic Bitcoin Reserve Bill (H.R. 8957) Published

https://bitcoinmagazine.com/news/full-of-strategic-bitcoin-reserve-bill
1•giuliomagnifico•29m ago•0 comments

Europe Needs to Come Together. This Man Has Some Ideas

https://www.nytimes.com/2026/06/09/opinion/europe-defense-van-middelaar.html
2•wslh•31m ago•1 comments

Lessons for Reusable Web Components

https://dan-webnotes.com/posts/2026-06-07-lessons-reusable-web-components/
1•dandep•32m ago•0 comments

Samsung's SSD warranty policy scammed me so I'm taking them to court [video]

https://www.youtube.com/watch?v=WpPIW4aeeag
2•sschueller•32m ago•0 comments

SDL 2.0 Future Support

https://discourse.libsdl.org/t/sdl-2-0-future-support/68372
1•tosh•33m ago•0 comments

Affiliate Marketing Software for AI video generator businesses

https://www.rewardful.com/use-cases/ai-video-generators
1•avanticc•33m ago•1 comments

Psiloscoby

https://www.psiloscoby.com/
2•the-mitr•34m 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