frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Upcoming Critical PHP Security Release

https://www.php.net/archive/2026.php
1•choult•18s ago•0 comments

Building a Robot Owl with No Robotics Experience

https://mattcool.tech/posts/hoot-a-small-robot-companion-for-learning/
1•mbcool•2m ago•0 comments

A Framework for Peace in Ukraine

https://www.commondreams.org/opinion/framework-for-peace-in-ukraine
2•simonebrunozzi•3m ago•0 comments

Ask HN: Is anyone using agents to test a better version of democracy?

1•amelius•5m ago•0 comments

GTA 6 Digital Pre-Orders Climb to 6.45M, PlayStation Holds 74% Share

https://www.techpowerup.com/353934/gta-6-digital-pre-orders-climb-to-6-45-million-playstation-hol...
1•speckx•5m ago•0 comments

Whatever Happened to Fire Escapes?

https://practical.engineering/blog/2026/10/20/whatever-happened-to-fire-escapes
1•crescit_eundo•6m ago•0 comments

Blanking Beavers: Results and Open Problems

https://nickdrozd.github.io/2026/10/20/blanking-beavers-results-and-open-problems.html
1•nickdrozd•7m ago•0 comments

Links Browser

https://links.twibright.com/features.php
1•smartmic•7m ago•0 comments

GitHub Actions Feedback Survey

https://survey3.medallia.com/?actions&id=821775
1•colinmarc•8m ago•0 comments

Does anyone else feel Spotify's UI is just frustrating?

https://www.reddit.com/r/UI_Design/comments/1n03mqt/does_anyone_else_feel_spotifys_ui_is_just/
1•amelius•9m ago•0 comments

Show HN: Modula-9, a Wirth-family language designed for auditing AI-written code

https://www.modula9.net
1•atverm•9m ago•0 comments

A practical guide to AI image generation, from diffusion to agents

https://danielball.com/notes/ai_image_generation.html
1•westsmith•11m ago•0 comments

Trump administration holds up Patriot missile transfers for Ukraine

https://www.washingtonpost.com/politics/2026/10/19/amid-deteriorating-relations-washington-holds-...
2•consumer451•12m ago•1 comments

Show HN: Apple Reminders MCP – native read/write via ReminderKit

https://github.com/xiaofeng-han/apple-reminders-mcp
1•hhhanxfus•15m ago•0 comments

Coding.Snapsta – 430 free, zero-dependency HTML/CSS templates without signup

https://coding.snapsta.net/lets_code/
1•SystemsX•16m ago•0 comments

Must do's for your startup culture

https://www.ubiquity.vc/blog/tim-brown-of-allbirds-3-must-do-s-for-your-startup-culture
1•ariloeg•16m ago•0 comments

I tell the IMF the Singularity has begun

https://importai.substack.com/p/import-ai-477-in-which-i-tell-the
1•gmays•18m ago•0 comments

List of Games Included with Windows

https://en.wikipedia.org/wiki/List_of_games_included_with_Windows
1•skibz•19m ago•0 comments

RDP to Your Mac

https://prordp.app
2•AndrewDucker•20m ago•0 comments

Microsoft Announces OneDrive CLI

https://www.neowin.net/news/microsoft-gives-onedrive-admins-a-new-command-line-tool/
1•bundie•22m ago•0 comments

Parano1d: Transparent Proof-Carrying State over Binary Tower Fields

https://zenodo.org/records/23485635
2•ignotusnemo•22m ago•1 comments

Lego Engineered the Perfect Plaything

https://thereader.mitpress.mit.edu/how-lego-engineered-the-perfect-plaything/
1•nadis•22m ago•0 comments

Cadence an open-source, on-device daily check-in for iOS

https://github.com/jaguero21/Cadence
1•carpebuilds•24m ago•0 comments

Show HN: A daily game where the goal is to be unpredictable to an LLM

https://notbotgame.com
1•onion92•25m ago•0 comments

ADLC: Judgment Must Move Upstream

https://sdtimes.com/agentic-development-life-cycle/adlc-why-judgment-must-move-upstream/
1•harisund1990•25m ago•0 comments

How the energy crisis could become a food security crisis

https://www.axios.com/2026/10/20/energy-crisis-food-security-crisis
2•toomuchtodo•25m ago•1 comments

Anthropic redesigned source-control for AI agents

https://www.anthropic.com/research/redesigning-source-control
2•Aelthorim•26m ago•1 comments

Everything Is Fake

https://www.patreon.com/merrittk/posts/everything-is-170652203
1•herbertl•28m ago•0 comments

How Intuitions Work

https://aeon.co/essays/sometimes-you-just-know-somethings-off-but-how
1•herbertl•29m ago•0 comments

Knowledge Comes at a Cost. What Are We Paying For?

https://katinamagazine.org/content/article/open-knowledge/2026/knowledge-comes-at-a-cost-what-are...
1•jruohonen•29m 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