frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Thoughts and Observations on apples iPhones duo 18pro event

https://daringfireball.net/2026/09/thoughts_and_observations_on_apples_surprise_and_shine_event
1•djfergus•3m ago•0 comments

Clarity Act (crypto) fails in the Senate

https://www.nytimes.com/2026/09/15/technology/senate-blocks-crypto-bill.html
1•krrishd•5m ago•1 comments

Coreutils – Rejected Feature Requests

https://www.gnu.org/software/coreutils/rejected_requests.html
2•birdculture•6m ago•0 comments

Cerebras-powered, instant design canvas using Qwen3.8-27B [video]

https://www.youtube.com/watch?v=yC4RKUyUt1Y
1•thegeomaster•8m ago•0 comments

Show HN: Now You Can Use – Web Baseline Timeline

https://nowyoucanuse.com/
1•Hyperlisk•9m ago•0 comments

Recent Decisions Spark Questions on GenAI, Privilege, and Privacy Expectations

https://ktslaw.com/insights/alert/2026/4/recent-decisions-spark-questions-on-generative-ai-privil...
1•mooreds•9m ago•0 comments

Contrails.org – Contrail Avoidance for the Climate

https://contrails.org/
1•thenobsta•11m ago•0 comments

Landing the Space Shuttle – A Flying Machine and the Thrill of a Lifetime

https://inspire.eaa.org/2019/05/16/landing-the-space-shuttle-an-incredible-flying-machine-and-the...
1•JojoFatsani•12m ago•0 comments

Show HN: AgentReady – can AI assistants read your site?

https://shop.lumnika.com/lab/agentready/?src=hackernews-showhn
1•deusautoai725•12m ago•0 comments

Show HN: Leo – a Markdown engineering process for AI coding agents

https://github.com/alex-zaporozhan/leo
1•alex-zaporozhan•15m ago•0 comments

Mistaken alignment is not misalignment

https://c.mov/mistaken-alignment/
2•azhenley•17m ago•1 comments

Vieta's Formulas

https://en.wikipedia.org/wiki/Vieta%27s_formulas
1•vismit2000•23m ago•0 comments

More Tree-sitter, more neocaml, more elisp

https://lambdafoo.com/posts/2026-09-14-more-trees-more-neocaml.html
2•RohanAdwankar•24m ago•0 comments

How to keep a knowledge base up to date when the product changes every day

https://frigade.com/blog/how-to-keep-a-knowledge-base-up-to-date
1•pancomplex•26m ago•0 comments

Emily St. John Mandel on Writing a Novel of Dystopian Counterlives

https://lithub.com/emily-st-john-mandel-on-writing-a-novel-of-dystopian-counterlives/
1•mooreds•28m ago•0 comments

The proof passed. Can you see why it works?

https://github.com/8Braid/8db-navier-stokes-evidence/blob/main/explainability/article.md
2•ashdee•33m ago•0 comments

Show HN: A chess analyzer that runs in the browser

https://github.com/huytd/whyblunder/
1•huydotnet•34m ago•0 comments

A better way of blocking macOS updates

https://zoey-on-github.github.io/blog/updates.html
2•juliethefoxcoon•36m ago•0 comments

Ask HN: eBPF verifier packet tracking boundaries under volumetric socket drops?

1•devloperdevesh•42m ago•0 comments

Nvidia and CrowdStrike Develop New Cybersecurity AI Models

https://www.wsj.com/cio-journal/nvidia-and-crowdstrike-develop-new-cybersecurity-ai-models-937bb2aa
1•gmays•44m ago•0 comments

Steve Bannon and Bernie Sanders Condemn Tech 'Oligarchs' and Demand A.I. Reforms

https://www.nytimes.com/2026/09/15/us/steve-bannon-bernie-sanders-ai.html
3•mikhael•47m ago•0 comments

Founding documents from companies that shaped industries

https://relentless-investments.com/library
1•rafaelc•47m ago•0 comments

Waymo to start Tokyo robotaxi service next year in Asia push

https://www.japantimes.co.jp/business/2026/09/15/companies/waymo-tokyo-robotaxi-launch/
1•mikhael•50m ago•1 comments

Interview with Paul Bogen [video]

https://www.youtube.com/watch?v=GJQlzbhai-w
1•oriettaxx•54m ago•0 comments

Divide, Consult, Conquer: Capability Laundering Through Aligned LLMs

https://arxiv.org/abs/2609.15383
2•sbulaev•56m ago•0 comments

Singapore launched a novel five-year national campaign to nurture reading habits

https://www.cnn.com/2026/09/15/asia/singapore-reading-campaign-intl-hnk-dst
2•kelt•1h ago•0 comments

Show HN: Biom – A visual workspace where your AI agents' work lands

https://www.biom.dev/
4•jduhking•1h ago•0 comments

Hackaday Europe 2026: Bare Metal Made Easy

https://hackaday.com/2026/09/15/hackaday-europe-2026-bare-metal-made-easy/
3•geoffbp•1h ago•0 comments

Show HN: Plurnk (Yet *Another* AI Harness)

https://github.com/plurnk/plurnk
1•wikitopian•1h ago•0 comments

Independent Lens – Ghost in the Machine: AI's troubled history, current impacts

https://www.pbs.org/video/ghost-in-the-machine-nynp3f/
3•frmersdog•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