frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Mozilla Introduces Thunderbolt: Enterprise AI You Control

https://www.thunderbolt.io/announcing-thunderbolt
1•babolivier•4m ago•0 comments

Tell me an alternative of Claude for writing/strategy generation

2•Areena_28•5m ago•0 comments

Julia: DistributedArrays

https://juliaparallel.org/DistributedArrays.jl/stable/
1•tosh•7m ago•0 comments

Can AI agents autonomously design components on photonic chips?

https://engineering.flexcompute.com/articles/autoresearch-photonic-design/
1•yaugenst-flex•10m ago•0 comments

Chinese carmaker patents voice-controlled 'in-vehicle toilet'

https://www.bbc.com/news/articles/c1l92yv4mydo
1•1659447091•14m ago•0 comments

The rise of malicious repositories on GitHub

https://rushter.com/blog/github-malware/
2•prakashqwerty•16m ago•0 comments

Fret is a GPU-first Rust UI framework

https://github.com/Latias94/fret
1•sagacity•16m ago•1 comments

FIM – Linux framebuffer image viewer

https://www.nongnu.org/fbi-improved/
1•Mr_Minderbinder•19m ago•0 comments

Show HN: I built a Twitch social network

https://chattr.online/login
1•michaelbrooks•20m ago•1 comments

Show HN: Real-time aviation Pirep dashboard built on Cloudflare Workers and D1

https://github.com/Jay9185/PIREP
1•jerr9185•22m ago•0 comments

Simplifying Two Millennium Prize Problems

https://metamagic.substack.com/p/simplifying-two-millennium-prize
1•r0ze-at-hn•24m ago•0 comments

AI images are being used in insurance scams

https://www.bbc.com/news/articles/cm2rr9pg4jzo
1•1659447091•29m ago•0 comments

Prism License Framework (a modular license generator)

1•Scientific_AJ•32m ago•0 comments

Rust Maintainer Fund

https://nlnet.nl/maintainers/rust/
1•pabs3•32m ago•0 comments

Netflix Cofounder Reed Hastings Is Leaving the Company

https://www.businessinsider.com/netflix-cofounder-reed-hastings-is-leaving-the-company-sarandos-p...
2•doppp•34m ago•0 comments

Prism License Framework (a modular license generator)

https://www.google.com/search?q=https://github.com/ScientificAJ/prism-license-framework
1•Scientific_AJ•34m ago•0 comments

Show HN: Viche – OSS private registry for agent communication

https://github.com/viche-ai/viche
1•nanojoel•35m ago•0 comments

Approve agents and track progress while you're on the go

https://github.com/grainulation/farmer
3•woptober•37m ago•0 comments

Treating enterprise AI as an operating layer

https://www.technologyreview.com/2026/04/16/1135554/treating-enterprise-ai-as-an-operating-layer/
1•joozio•38m ago•0 comments

Show HN: CrossTrack – Cross-platform identity resolution as a service

2•jamespeng•41m ago•0 comments

Ask HN: What are the machine requirements for a LLM like Llama-3.1-8B?

2•wasimsk•45m ago•1 comments

Reed Hastings to step down from Netflix board

https://www.theguardian.com/media/2026/apr/16/netflix-chair-reed-hastings
2•abawany•45m ago•0 comments

Single Stage Rocket Technology (SSRT) Delta Clipper Experimental (DC-X)(1993) [video]

https://www.youtube.com/watch?v=J6ZyDSmC-d0
1•o4c•49m ago•0 comments

Engram – context spine for AI coding agents, 88% proven token savings

https://github.com/NickCirv/engram
1•NickCirv•49m ago•0 comments

Deleteduser.com – A $15 PII Magnet

https://mike-sheward.medium.com/deleteduser-com-a-15-pii-magnet-c4396eb21061
2•p4bl0•54m ago•2 comments

MongoDB Compass Alternative

https://visualeaf.com/blog/visualeaf-as-mongodb-compass-alternative/
3•RoxiHaidi•56m ago•0 comments

I'm tired about hearing about AI startups

2•geuis•1h ago•3 comments

Observational constraints project a ~50% AMOC weakening by end of this century

https://www.science.org/doi/10.1126/sciadv.adx4298#sec-3
2•Kaibeezy•1h ago•1 comments

Drivers sue San Jose over nearly 500 police cameras used to track drivers

https://www.nbcnews.com/tech/tech-news/san-jose-drivers-sue-city-police-flock-cameras-rcna331750
4•blessedwhiskers•1h ago•0 comments

IETF: Meow

https://www.ietf.org/archive/id/draft-meow-mrrp-00.html
4•michaelsshaw•1h ago•1 comments
Open in hackernews

Ask HN: Any good tools to pgdump multi tenant database?

3•polishdude20•11mo 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•11mo 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•11mo 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•10mo 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•11mo 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•11mo ago
Oh yes I agree with you. It may become a big push to convince my org to do that