frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Mcptunnels – ngrok for MCP with basic OAuth

https://terragohan.github.io/mcptunnels/
2•helpprotactiniu•1m ago•0 comments

Freedom vs. Control

https://blog.lewman.com/freedom-vs-control.html
1•jruohonen•1m ago•0 comments

Expanding Censorship in Public Libraries

https://pen.org/report/out-of-circulation/
1•willmarch•2m ago•0 comments

Crab: A serverless Git remote for large files, backed by your object store

https://github.com/crabbuild/crab
2•forhappy•2m ago•0 comments

Ford government to begin ripping out, reconfiguring Toronto bike lanes

https://www.cbc.ca/news/canada/toronto/ford-government-toronto-bike-lanes-9.7327751
1•debo_•2m ago•0 comments

Dwarf Fortress creator: industry in shambles over AI and layoffs

1•01-_-•3m ago•0 comments

Show HN: Vedic astrology from your Vedic birth chart

https://vedicastrology.com
1•wowinter15•4m ago•0 comments

Ask HN: Why Doesn't an OSS Developer Union Exist?

1•smashah•4m ago•0 comments

DaemonCore Academy – 127 free cybersecurity lessons and disposable Docker ranges

https://academy.daemoncore.app
1•DaemonCoreApp•5m ago•0 comments

Hang on to Your Firefox

https://www.newsonaut.com/articles/hang-on-to-your-firefox
1•speckx•5m ago•0 comments

Mold linker will be rewritten in Rust

https://twitter.com/rui314/status/2094677980857680052
1•adamnemecek•5m ago•0 comments

Fable 5.1 Solves the Cyphral Distich

https://www.vals.ai/blogs/fable-solves-cyphral-distich
1•bashtoni•8m ago•0 comments

Zero of 773 FIPS 140-3 certificates are validated at Level 4

https://808bits.com/articles/fips-140-3-levels-explained/
1•meehow•8m ago•0 comments

Atlas Brain Wearable Pre-Order

https://atlasmankind.com/press/atlas-launches-preorders/
2•hasheddan•9m ago•0 comments

Introducing Blue Continuum

https://www.bluecontinuummag.com
1•dnetesn•9m ago•0 comments

The Age of the Micro-Entreprenuer

https://arjunrakesh.substack.com/p/the-age-of-the-micro-entrepreneur
1•arjunrko•10m ago•0 comments

Explore real AI risks through the lens of pop culture

https://cultural-alignment.com
2•transitivebs•10m ago•1 comments

Bioluminescence and Living Earth

https://worldsensorium.com/bioluminescence-and-living-earth/
1•dnetesn•11m ago•0 comments

The Harness, the Horse, or the Hay

https://queener.substack.com/p/the-harness-the-horse-or-the-hay
2•mithr•14m ago•0 comments

Topologist's Map of the World

https://www.futilitycloset.com/2026/09/01/small-world-20/
2•beardyw•14m ago•0 comments

OpenAI: Path to Astra: critical capabilities and frontier safeguards

https://openai.com/index/path-to-astra/
3•jithinraj•15m ago•0 comments

Apple reveals 'shocking evidence' from ex-employee's MacBook in OpenAI suit

https://9to5mac.com/2026/08/31/apple-openai-forensic-macbook-evidence/
5•colinprince•16m ago•0 comments

V2Kit: A Lightweight Toolkit for V2Ray Config Manipulation

https://pypi.org/project/v2kit/
1•rankorn•17m ago•0 comments

Show HN: Indextkn – live list prices for 900 AI models in one API

https://indextkn.com
1•lellow•18m ago•0 comments

ARC-AGI Without Pretraining (2025)

https://iliao2345.github.io/blog_posts/arc_agi_without_pretraining/arc_agi_without_pretraining.html
1•newsuser•19m ago•0 comments

New system views in PostgreSQL 19

https://clickhouse.com/blog/postgres-19-new-system-views
1•samaysharma•19m ago•0 comments

Dev-sandbox – One bash script to isolate AI coding agents with Podman

https://github.com/kosmrljt/dev-sandbox
2•tomazko•19m ago•0 comments

Cerebras's Next Generation CS-4: Fast Just Got Faster

https://newsletter.semianalysis.com/p/cerebrass-next-generation-cs-4-fast
1•rbanffy•22m ago•0 comments

The Systematic Removal of Security in Consumer Operating Systems

https://sk500.online/tech/the-systematic-removal-of-security-in-consumer-operating-systems/
4•airhangerf15•22m ago•1 comments

Dyson CameraJet electric toothbrush with precision-flosser [video]

https://www.youtube.com/watch?v=tF2piG0N5gg
1•samaysharma•25m 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