frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Learn about Google's Project Suncatcher to put ML infrastructure in space

https://blog.google/innovation-and-ai/models-and-research/google-research/google-project-suncatch...
1•xnx•1m ago•0 comments

WalShadow: Replicating Postgres from Physical WAL

https://thebuild.com/blog/the-shadow-knows/
1•nightshade999•3m ago•0 comments

Bad bot traffic is growing 9 times faster than human web traffic

https://www.fastcompany.com/91611155/bad-bot-traffic-is-growing-9-times-faster-than-human-web-tra...
1•ent101•3m ago•0 comments

Our EU AI Act compliance engine has zero LLM calls, and CI blocks adding any

https://opencomplai.com/blog/no-llm-in-compliance-decisions
2•ythouma•3m ago•0 comments

Show HN: Secure and Private Decentralized Messaging over Git and WebRTC

https://glitr.io/docs/technical/roadmap/
1•Screen8774•3m ago•0 comments

Hard Stop: Out-of-band kernel preemption for rogue AI agents

https://github.com/joseluispino/hardstop
1•joseluispino•4m ago•0 comments

In Defence of the Solitary Practitioner and Self-Initiation

https://forbiddentexts.substack.com/p/in-defence-of-the-solitary-practitioner
1•PaulHoule•4m ago•0 comments

Flock, Axon dodge Senate hearing after invite from Chair Josh Hawley

https://www.cnbc.com/2026/09/23/flock-axon-senate-hearing-josh-hawley.html
1•mooreds•4m ago•0 comments

Apple Charging Guide

https://randsinrepose.com/archives/apple-charging-guide/
1•mooreds•5m ago•0 comments

Show HN: ComfyUI Extension for OpenRouter Models

https://github.com/stefanionescu/comfyui-openrouter
1•dr__stoney•5m ago•1 comments

Meta made a Tamagotchi-like wearable for its Muse AI agent

https://techcrunch.com/2026/09/23/meta-made-a-tamagotchi-like-wearable-for-its-muse-ai-agent/
1•wslh•6m ago•0 comments

Show HN: Kana – A terminal agent where the human stays in the loop

https://github.com/longyijdos/kana
1•longyijdos•6m ago•0 comments

I judged my mum for using AI, until I caught myself doing worse

https://www.0xsid.com/blog/intellectual-fitness
2•ssiddharth•7m ago•0 comments

Bugpocalypse, or reporting bugs in an AI age

https://www.qemu.org/2026/09/23/bugs/
1•stsquad•9m ago•1 comments

Scan for Good: Wiz and DeepMind use AI to help protect critical infrastructure

https://www.wiz.io/blog/scan-for-good-critical-ai-exposures
2•galnagli•9m ago•0 comments

Oracle sent 'force majeure' notice about data center project

https://www.cnbc.com/2026/09/24/oracle-data-center-force-majeure.html
3•cramer4next•10m ago•0 comments

KubeSolo – Ultra-lightweight, single-node Kubernetes from Portainer

https://kubesolo.io/
1•itherseed•10m ago•1 comments

Show HN: I built a Tooling gateway for Claude Code that manages Approvals for me

https://github.com/dommar04/ai-coding-gateway
1•apichap•11m ago•0 comments

Is A.I. Above the Law?

https://www.newyorker.com/magazine/2026/09/28/is-ai-above-the-law
2•pseudolus•12m ago•1 comments

Show HN: Agnetlearn; From first principles to reliable agents

https://agentlearn.dev/
1•init0•12m ago•0 comments

Fire breaks out at Starlink station in Poland, Russians suspected

https://www.pravda.com.ua/eng/news/2026/09/24/8054905/
1•uxhacker•13m ago•0 comments

The Group Chat Where World Leaders Are Racing to Create AI Controls

https://www.wsj.com/tech/ai/the-group-chat-where-world-leaders-are-racing-to-create-ai-controls-8...
1•thm•14m ago•0 comments

Two and a half years without a gallbladder

https://tracydurnell.com/2026/09/16/two-and-a-half-years-without-a-gallbladder/
1•surprisetalk•14m ago•0 comments

Trump's US no longer a reliable ally, warns Belgium in leaked document

https://www.ft.com/content/bec22e6b-1267-4d9f-a192-60763a0797c3
2•doener•15m ago•1 comments

RSI and the Beginning of History

https://www.avidfayaz.com/writings/rsi/rsi-and-the-beginning-of-history
1•Bluestein•15m ago•0 comments

Measure Distant Asteroids with a DIY Rig

https://spectrum.ieee.org/asteroid-shadow
1•sohkamyung•16m ago•0 comments

Show HN: Cbjev – typed decisions about text from one encoder pass

https://github.com/tomek7667/cbjev
1•tomek7667•16m ago•1 comments

She HN: Quick route, a simple single page route planning tool

https://theinstant.cc/route
1•Gshaheen•17m ago•0 comments

Jev Does Not Play Dice: 83% probability, 19% accuracy on a hidden fair die roll

https://kantahayashiai.github.io/posts/jev-does-not-play-dice/
1•kantahayashi•18m ago•2 comments

Amazon to Expand Robot-Making Capacity with New, $100M Indiana Hub

https://www.wsj.com/tech/amazon-to-expand-robot-making-capacity-with-new-100-million-indiana-hub-...
1•10xDev•19m 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