frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Testing with Agents in Apple platform development [video]

https://vimeo.com/1246961072
1•Austin_Conlon•24m ago•0 comments

ForumNOX Hacking Forums

https://forumnox.com/
1•Jokerr•25m ago•0 comments

Medical volume renderer with transparent 3D anatomy

https://github.com/vangelov/volumesh
1•vlad_angelov•30m ago•0 comments

How to Setup Gentlemail

https://gentlemail.dev/deploy
1•themx05•36m ago•1 comments

WSJ Fabricated Statements from the Singapore Gov. On Jensen Huang and China Link

https://twitter.com/brianchau57/status/2121465308368265231
1•MrBuddyCasino•39m ago•0 comments

AWS made an official local emulator

https://chaosguru.substack.com/p/aws-finally-made-an-official-local
1•taubek•39m ago•0 comments

Sub-Planck structure in phase space and its relevance for quantum decoherence

https://www.nature.com/articles/35089017
1•u1hcw9nx•39m ago•0 comments

I was wrong about dark mode

https://dbushell.com/2026/11/09/dark-mode/
1•birdculture•40m ago•0 comments

Stock value as a distribution, not a price target

https://value-field.onrender.com
1•IVanalyst•42m ago•0 comments

Automated High-Density Knife-Edge Laser Beam Profiler

https://github.com/turtushig22-blip/thorlabs-esp32-laser-beam-profiler
1•turtushig22•43m ago•0 comments

Show HN: Saylark – Open-source voice dictation for Mac, like Wispr Flow

https://github.com/btahir/saylark
2•bilater•49m ago•0 comments

Brain Implants Give ALS Patients the Voice to Speak and Sing

https://www.nytimes.com/2026/11/14/science/brain-implants-als-voice.html
2•01-_-•49m ago•0 comments

Show HN:Learn Chinese Through Mythology and HSK Graded Stories

https://www.mythlingua.com/
1•vincent_sanfeng•50m ago•0 comments

Cloudflare: Spending Limits and Alerts

https://developers.cloudflare.com/billing/manage/spend-management/
2•taran_narat•51m ago•0 comments

Show HN: Dynaura – Dynamic Island toasts for the web

https://dynaura.ashutoshswamy.in
1•jackednerd•52m ago•0 comments

New tech allows public, law enforcement to identify drones, operator locations

https://www.trains.com/trn/railroads/photography-tips/new-tech-allows-public-law-enforcement-to-i...
1•harambae•54m ago•0 comments

Baltimore County schools phase out AI reading program

https://www.thebanner.com/education/k-12-schools/county-schools-artificial-intelligence-453DCFYJL...
3•biker142541•59m ago•0 comments

UPS cargo plane collides with passenger jet at Miami International Airport

https://www.gulfcoastnewsnow.com/article/planes-collide-at-miami-international-airport/74431861
1•thunderbong•1h ago•0 comments

Mirepoix

https://en.wikipedia.org/wiki/Mirepoix
1•tosh•1h ago•0 comments

Reading JSON at 277 GB/s in Python

https://lemire.me/blog/2026/11/14/reading-json-at-277-gb-s-in-python/
1•chmaynard•1h ago•0 comments

Show HN: IndexFast – see which of your pages search engines actually know about

https://indexfast.co
1•sh20raj•1h ago•0 comments

Show HN: Cshoal – A school of fish, hunted by predators, in your terminal

https://github.com/mcthomas/cshoal
1•Bondi_Blue•1h ago•0 comments

Book list for streetfighting computer scientists

https://nick-black.com/dankwiki/index.php?title=Book_list_for_streetfighting_computer_scientists
2•num42•1h ago•0 comments

ICC stops probe into US troops, continues investigating Taliban

https://www.newarab.com/news/icc-stops-probe-alleged-crimes-us-troops-afghanistan
1•cowlevel•1h ago•1 comments

I tested an AI dance edit on five seconds of footage, then tried the whole clip

https://medium.com/@wangjiayiliuyan/i-tested-an-ai-dance-edit-on-five-seconds-of-footage-then-i-t...
1•visiohex•1h ago•0 comments

Show HN: ShadowDiff – Shadow testing and SQL diffing for AI-migrated back ends

https://github.com/vishalrajofficial/ShadowDiff
1•vishalraj1•1h ago•0 comments

China's COMAC electric plane completes first crewed flight

https://www.reuters.com/video/watch/idRW841714112026RP1/
3•xbmcuser•1h ago•0 comments

Show HN: Hello Triangle, a puzzle game where you build a GPU

https://hellotriangle.icedlatte.ca/
2•icedlatte•1h ago•0 comments

PDF tools that run in the browser – nothing is uploaded

https://privacypdftools.com/
1•sareefirshan•1h ago•0 comments

Show HN: Offline quoting, receipts, and expense tracking for entrepreneurs

https://play.google.com/store/apps/details?id=com.companyname.moneyacc&hl=en_US
1•nowizzville•1h 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