frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The unprompted.au (Australian AI and Cyber) schedule is live

https://unprompted.au/schedule
2•caseyjohnellis•1m ago•0 comments

Zcomplete – Shell Typo Correction

https://github.com/omarfakih1/zcomplete
2•omarfakih•1m ago•1 comments

Removed all counters, replies, following/ers, timestamps, from textlog

https://textlog.cc/post/2059
3•stagas•2m ago•0 comments

Com Lag: Slow Media, & the Occupation of Online Time (2012)

https://thequietus.com/opinion-and-essays/black-sky-thinking/com-lag-slow-art-occupation-online-t...
2•Sir_Twist•2m ago•0 comments

Intermittent Modified Fasting (IMF) Diet Calculator

https://demin.ws/imf/
2•begoon•2m ago•0 comments

Coinbase-backed crypto advocacy group endorses 32 US midterm candidates

https://www.reuters.com/legal/government/coinbase-backed-crypto-advocacy-group-endorses-32-us-mid...
2•tartoran•4m ago•0 comments

Putting mice into hibernation causes a major loss of synapses

https://arstechnica.com/science/2026/08/memories-stick-around-even-after-half-the-synapses-are-gone/
3•apparent•7m ago•0 comments

New York AI data center fight comes to Geneva

https://www.democratandchronicle.com/story/news/2026/08/24/geneva-ai-data-center-greenidge-kriste...
2•ninjahawk1•8m ago•0 comments

Anger, Anxiety and Agency

https://lucumr.pocoo.org/2026/8/24/anger-anxiety-agency/
3•lumpa•10m ago•0 comments

Show HN: RepoRoulette: Randomly Sample Repositories from GitHub

https://github.com/gojiplus/reporoulette
2•neehao•10m ago•0 comments

Weather Consensus

https://weather.promptbox.club
2•glassrunm•11m ago•0 comments

You can just build any software now

https://mkagenius.substack.com/p/you-can-just-any-build-software-now
3•mkagenius•13m ago•0 comments

A 57-byte x86-64 Linux ELF

https://tmpout.sh/5/3.html
2•Retr0id•13m ago•0 comments

Rendering Shooter

https://drawcall.grok.me/
2•kvark•15m ago•0 comments

Show HN: OutMap – a live map of 235 countries where anyone can place a link

https://outmap.lol
2•ifrosted•16m ago•0 comments

Open source solution for supply chain attacks

https://github.com/ossillate-inc/packj
2•dave17•16m ago•1 comments

It's OK. Do Your Thing. Some (reluctant) thought on our AI moment

https://buttondown.com/carlton/archive/its-ok-do-your-thing/
2•speckx•17m ago•0 comments

Digitalocean Control Panel and API Down

https://status.digitalocean.com/
2•wilsonfiifi•17m ago•0 comments

A ghostly ribbon of stars reveals hidden dark matter

https://www.sciencedaily.com/releases/2026/08/260823015000.htm
1•samso26•18m ago•0 comments

Digitalocean Cloud Control Panel and API Incident Ongoing

https://status.digitalocean.com/incidents/4qwm6pzlx1z3
3•microsoftedging•18m ago•1 comments

The Eminem Show's 24th Year Review

https://medium.com/theentertainmentbreakdown/theeminemshows20thanniversaryreview-31bc4c623ea
1•raynchad•21m ago•0 comments

Show HN: Kern – container and resource runtime in a 1.5 MB binary, no daemon

https://github.com/getkern/kern
2•realexweb•22m ago•0 comments

RayNeo creates new type of smart glasses with Heads Up Display and no camera

https://www.rayneo.com/pages/rayneo-io-ai-glasses
2•ck2•24m ago•4 comments

A technology that counts reps and scores muscle failure from the Apple Watch

1•baraa_bilal•24m ago•0 comments

We Optimized the Qwen 3.6 Model for Our Junie Agent

https://blog.jetbrains.com/junie/2026/08/qwen-for-junie/
1•svieira•26m ago•0 comments

StateM: Stateful Control for Long-Horizon Agents

https://github.com/henryqin1997/statem
8•johntrob14•26m ago•2 comments

Your "File" Menu Isn't About Files

https://adam.farkas.pro/your-file-menu-isnt-about-files/
3•b__d•26m ago•0 comments

Visualizing Binary Files

https://movq.de/blog/postings/2026-08-05/0/POSTING-en.html
2•zdw•26m ago•1 comments

Redacted Script

https://fonts.google.com/specimen/Redacted+Script
1•gaws•27m ago•0 comments

Please keep HN clean so it doesn't get blocked at school

http://crystalpvp.ru/boze/
1•Preston67•28m ago•1 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