frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: SynoRing – An input ring for smart glasses and everything

https://www.synoring.ai
1•CLCKKKKK•3m ago•0 comments

Spotify Partners With Bookshop.org for physical book sales

https://newsroom.spotify.com/2026-02-05/bookshop-partnership-page-match-announcement/
1•kristianp•10m ago•0 comments

Does Fast Mode Do Anything?

https://doesfastdoanything.com/
2•luu•12m ago•0 comments

Max severity SonicWall SMA1000 flaw now exploited in attacks

https://www.bleepingcomputer.com/news/security/max-severity-sonicwall-sma1000-flaw-now-exploited-...
1•wondersky•14m ago•0 comments

Resident Evil 1995-08-04 Prototype: Full Disk and ASM Disassembly Analysis [video]

https://www.youtube.com/watch?v=NFodrCsNJaI
1•stein1946•15m ago•0 comments

Ukraine hits second major tech site, expanding range of targets inside Russia

https://www.reuters.com/world/europe/russias-yandex-says-second-data-centre-hit-by-drone-attack-2...
2•JumpCrisscross•17m ago•0 comments

Every lawsuit against an AI company

https://ailawsuittracker.com/
1•marciob•18m ago•0 comments

District Six

https://en.wikipedia.org/wiki/District_Six
1•thunderbong•22m ago•0 comments

How to Pronounce English Like a Native

https://youglish.com/
1•Tomte•26m ago•0 comments

The Awesome Power of Constraint Solvers

https://btmc.substack.com/p/the-awesome-power-of-constraint-solvers
1•zdw•28m ago•0 comments

Show HN: Localci, run your GitHub Actions jobs locally before you push

https://github.com/peters/localci
1•petersunde•32m ago•0 comments

Electric two-wheelers offer mobility to some women

https://www.pakistantoday.com.pk/2026/06/17/electric-two-wheelers-offer-mobility-to-some-women-bu...
1•doener•38m ago•0 comments

Gemini API RLS notes: 3.7-flash now routed to 3.8-flash, 3.5->3.6

https://ai.google.dev/gemini-api/docs/changelog
2•cagey•59m ago•1 comments

CortextAI – A private, offline AI workspace for email, notes, tasks, and files

https://cortextai.saposs.com
1•jimmy_lee•1h ago•0 comments

6 Months of Bubbles

https://www.gordonmclean.co.uk/2026/10/09/6-months-of-bubbles/
2•rdmuser•1h ago•0 comments

Optimization is the root of all evil

https://12gramsofcarbon.com/p/the-optimization-theory-of-everything
2•theahura•1h ago•0 comments

RAOP playback to HomePod 2 stopped working after HomePod OS 27 update

https://gitlab.freedesktop.org/pipewire/pipewire/-/work_items/5516
1•chazeon•1h ago•0 comments

Trump approves tiny 'cars of the near future'

https://thehill.com/policy/energy-environment/5635349-donald-trump-approves-tiny-cars/
3•harambae•1h ago•0 comments

SpaceX Raised $111B – It Needs More [video]

https://www.youtube.com/watch?v=9SAgLMahZm4
3•koolhead17•1h ago•0 comments

Assorted things I've been mulling over regarding agents in the economy

https://twitter.com/patrickc/status/2108706907859116280
1•MrBuddyCasino•1h ago•0 comments

Terence Tao on "Math 2.0" [pdf]

https://teorth.github.io/tao-web/slides/math-2-0-caltech-2026.pdf
1•atdt•1h ago•2 comments

Understanding why you'd use Effect TS

https://cm.xyz/blog/understanding-why-youd-use-effect-ts
3•nilsbunger•1h ago•0 comments

The story of utopias by Lewis Mumford

https://www.gutenberg.org/ebooks/75654
2•doener•1h ago•0 comments

Vegetables are half as nutritious as they were in the 1960s

https://www.telegraph.co.uk/business/2026/10/07/vegetable-nutrition-halved-since-60s/
14•WarOnPrivacy•1h ago•11 comments

A persistent accuracy ceiling in automated verbal deception detection

https://arxiv.org/abs/2610.12118
1•sbulaev•1h ago•1 comments

wBlock 3.2 – The next-generation ad blocker for Safari

https://github.com/0xCUB3/wBlock/releases/tag/3.2.0
1•nntwozz•1h ago•0 comments

Ongoing lawsuits allege GLP-1s can cause serious harm; we don't know how often

https://text.npr.org/nx-s1-5996652
1•1659447091•1h ago•0 comments

A Programmable Readout Pixel Image Sensor

http://image-sensors-world.blogspot.com/2026/10/programmable-readout-pixel.html
1•giuliomagnifico•1h ago•0 comments

The Unreasonable Effectiveness of Linear Prediction as a Perceptual Metric

https://arxiv.org/abs/2310.05986
1•E-Reverance•1h ago•0 comments

Weball

https://www.funwithcomputervision.com/weball/
1•maxutility•1h 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