frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

LatentPort: Cross-model recurrent state transfer without prefix replay

https://arxiv.org/abs/2609.25053
1•mmprotest•3m ago•0 comments

Stanford violated AI policy after race-swapping students in ad

https://www.sfchronicle.com/bayarea/article/stanford-ai-policy-student-photo-race-swapping-224441...
1•absqueued•6m ago•0 comments

Post-Training Post-Morten: Tenet / Harvey

https://newpriors.substack.com/p/post-training-post-mortem-tenet-by
1•tanmayc98•6m ago•0 comments

UK shares findings of damning climate crisis national security report

https://www.theguardian.com/environment/2026/sep/23/uk-climate-crisis-national-security-report-su...
1•littlexsparkee•10m ago•0 comments

Tiny C Compiler with POSIX superpowers

https://github.com/Muras69/TCCygwin
1•Muras•12m ago•1 comments

The Majority of Actors Are Struggling

https://www.pajiba.com/film_reviews/jack-havens-plea-for-work-reminds-us-that-the-majority-of-act...
1•mathgenius•12m ago•0 comments

Fire in the brain: How psychosis may arise when the body attacks itself

https://knowablemagazine.org/content/article/mind/2026/new-research-on-autoimmune-causes-of-psych...
1•knowablemag•18m ago•0 comments

We've Turned Starlink into a Planetary Barometer

https://www.spaceweather.com/starlink/starlink_drag_explainer.html
1•NKosmatos•19m ago•0 comments

One setup, every AI CLI with agnostic-AI

https://agnostic-ai.org/
1•Chemaclass•19m ago•1 comments

Why did Google declare war on HTTP? (2016)

https://wp.josh.com/2016/04/01/googles-war-on-http/
1•1vuio0pswjnm7•24m ago•1 comments

Show HN: NetHackers

https://nethackers.dunnolab.ai/
1•vokneruk•25m ago•1 comments

Sidehoe – Your Roster. Handled

https://www.sidehoe.chat/
1•sergiotapia•28m ago•1 comments

That About Wraps It Up for Stock Mac UI

https://inessential.com/2026/09/22/that-about-wraps-it-up-for.html
2•birdculture•28m ago•0 comments

Meta Connect 2026

https://www.meta.com/en-gb/connect/#watch
1•pelcg•28m ago•0 comments

I tried using Jev for judgment based guardrails

https://github.com/deepansh-saxena/jev-guardrails
1•deepanshsaxena•28m ago•0 comments

Why Don't My Agents Break Containment?

https://harper.blog/2026/09/22/break-away/
1•pongogogo•29m ago•0 comments

Show HN: Recipe Card Creator

https://www.sunnyshorescreative.com/recipe-card-creator
1•bobblywobbles•30m ago•0 comments

Show HN: Hosted JayBase – An append-only data store for safe AI agent writes

https://jaybase.ai
1•kvisner•30m ago•0 comments

Trump Invites Putin to G20 in Miami, Rubio Says

https://www.politico.com/news/2026/09/23/trump-putin-g20-miami-01089850
3•_djo_•32m ago•0 comments

Critical GitLab Auth RCE via Double-Free in Regex Parser

https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-1-released/
1•pelcg•32m ago•0 comments

Ursa: A storage engine that implements Lakestream

https://github.com/openlakestream/ursa
3•jinqueeny•35m ago•0 comments

Show HN: Make cursed fonts like Times New Bastard

https://bastardica.mitpit.com
1•MitPitt•36m ago•0 comments

I made a social media site

1•saqaliba•36m ago•0 comments

Show HN: The Mouse Is Coming Too – Easy Switch for Legacy Logitech Devices

https://github.com/ensoenso/the-mouse-is-coming-too
1•evek•36m ago•0 comments

Show HN: PromptSpend – LLM API prices re-checked daily, with source per price

https://promptspend.com/
1•AndrewAvery7•40m ago•1 comments

Do Our Emotions Have a Culture?

https://booksandideas.net/Do-Our-Emotions-Have-a-Culture
1•rdmuser•41m ago•0 comments

ArXiv receives multiyear commitments to support it as an independent nonprofit

https://blog.arxiv.org/2026/09/23/arxiv-receives-multiyear-investment/
5•JohnHammersley•44m ago•0 comments

ASML currently sells no chipmaking machines in Europe, executive says

https://nltimes.nl/2026/09/22/asml-currently-sells-chipmaking-machines-europe-executive-says
8•doener•47m ago•1 comments

AI leaders warn UN of security risks as systems grow more powerful

https://www.reuters.com/business/ai-leaders-brief-un-amid-warnings-technology-could-slip-beyond-h...
1•layer8•48m ago•0 comments

In-Process MCP for MySQL

https://villagesql.com/blog/mcp/
1•deesix•48m ago•1 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