frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Dispatches from the possibly last days of human relevance

https://scottaaronson.blog/?p=9782
1•gone35•1m ago•0 comments

Don't Delegate the Joy of Building to AI

https://bacist.com/joy-of-building/
1•baCist•1m ago•1 comments

Websites have a new way to spy on visitors: analyzing their SSD activity

https://arstechnica.com/security/2026/05/websites-have-a-new-way-to-spy-on-visitors-analyzing-the...
1•XzetaU8•4m ago•0 comments

Where is API tooling lacking?

1•dhruv3006•4m ago•0 comments

Omniclip: Open-source, powerful video editor right in the browser

https://github.com/omni-media/omniclip
1•maxloh•4m ago•0 comments

Halted ARM64 Port Work

https://github.com/rcarmo/haiku-arm64-build
1•rcarmo•6m ago•0 comments

I Stopped Designing Forms for Only Humans

https://www.indiehackers.com/post/i-stopped-designing-forms-for-only-humans-893ed23599
1•Lovanut•6m ago•0 comments

A one-word answer to why EU lost control of Big Tech: Ireland

https://euobserver.com/218423/a-one-word-answer-to-why-eu-lost-control-of-big-tech-ireland/
2•nemoniac•9m ago•0 comments

Is it better to have fewer components?

https://alokit.substack.com/p/four-components-each-90-reliable
1•avikalp•10m ago•1 comments

UK's rudest chalk figure gets a glow-up to stop it fading in the rain

https://www.bbc.co.uk/news/articles/cpvppe84lnvo
1•FartyMcFarter•13m ago•0 comments

Space, time and Shakespeare – Paul Glendinning [video]

https://www.youtube.com/watch?v=iMHvwhXFrNQ
1•vismit2000•17m ago•0 comments

Breaking macOS App Sandbox with Archive Utility

https://mysk.blog/2026/05/19/cve-2026-28910/
1•goranmoomin•18m ago•0 comments

Even if every California billionaire left tomorrow, it would take 25 years...

https://finance.yahoo.com/economy/policy/articles/even-every-california-billionaire-left-16491874...
1•1vuio0pswjnm7•20m ago•1 comments

Rivian will deliver the first R2 SUVs on June 9

https://techcrunch.com/2026/05/27/rivian-will-deliver-the-first-r2-suvs-on-june-9/
1•01-_-•21m ago•0 comments

Giant cockroach statue brings new life to shrinking Nara village

https://mainichi.jp/english/articles/20260527/p2g/00m/0na/048000c
2•rawgabbit•22m ago•0 comments

Ottawa's latest deal with U.S. data giant Palantir raises warnings

https://www.thestar.com/politics/federal/ottawas-latest-deal-with-us-data-giant-palantir-raises-w...
1•01-_-•22m ago•0 comments

The Ridgeway

https://www.historic-uk.com/HistoryMagazine/DestinationsUK/The-Ridgeway/
1•mellosouls•22m ago•0 comments

Google engineer charged with using inside information to win $1.2M on Polymarket

https://www.washingtonpost.com/technology/2026/05/27/google-employee-charged-with-insider-trading...
2•1vuio0pswjnm7•23m ago•0 comments

TopRec (toprec.io) – AI screening and CRM for recruiters and hiring teams

https://toprec.io
1•girish-fokusly•28m ago•0 comments

The fog is alive: bacteria in fog droplets clear toxins from air

https://news.asu.edu/20260514-environment-and-sustainability-fog-alive-researchers-discover-bacte...
2•XzetaU8•32m ago•0 comments

Rust Will Save Linux from AI, Says Greg Kroah-Hartman

https://www.zdnet.com/article/rust-will-save-linux-from-ai-says-greg-kroah-hartman/
2•signa11•33m ago•0 comments

Amazon to Acquire Apple's Globalstar Stake in Satellite Deal

https://www.macrumors.com/2026/05/27/amazon-apple-globalstar-deal/
1•mgh2•33m ago•0 comments

Ebola exposed Americans blocked from US return

https://arstechnica.com/health/2026/05/us-walls-itself-off-from-ebola-beefed-up-travel-ban-no-cit...
1•M_bara•40m ago•1 comments

AI Is Starting to Hit Power Grid Limits Simple, Crédible, Ouvre La Discussion

https://nypost.com/2026/05/22/business/data-center-debacle-roiling-midterms-as-ai-may-have-to-pay/
3•latentframe•41m ago•0 comments

The Orchestration Tax

https://twitter.com/addyosmani/status/2059844244907696186
1•pretext•42m ago•0 comments

Amiga Networking FAQ (1994)

https://groups.google.com/g/comp.answers/c/Yfa-YSE_7H8/m/-TqlJ2sfg28J
2•doener•45m ago•0 comments

KA9Q

https://en.wikipedia.org/wiki/KA9Q
2•doener•47m ago•1 comments

Durable links between everything you work on

https://www.mjanssen.nl/linkano/index.html
1•marc0janssen•47m ago•0 comments

OpenPowerlifting – creating a public-domain archive of powerlifting history

https://www.openpowerlifting.org/
2•andre9317•48m ago•0 comments

Archive-It – Built at Archive.org

https://archive-it.org/
2•gurjeet•58m 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