frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

New Simulation Found for Physics

https://pmad-sim.org/sim.html
1•mrbrown1125•1m ago•0 comments

Show HN: Building an LLM from Scratch in TypeScript

https://book.humanexperiences.io/
3•baraa_•3m ago•0 comments

TV4 postpones show after AI agent erases edited material

https://swedenherald.com/article/tv4-postpones-the-challenge-until-2027-after-technical-failure-e...
2•tobr•5m ago•0 comments

Pulsar at ESUG 2026 (new Smalltalk IDE)

https://blog.lorenzano.eu/pulsar-at-esug-2026/
2•mpweiher•6m ago•0 comments

AI Laser Locking for Quantum Computers: How QuEra Automates It

https://www.quera.com/blog-posts/holding-the-light-teaching-an-ai-to-lock-and-tune-our-quantum-co...
2•EvgeniyZh•7m ago•0 comments

I let an AI run my startup for a week

https://daily.tinyprojects.dev/221
6•tinyprojects•7m ago•0 comments

Intuit vs. Oracle: Which Technology Stock Is the Smarter Investment for 2026?

https://www.rswebsols.com/news/intuit-vs-oracle-which-technology-stock-is-the-smarter-investment-...
2•rswebsols•9m ago•0 comments

The meaning of life in a world without work – Yuval Noah Harari (2017)

https://www.theguardian.com/technology/2017/may/08/virtual-reality-religion-robots-sapiens-book
2•guitarlimeo•9m ago•0 comments

Agent erased full season of "The Challenge Swe": "Hundreds of days of work gone"

https://www.aviaduct.com/?l=og+en&u=https%3A%2F%2Fwww.aftonbladet.se%2Fnojesbladet%2Fa%2F31oE8A%2...
2•lensecat•12m ago•0 comments

EscapeFrom – would you use it?

https://escapefrom.city
2•drungli•12m ago•1 comments

Show HN: Fakenamegenerator – free browser based mock data generator

https://www.fakenamegenerator.online/
2•zamranilyas•13m ago•0 comments

Reviewing Ergodnc – What a Clean Laravel API Still Gets Wrong

https://codyssey.dev/code-reviews/reviewing-ergodnc-clean-laravel-api
2•davorminchorov•14m ago•1 comments

Lessons for the 21st century from a book by 'Frankenstein' author Mary Shelley

https://worldsensorium.com/lessons-for-the-21st-century-from-a-200-year-old-book-by-frankenstein-...
2•dnetesn•17m ago•0 comments

Fish Audio Drama 3: an open-weight, directable TTS model

https://huggingface.co/fishaudio/drama-3
2•joshcsimmons•18m ago•0 comments

Humans drew pictures on the sky, and what the pictures tell us

https://blue-continuum.com/connect-the-dots
2•dnetesn•19m ago•0 comments

Show HN: Graft – open-source source control for agent-scale monorepos

https://github.com/VishiATChoudhary/graft
2•vc14•19m ago•1 comments

Game of Life – But Multiplayer, Hypermedia and Python

https://stario.dev/apps/life
2•bobowski•20m ago•0 comments

Pear, PHP's First Package Manager

https://phpnews.net/pear-history
2•ericbarnes•22m ago•0 comments

Ask HN: Many SWEngs out there are considering re-training

6•jrowilliams•23m ago•1 comments

Ask HN: Why do people say "I built it" when we should say "Claude built it"?

4•gonzar79•24m ago•4 comments

Apple: Switch to Safari (From Chrome)

https://www.apple.com/safari/switch/
3•signa11•24m ago•1 comments

Grist: Turn the spreadsheets running your business into secure applications

https://www.getgrist.com/
2•janandonly•26m ago•0 comments

Zewards

https://zewards.app
2•creaateo•26m ago•0 comments

Show HN: A guided 3D Leonardo da Vinci museum, built in code

https://museumofages.org/w/vinci
2•micstradev•33m ago•3 comments

The operation of Starlink terminals in Ukraine was restricted above 160 kph

https://www.reddit.com/r/UkraineWarVideoReport/comments/1x5kefw/last_night_the_operation_of_starl...
5•jacquesm•38m ago•0 comments

Science Corp implants its vision-restoring chip in its first Stargardt patient

https://techcrunch.com/2026/10/13/science-corporation-implants-its-vision-restoring-chip-in-its-f...
3•bookofjoe•39m ago•0 comments

Ask HN: What is the current trajectory of a senior engineer?

6•guitarlimeo•39m ago•3 comments

Can I offer you a nice CI Pipeline in this trying time?

https://practicalai.co.nz/blog/6.html
2•sgrnz•43m ago•0 comments

Legendary FPS level designer Richard 'Levelord' Gray passes away at 68

https://www.shacknews.com/article/150993/richard-gray-levelord-obituary
3•neversaydie•45m ago•0 comments

Ask HN: Why does Windows Update overrite the Linux boot record?

3•roschdal•46m ago•2 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