frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Initial Thoughts on RH

https://galoisrepresentations.org/2026/11/23/initial-thoughts-on-rh/
1•pretext•1m ago•0 comments

Virtual Pet List

https://www.virtualpetlist.com/
1•Cpvr•2m ago•0 comments

Ghost Mannequin Tool

https://www.ghostmannequintool.com
1•llf20060128•3m ago•0 comments

Shibboleth IDP and SP: Forthcoming security updates

https://shibboleth.net/pipermail/announce/2026-November/000403.html
1•terom•4m ago•0 comments

Many Languages, One Common Neural Code

https://news.mit.edu/2026/many-languages-one-common-neural-code-1123
1•ersinesen•4m ago•0 comments

Building AI applications without stitching together multiple back end services

https://www.purple8.ai/
1•crawling_venus•5m ago•0 comments

Show HN: Temporary hot reloading for your Home Manager/Nix backed config files

https://github.com/Xarwex/hot-manager
1•xarwex•5m ago•0 comments

I'm not excited about tech anymore

https://www.coryd.dev/posts/2026/im-not-excited-about-tech-anymore
1•mikez302•8m ago•1 comments

More restrictive policy for LLM usage in LibreOffice development

https://blog.documentfoundation.org/blog/2026/11/24/updated-and-more-restrictive-policy-for-llm-u...
1•mksaunders2•10m ago•0 comments

Build the Workshop Before the Software Factory — Armin Ronacher [video]

https://www.youtube.com/watch?v=JNexz3Tbiu8
1•saikatsg•10m ago•0 comments

VP ≠ VNP over Every Field [pdf]

https://github.com/anthropics/formal-math/blob/vp-vnp/vp-vnp/paper.pdf
2•petrosagg•16m ago•0 comments

Show HN: Try living a random life, 1 in 8B

https://1in8b.life/en/
1•jins__earth•18m ago•0 comments

PCIe Peer-to-Peer Unlocks Full GPU VRAM Access on Consumer Nvidia RTX Cards

https://www.gizmoweek.com/unlocks-nvidia-rtx-cards/
1•loog5566•24m ago•0 comments

I Build Pith

https://pith.grbsystem.com
1•gilsonbellon•29m ago•0 comments

World First 3M+ Particle .SVG WebGL FPS/TPS Game Engine

https://svgfpsaiagents.github.io/svgfpsgameAI/particlefps.svg
1•zwanemakki•32m ago•0 comments

Show HN: Envcheck – a small Python .env file checker

https://github.com/rronkus/envcheck
1•xppexx•35m ago•0 comments

Starting Strong: How to Build Clarity and Mometum

https://www.leadinginproduct.com/p/tools-new-product-leader
1•benkan•35m ago•0 comments

Evidence-Based AI Risk Ratings from CSAI

https://riskrubric.ai/
1•chillax•51m ago•0 comments

Show HN: Rchive – Every drive I've owned since the 90s, searchable in one window

https://www.rchive.computer/
2•kevinsync•51m ago•0 comments

Show HN: One hour of AlphaZero-style Othello training on only one MacBook Air

https://github.com/natsu0529/mac-alpha-zero
2•natsu529•54m ago•1 comments

Show HN: Eznix – UI for NixOS, Nix-Darwin and home-manager

https://kalken.github.io//ezblog/#eznix
2•linux4dummies•56m ago•0 comments

Minimum spanning tree in deterministic linear time

https://twitter.com/louiealbp/status/2125017221089108178
2•porridgeraisin•57m ago•1 comments

Show HN: QuadletGen – Docker Compose to Podman Quadlet, in the Browser

https://quadletgen.com/
1•dake29650•58m ago•0 comments

AI tutoring outperforms in-class active learning

https://www.nature.com/articles/s41598-025-97652-6
1•the-mitr•1h ago•0 comments

Show HN: Ant – A scripting language with goroutines and static types

https://ant-lang.org/
4•medv•1h ago•1 comments

Amazon CloudFront Announces HTTP/2 Support for Connections to Origins

https://aws.amazon.com/about-aws/whats-new/2026/01/amazon-cloudfront-http2-origins/
3•gslin•1h ago•0 comments

GPTZero 5.0

https://gptzero.me/news/introducing-gptzero-5
3•Bolwin•1h ago•0 comments

The Frantic White House Push to Get Jensen Huang Back

https://www.wsj.com/business/nvidia-jensen-huang-white-house-9ad03961
7•elffjs•1h ago•1 comments

Can an LLM Grade Objective Facts Without Favoring Itself?

https://blog.logcat.ai/2026/11/23/can-an-llm-grade-objective-facts-without-favoring-itself/
2•vcodes•1h ago•1 comments

Cyber Security Certification Roadmap 2026 Edition

https://tools.hackhouse.com/roadmap/
2•memoriesofsmell•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