frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

What I Learned Using AI When My Brother Got Sick

https://www.getmakingthings.com/thoughts/ai-and-health/
1•mrburton•40s ago•0 comments

Duffy Probing Possible L3Harris 'Incompetence' in FAA Meltdown

https://finance.yahoo.com/technology/articles/duffy-probing-possible-l3harris-incompetence-172422...
1•BiraIgnacio•2m ago•1 comments

Gus (Penguin)

https://en.wikipedia.org/wiki/Gus_(penguin)
1•thunderbong•2m ago•0 comments

Nuremberg – Official Trailer

https://twitter.com/tupacabra/status/2121357879341166683
1•atlacatl_sv•2m ago•0 comments

Get Paid For Bugs in 475 Open Source Projects

https://sorona.xyz/
1•svenfaw•3m ago•0 comments

Hiroshima (1946)

https://www.newyorker.com/magazine/1946/08/31/hiroshima
1•cocacola1•13m ago•0 comments

Ukraine's Starshield Access Is Being Restricted Again

https://www.nytimes.com/2026/11/14/world/europe/ukraine-starshield-zelensky.html
2•donohoe•13m ago•0 comments

ChatGPT Wallet

https://openai.com/fr-FR/index/introducing-chatgpt-wallet/
1•alFReD-NSH•18m ago•0 comments

Dissecting Spring petclinic (Part 1)

https://hannomalie.github.io/posts/dissecting-spring-petclinic-blackbox-tests.html
1•ejboy•21m ago•0 comments

Show HN: For Tesla owners – a whole bunch of stats from your vehicle's telemetry

https://teslameter.teramips.com/v/demo-model-3
1•bugpower•22m ago•1 comments

Show HN: RedHands – MCP for multi-stage offensive security tools

https://github.com/yasindce1998/redhands
1•yasindce1998•22m ago•0 comments

Beating the Frontier on NetHack

https://antithesis.com/blog/2026/nethack/
1•n_u•23m ago•0 comments

RISC-V assembly course – ASM Editor

https://asm-editor.specy.app/learn/courses/risc-v
1•gurjeet•23m ago•0 comments

Building an Agentic Loop in Temporal

https://cadenya.com/handwritten/agentic-loop-in-temporal
2•btables•28m ago•0 comments

Blindsight

https://en.wikipedia.org/wiki/Blindsight
2•bryanrasmussen•30m ago•1 comments

I built an arcade plugin within ChatGPT

https://chatgpt.com/plugins/plugin_asdk_app_6ae4d461a6d081919bef5e8d8c6516ff
1•Waseemkhalo•36m ago•1 comments

Herdr for iPhone, iPad and Android

https://herdr.dev/mobile/
1•Fabricio20•37m ago•0 comments

We tested eight new decision models. None got more right than the one we use

https://plainlamp.com/blog/new-decision-models
1•ch0I9daAiO•38m ago•0 comments

df-script – 43kB zero-dependency DataFrame engine for TypeScript and JavaScript

https://df-script.js.org/
1•trentmorristx•38m ago•0 comments

Tensor Seeks Layout: Formalizing Layout Selection for ML Compilers

https://arxiv.org/abs/2608.21555
1•matt_d•39m ago•0 comments

AI Company Employees Should Unionize

https://www.astralcodexten.com/p/ai-company-employees-should-unionize
5•JimmyBuckets•40m ago•1 comments

Building a Ethernet Switch ASIC chip

https://essenceia.github.io/projects/expresso/
1•random__duck•43m ago•1 comments

San Francisco weighs limits on self-checkout stations

https://abc7news.com/post/san-francisco-weighs-limits-checkout-stations/19990668/
2•mikhael•43m ago•1 comments

Show HN: Loft – offline Q&A over your local files, with citations (llama.cpp)

https://github.com/nwaoga/loft
1•nwaoga•45m ago•0 comments

WhatWeRun, a database of real production AI agent stacks

https://whatwerun.dev
1•jackjackstudios•45m ago•0 comments

Films, shows, and games to grow up with

https://www.satmornings.com
1•vldx•47m ago•0 comments

Wojak-Bench 3D: Which AI is best at 3D printing?

https://wojak-bench.dev.pion.dev/
1•lukaspetersson•54m ago•0 comments

Rows vs. Columns: How different are they, really?

https://spiraldb.com/blog/rows-vs-columns
2•skadamat•56m ago•0 comments

Show HN: Radiotherapy Delivery Demo Written in Rust and WebAssembly

https://tps.neuralrad.com
2•coolwulf•57m ago•1 comments

October Outage: Technical Overview

https://www.revolut.com/blog/post/20octoutagetechnicaloverview/
2•un_montagnard•58m 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