frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Number Uno Repository of the Day Starlark

https://github.com/flisk-sh/flisk
1•alexdykyi•2m ago•0 comments

Automattic begins layoffs following board upheaval and executive departures

https://techcrunch.com/2026/10/21/automattic-begins-layoffs-following-board-upheaval-and-executiv...
2•ValentineC•5m ago•0 comments

AWS rates PHP RCE as Important so Amazon Linux 2023 patch may take 20 days

https://github.com/amazonlinux/amazon-linux-2023/issues/1148
3•hayd•6m ago•1 comments

Design with an Elephant. Review with a Goldfish

https://egm.dev/
1•mfrw•6m ago•0 comments

UK government accepts 27 new "antisemitism" recommendations

https://twitter.com/PolitlcsUK/status/2112923461664260180
1•newspaper1•8m ago•0 comments

Show HN: I made anagrams slightly challenging

https://www.quizingo.app/anagrams
1•coder97•9m ago•0 comments

CleanFrame: A quieter home screen for Samsung The Frame

https://github.com/nthnclrk/CleanFrame
1•ingve•10m ago•0 comments

Android testers wanted: help us unlock Vardum on Google Play

https://tryvardum.app/
1•veil-im•11m ago•1 comments

Bugra Akdemir on the XERJ Corpus Hub

https://hub.xerj.org/contributors/BugraAkdemir
1•bugraakdemir37•12m ago•0 comments

She Was the DEA's Premier Crypto Detective

https://www.wired.com/story/the-deas-premier-crypto-detective-clues-led-straight-to-her-own-family/
1•Anon84•14m ago•0 comments

Model winter sunlight and shadows on any Oregon property using Lidar

https://www.oregonelevationtools.com
1•dango2506•17m ago•1 comments

Is Wikipedia the 'Last Best Place on the Internet'?

https://www.nytimes.com/2026/10/21/books/review/the-last-best-place-on-the-internet-richard-cooke...
1•cainxinth•18m ago•0 comments

Auracast – Your Own Radio Station Wherever You Are

https://www.bluetooth.com/auracast/
1•bookofjoe•18m ago•0 comments

Show HN: A shared 3D Zoo in the browser where everyone sees the same animals

https://zooki.world
3•kagen•20m ago•1 comments

PHP 7.4 backport packages for older Ubuntu / Debian distros

https://github.com/Niek/php7
2•NiekvdMaas•23m ago•0 comments

Tesla posts surprise positive cash flow on lower-than-expected AI spending

https://www.reuters.com/business/media-telecom/tesla-revenue-beats-estimates-deliveries-rebound-e...
4•baal80spam•26m ago•0 comments

Show HN: I built an app to stop doomscrolling while waiting for Codex to finish

https://www.lightscroll.app/
1•juanferreras•26m ago•0 comments

Brain v2 – A minimal and extensible agent server for building agent applications

https://github.com/aexhq/brain
1•weilueluo•29m ago•0 comments

AI Is Anti-Punk

https://www.techdirt.com/2026/10/21/ai-is-anti-punk/
2•cdrnsf•30m ago•0 comments

How Witten Used Quantum Field Theory to Understand Knots

https://curtjaimungal.substack.com/p/how-witten-used-quantum-field-theory-105
1•paulpauper•31m ago•0 comments

France's OVHcloud plans frontier AI models to become Europe's second LLM player

https://www.reuters.com/world/asia-pacific/frances-ovhcloud-plans-frontier-ai-models-become-europ...
3•maelito•31m ago•0 comments

Faster, smaller Bloom filters in Parquet

https://pydantic.dev/articles/bloom-filter-folding-parquet-logfire
1•gazpacho•32m ago•0 comments

AMA – "Final Fantasy: The Spirits Within", milestone in CGI, is 25 years old

4•kaveh808•32m ago•2 comments

Show HN: Overdesigned Simple Solitaire

https://defaultsolitaire.app/
2•fsloth•33m ago•0 comments

Krillion Solver TUI

https://github.com/owenHochwald/krillion-solver
1•owenHochwald•33m ago•0 comments

Show HN: MCP for Dubbing Video and Audio Files from ChatGPT, by Kapwing

https://chatgpt.com/plugins/kapwing
1•jenthoven•37m ago•0 comments

I built a neural network using DOOM games

https://github.com/mottopanikeiku/doomformer
2•falperc•38m ago•0 comments

Clinical and genetic correlates of a circadian subtype of depression in study

https://www.cambridge.org/core/journals/the-british-journal-of-psychiatry/article/clinical-and-ge...
1•richardboegli•39m ago•0 comments

Skills Are Software

https://jm.sv/skills-are-software
1•handfuloflight•40m ago•0 comments

"Certificate Expired " Now What?

https://www.buoyant.io/blog/certificate-expired-now-what
1•PagCatOli•42m 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