frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A New Complexity Theory for the Quantum Age

https://www.quantamagazine.org/a-new-complexity-theory-for-the-quantum-age-20260217/
1•nsoonhui•46s ago•0 comments

Show HN: NexTerminal – A Unified SSH/Serial Manager for VS Code

https://github.com/evdanil/vscode-NexTerminal
1•sentriflow•46s ago•0 comments

We help gardeners get free wood chip mulch deliveries

https://getchipdrop.com/
1•mooreds•1m ago•0 comments

Show HN: Browse2API – Turn any website into an API

https://www.browse2api.com/
1•AdityaKasaudhan•2m ago•0 comments

Deploying physical AI at scale: Key insights from our panel discussion

https://www.viam.com/post/physical-ai-panel-discussion
1•mooreds•2m ago•0 comments

Show HN: Organic Programming – A .proto is all you need

https://github.com/organic-programming/seed
1•bpds•3m ago•0 comments

Apache Iggy's migration journey to thread-per-core design powered by io_uring

https://iggy.apache.org/blogs/2026/02/27/thread-per-core-io_uring/
1•spetz•4m ago•0 comments

Show HN: LokulMem – Local-first memory management for browser LLMs

https://github.com/Pouryaak/LokulMem
1•Pouryaak•5m ago•1 comments

Show HN: OpportuAI – remote jobs, AI tools and digital products aggregator

https://opportunai.vercel.app
1•sakibulefty•5m ago•0 comments

Show HN: RetroTick – Run classic Windows EXEs in the browser

https://retrotick.com/
1•lqs_•5m ago•0 comments

Generative AI Use and Depressive Symptoms Among US Adults

https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2844128
1•pseudolus•9m ago•0 comments

Show HN: A Spatial Alternative to Timeline-Based Digital Memory

https://honoramma.com
1•pavel_man•10m ago•1 comments

The error handling bugs that worry me aren't the ones that crash

https://old.reddit.com/r/golang/comments/1rg5zo7/the_error_handling_bugs_that_worry_me_arent_the/
1•eik•11m ago•0 comments

Pallas Puzzles

https://github.com/vorushin/pallas_puzzles
1•burakabo•11m ago•0 comments

Show HN: Sugar – A task queue that lets AI coding agents work autonomously

https://github.com/roboticforce/sugar
1•cdnsteve•11m ago•0 comments

Chat Control is in the final stretch – but it could be a marathon, not a sprint

https://edri.org/our-work/chat-control-is-in-the-final-stretch-but-it-could-be-a-marathon-not-a-s...
1•nickslaughter02•12m ago•0 comments

Show HN: Globs – a daily puzzle about finding the hidden connections

https://threeemojis.com/en-US/play/globs/en-US/2026-02-27?size=big
1•knuckleheads•13m ago•0 comments

Iinit7: Bits and Bites #15

https://init7.friendlyautomate.ch/email/preview/377
1•sschueller•13m ago•0 comments

Jack Dorsey lays off 4k, says others will do same 'within the next year'

https://www.sfgate.com/tech/article/jack-dorsey-block-layoffs-21944033.php
1•taubek•13m ago•0 comments

How I Caught a Spy Using Her Cat (Bellingcat) [video]

https://www.youtube.com/watch?v=xjo0iLssbI8
1•Cloudly•14m ago•0 comments

How do you catch schema drift and security gaps in Firestore?

1•Madia120•15m ago•0 comments

McNamara Fallacy

https://en.wikipedia.org/wiki/McNamara_fallacy
1•meken•15m ago•0 comments

iOS and iPadOS 26 with Indigo Configuration

https://www.ia.nato.int/niapc/Product/iOS-and-iPadOS-26-with-Indigo-configuration_968
1•taubek•15m ago•0 comments

Show HN: PokeInvasion – Wild Pokémon appear on every website

https://github.com/IvanR3D/pokeinvasion_chrome-extension
1•IvanR3D•16m ago•1 comments

Hetzner Price Increase

https://www.hetzner.com/pressroom/statement-price-adjustment/
1•talboren•17m ago•0 comments

Who Believes in Vibe-Coding?

https://medium.com/ai-in-plain-english/who-believes-in-vibe-coding-1796fdd27b43
1•birdculture•18m ago•0 comments

Show HN: TAS – Tracking, Automation, and Skills for Claude Code

https://github.com/Voxos-ai-Inc/tas
1•Falimonda•19m ago•0 comments

Claude.ai Is Down

https://claude.ai/#
5•fagnerbrack•19m ago•5 comments

Viewert – AI User's Absolute Must Have

https://www.viewert.com
1•Sunrostern•22m ago•0 comments

Show HN: OSS Go client for signed agent-to-agent messaging in the ClaWeb network

https://github.com/awebai/aw
1•juanre•23m ago•0 comments
Open in hackernews

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

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