frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Prepaid Cellphone Plans – Comparison Site

https://prepaidcompare.net
1•WarOnPrivacy•2m ago•1 comments

CannonSmash-Web

https://github.com/jgbrwn/cannonsmash-web
1•indigodaddy•2m ago•0 comments

Show HN: Ilya Sutskever's AI reading list into a learning RPG – using kimi k3

https://ilya-papers-quest.naigap.com/#/
1•praveer13•4m ago•0 comments

A free PTE Core practice platform with instant AI scoring

https://ptecorepractice.com
1•justinzhou01•5m ago•1 comments

Retrotvs – Channel-surf the past now by choosing any of the TV sets

https://70s.myretrotvs.com/
1•modinfo•5m ago•0 comments

On Ethics and Usefulness

https://manuelmoreale.com/thoughts/on-ethics-and-usefulness
1•HotGarbage•7m ago•0 comments

New hybrid positioning system promises reliable tracking where GPS fails

https://www.qmul.ac.uk/news/latest-news/2026/science-and-engineering/se/new-hybrid-positioning-sy...
1•hhs•17m ago•0 comments

Multi-Agent LLMs Fail to Explore Each Other

https://arxiv.org/abs/2607.11250
1•Anon84•18m ago•1 comments

Statistical test helps judge the value of personalization

https://news.stanford.edu/stories/2026/07/statistical-test-personalization-k-fold
1•hhs•20m ago•0 comments

Java was a three-day hotfix away from dying horribly on stage

https://www.theregister.com/devops/2026/07/18/java-was-a-three-day-hotfix-away-from-dying-horribl...
1•jnord•20m ago•0 comments

The headache of hospital pricing

https://lawliberty.org/the-headache-of-hospital-pricing/
1•hhs•22m ago•0 comments

The 3:47 Am Wake‑Up Call That Changed Everything

https://hackenewhome.blogspot.com/p/code-optimise-pour-blogger-suppression.html
1•AllForAll•24m ago•0 comments

Juggling for Blind People

https://www.jugglingforblindpeople.com/
3•pipnonsense•25m ago•0 comments

Even Microsoft couldn't make Windows 11 work well on 8GB of RAM

https://www.theverge.com/tech/966937/microsoft-surface-laptop-13-inch-8gb-ram-2026-review
2•GeekyBear•27m ago•1 comments

Welcome to Toronto, World Capital of the Urban Raccoon

https://lithub.com/welcome-to-toronto-world-capital-of-the-urban-raccoon/
2•herbertl•29m ago•0 comments

HN: Save Replay – Trim a video before uploading it

https://savereplay.com
2•IGOLz•30m ago•0 comments

Don't Force the Money Too Early

https://nik.art/dont-force-the-money-too-early/
2•herbertl•32m ago•0 comments

Prompted to Start: How Generative AI Is Transforming Entrepreneurship [pdf]

https://conference.nber.org/conf_papers/f238865.pdf
2•herbertl•33m ago•0 comments

SafeAI – Open-Source Static AI Risk Analyzer for AI Agents

https://github.com/ikaruscareer/SafeAI
2•ikaruscareer•34m ago•0 comments

How Indian Railways plans to stop blanket, bedsheet theft on trains

https://www.moneycontrol.com/europe/?url=https://www.moneycontrol.com/news/india/how-indian-railw...
2•rustoo•35m ago•0 comments

Hiring Private equity firm doing 9M in revenue

https://www.careerjumpship.com/jobs/fullstack-engineer-cofounder-nyc-b84627f7
2•jaredzwick•38m ago•0 comments

Gap in Mochizuki's proof of ABC confirmed by Lean

https://twitter.com/FumiharuKato/status/2078017230537892207
3•ogogmad•39m ago•0 comments

Can you build a five that beats the 73-9 Warriors?

https://www.73-9-game.com/
2•jeyzolo•44m ago•1 comments

Mayor Mamdani Says Landlords Can't Use AI Images to Advertise

https://petapixel.com/2026/07/16/mayor-mamdani-says-landlords-cant-secretly-use-ai-images-to-adve...
29•gnabgib•45m ago•10 comments

The Professor Who Taught People How to Think (1962) [video]

https://www.youtube.com/watch?v=rBN5SWCReJQ
2•kklisura•47m ago•0 comments

AI Mania Is Eviscerating Global Decision-Making

https://hermit-tech.com/blog/ai-mania-is-eviscerating-global-decisionmaking
5•frizlab•48m ago•0 comments

Real-Time LuaTeX: Recompiling Large Documents in 1ms [pdf]

https://www.tug.org/tug2026/preprints/lode-realtime.pdf
7•amichail•50m ago•1 comments

Show HN: RewindCup – explore 23 World Cups on an interactive globe

https://rewindcup.com
2•iamdavidoti•52m ago•0 comments

curl can be used to send emails with SMTP

https://mastodon.social/@chr1stian/116924759058231144
6•21sys•53m ago•0 comments

Roger Summit, Early Search Pioneer, Dies at 95

https://www.nytimes.com/2026/07/17/technology/roger-summit-dead.html
2•furytrader•53m 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