frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

3nm Chips Don't Have 3nm Features

https://shivekkhurana.com/blog/3nm-chips-dont-have-3nm-features/
1•shivekkhurana•40s ago•0 comments

CSS boilerplate: A default CSS structure for projects of any size

https://fokus.dev/tools/css-boilerplate/
1•eustoria•48s ago•0 comments

Drop the WWW Prefix

https://detail.design/detail/drop-the-www-prefix
1•eustoria•1m ago•0 comments

Family deepfakes help people celebrate and grieve in India

https://restofworld.org/2026/ai-deepfakes-grief-celebrations-india/
1•Brajeshwar•2m ago•0 comments

An AI coding bot took down Amazon Web Services

https://arstechnica.com/ai/2026/02/an-ai-coding-bot-took-down-amazon-web-services/
1•saghm•2m ago•0 comments

Thoughts on Standardizing Languages

https://daoudclarke.net/2026/02/20/thoughts-on-standardizing-languages
1•daoudc•4m ago•0 comments

AWS suffered 'at least two outages' caused by AI tools, and now I'm convinced

https://www.tomsguide.com/computing/aws-suffered-at-least-two-outages-caused-by-ai-tools-and-now-...
1•blenderob•4m ago•0 comments

Passagemath: A pip-installable modularized fork of SageMath

https://github.com/passagemath/passagemath
1•GalaxySnail•6m ago•0 comments

My hologram counter to count Fourier, Hilbert and exponentials

https://spireason.neocities.org/#sheep
1•tvali•6m ago•1 comments

Running Obsidian on a Headless Server

https://rup12.net/posts/running-obsidian-headless/
1•ruptwelve•6m ago•0 comments

Reverse engineering the Creative V2X soundbar to be able to control it on Linux

https://blog.nns.ee/2026/02/20/katana-v2x-re/
1•xx_ns•6m ago•0 comments

The C Iceberg [video]

https://www.youtube.com/watch?v=63zGtiv89bA
1•edward28•6m ago•0 comments

The US imported more from Taiwan than China for the first time in decades

https://www.taipeitimes.com/News/front/archives/2026/02/21/2003852631
1•giuliomagnifico•7m ago•0 comments

Show HN: Inkish – build SSH apps with React

https://github.com/cpendery/inkish
2•cpendery•7m ago•0 comments

The 7-Year Bug That Took 3 Minutes to Fix

https://agilitza.com/blog/the-7-year-bug-that-took-3-minutes-to-fix/
2•payala•8m ago•0 comments

A Minimal Verification Layer for Public Documents

https://ev424verify.com
1•lws9262•9m ago•1 comments

Show HN: Resilient RAP: A self-healing data pipeline with <20ms BERT inference

https://github.com/tarek-clarke/resilient-rap-framework
1•tarekclarke•11m ago•1 comments

WordPress 7.0 Beta 1

https://wordpress.org/news/2026/02/wordpress-7-0-beta-1/
2•pentagrama•12m ago•0 comments

Show HN: ForceVue

https://waitlist.forcevue.com/
1•slewisbennett•12m ago•0 comments

Reducing IO Wait and Pooling Issues: Our Supabase to PlanetScale Migration

https://vitalize.care/blog/from-supabase-to-planetscale
2•nikhiljay7•13m ago•0 comments

Show HN: Prothon – docs-first Python project generator for AI development

https://www.prothon.dev/
1•jackedney•14m ago•0 comments

Who Stole Your Cookie?

https://gomakethings.com/who-stole-your-cookie/
1•surprisetalk•14m ago•0 comments

Si Base Units and Constants

https://taylor.town/base-units
1•surprisetalk•14m ago•0 comments

Mental Health Care and Its Impacts

https://www.aeaweb.org/conference/2026/program/1269?q=eNqrVipOLS7OzM8LqSxIVbKqhnGVrAxrawGlCArI
1•surprisetalk•15m ago•0 comments

Gen Z's College Radio Revival

https://emwhitenoise.substack.com/p/gen-zs-college-radio-revival
2•surprisetalk•15m ago•0 comments

A Perforated Corporate Veil

https://pluralistic.net/2026/02/20/karioca-konzernrecht/
1•hn_acker•16m ago•0 comments

One decade with a Linux phone – Jolla SailfishOS [video]

https://www.youtube.com/watch?v=6pMfezSulhw
1•mrbn100ful•17m ago•0 comments

What Do Puppies Know?

https://www.harvardmagazine.com/research/harvard-service-dogs-learning-socialization-cognition
3•nadis•17m ago•0 comments

Climate Physicists Face the Ghosts in Their Machines: Clouds

https://www.quantamagazine.org/climate-physicists-face-the-ghosts-in-their-machines-clouds-20260220/
2•jandrewrogers•17m ago•0 comments

Smart pocketwatch made with custom UI in Arduino. Inspired by The Diamond Age

https://old.reddit.com/r/arduino/comments/1r6krfi/smart_pocketwatch_i_made_with_custom_ui_in_ardu...
1•speckx•18m 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