frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The largest privately owned laser just turned on

https://techcrunch.com/2026/06/03/the-worlds-largest-privately-owned-laser-just-turned-on/
1•Brajeshwar•59s ago•0 comments

Google will allow websites to exclude themselves from AI search results

https://www.engadget.com/2186257/google-will-allow-websites-to-exclude-themselves-from-ai-search-...
1•thm•2m ago•0 comments

Show HN: DAGraph – reactive analytics graph in the browser (Rust/WASM)

https://dagraph.com
1•notfirstpost•2m ago•1 comments

Shopify Is Down

https://www.shopifystatus.com
2•harrouet•2m ago•1 comments

Scripps Novel HIV Vaccine 97% Effective in Phase 1 Human Trials

https://www.scripps.edu/news-and-events/press-room/2021/20210203-hiv-vaccine.html
1•dan-bailey•3m ago•0 comments

Show HN: Uno – Us vs. Them. Humans vs. AI version of the card game

https://usvsthem.com
1•mitchm•4m ago•0 comments

Europe unveils tech sovereignty package amid concerns over reliance on U.S. tech

https://www.cnbc.com/2026/06/03/europe-tech-sovereignty-us-tech-reliance.html
2•root-parent•4m ago•0 comments

Ceiling projection of SFO flight paths

https://old.reddit.com/r/aviation/comments/1tvabpy/i_live_in_the_take_off_path_of_sfo_and_built_a/
1•itunpredictable•5m ago•0 comments

Show HN: GreenKube – Open-source K8s cost and CO2 optimization engine

https://github.com/GreenKubeCloud/GreenKube
1•hugolelievre•6m ago•0 comments

Generations of AI applications: conversational, delegative, and collaborative

https://zknill.io/posts/generations-of-ai-applications/
1•zknill•6m ago•0 comments

Show HN: Conversations as a first class citizen in AI coding agent

https://github.com/kirby88/vix
1•kirby88•7m ago•0 comments

Get paid by Agents if they choose a competitor – Safe Agentic Commerce x402 Mesh

https://github.com/StartupHub-AI/x402-mesh
1•startuphubai•8m ago•0 comments

NASA Drains 66 Million Gallon Reservoir to Upgrade Critical Water System

https://www.nasa.gov/centers-and-facilities/stennis/reservoir-drained-to-upgrade-water-system/
1•berlianta•8m ago•0 comments

Major Outage at Modal

https://status.modal.com/incident/911995
2•josefchen•9m ago•0 comments

REST3D: Reconstructing Physically Stable 3D Scenes from a Single Image

https://shirleymaxx.github.io/REST3D/
1•ibobev•9m ago•0 comments

Mexican Receipts

1•pedrosantiago•10m ago•1 comments

Modal Major Outage

https://status.modal.com/
3•hunkins•10m ago•1 comments

X402 Batch Settlement: High-Velocity Agentic Commerce

https://www.x402.org/writing/x402-batch-settlement
3•alexreysa•10m ago•0 comments

Implicit Surface Rendering for CAD

https://www.farfa.dev/blog/is-rendering/
1•ibobev•10m ago•0 comments

Why does ASTC use ISE when almost nothing else does?

https://fgiesen.wordpress.com/2026/05/29/why-does-astc-use-ise-when-almost-nothing-else-does/
1•ibobev•10m ago•0 comments

Show HN: Instant DBML Schema to Database Diagram PNG Tool

https://vibe-schema.com/dbml-to-png
1•SsgMshdPotatoes•10m ago•1 comments

Shopify Storefronts Are Down

https://www.shopifystatus.com/incidents/gbqcx5fk01gz
4•cjbconnor•11m ago•0 comments

Strapkit – Node.js Compiled to WASM

https://strapkit.dev/
1•michaelkrem•11m ago•0 comments

St Petersburg Burns as Drones Hit Oil Terminal During Russias Economic Showcase

https://united24media.com/war-in-ukraine/st-petersburg-burns-as-ukrainian-drones-hit-major-oil-te...
1•vrganj•12m ago•0 comments

Uber Caps Usage of AI Tools to Manage Costs

https://www.bloomberg.com/news/articles/2026-06-02/uber-caps-usage-of-ai-tools-like-claude-code-t...
1•pchristensen•12m ago•0 comments

Jam – Programming Language (C-like, safe, no lifetime syntax)

https://rapha.land/jam-programming-language/
2•redbar0n•13m ago•1 comments

Virtual reality for treating anxiety disorders

https://www.sciencedirect.com/science/article/pii/S1876139925001653
1•mantesso•13m ago•0 comments

Show HN: Lint Your Markdown with ESLint

https://github.com/lumirlumir/npm-eslint-markdown
1•beenzinozino•15m ago•0 comments

A weekend benchmarking Copilot CLI's /security-review across 5 LLMs

https://dcairo.substack.com/p/i-spent-a-weekend-benchmarking-githubs
1•avocount•15m ago•0 comments

Aura: Action-Gated Memory for Robot Policies at Constant VRAM

https://arxiv.org/abs/2606.02775
1•josefchen•16m 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