frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

New code connects microscopic insights to the macroscopic world

https://phys.org/news/2026-01-code-microscopic-insights-macroscopic-world.html
1•rbanffy•1m ago•0 comments

Presence in Death

https://rubinmuseum.org/presence-in-death/
1•tock•2m ago•0 comments

Show HN: Express-like, event-driven minimalist TS framework

https://github.com/ddaras/melony
1•ddaras•2m ago•0 comments

Asciinema: Making Movies at the Command-Line

https://lwn.net/Articles/1053355/
1•sohkamyung•2m ago•0 comments

SFC vs. VIZIO: who can enforce the GPL?

https://lwn.net/Articles/1052734/
1•sohkamyung•3m ago•0 comments

Mental sundhed og personlig trivsel

1•Aksel-Louis•3m ago•0 comments

David Webb (Webb-site.com) has died

https://www.telegraph.co.uk/obituaries/2026/01/23/david-webb-site-hong-kong-investor-transparency...
1•calpaterson•5m ago•0 comments

FTC Appeals Loss in Meta Antitrust Case

https://www.nytimes.com/2026/01/20/technology/ftc-meta-antitrust-appeal.html
1•1vuio0pswjnm7•6m ago•0 comments

A Third Conversational Pattern in BDD

https://lizkeogh.com/2026/01/23/a-third-conversational-pattern-in-bdd/
1•adrianhoward•8m ago•0 comments

How to Leave Germany

https://allaboutberlin.com/guides/leaving-germany
2•nicbou•9m ago•0 comments

Show HN: BetterDB – OSS Valkey/Redis monitoring with historical data

1•kaliades•11m ago•0 comments

The threat eating away at museum treasures

https://www.scientificamerican.com/article/how-extremophile-molds-are-destroying-museum-artifacts/
1•sohkamyung•13m ago•0 comments

Liberals have to reckon with the limits of protests

https://www.bostonglobe.com/2026/01/22/opinion/protest-political-strategy-trump-ice/
1•throw0101c•15m ago•1 comments

Locked out of my GCP account for 3 days, still charged, can't redirect domain

2•lifeoflee•15m ago•0 comments

Announcing Vortex support in DuckDB

https://duckdb.org/2026/01/23/duckdb-vortex-extension
1•chmaynard•16m ago•0 comments

How to tell where a file or folder is on your Mac

https://eclecticlight.co/2026/01/23/how-to-tell-where-a-file-or-folder-is/
1•chmaynard•18m ago•0 comments

Plausible Analytics – Simple, privacy-friendly Google Analytics alternative

https://plausible.io/
1•janandonly•21m ago•0 comments

AI bot swarms threaten to undermine democracy

https://garymarcus.substack.com/p/ai-bot-swarms-threaten-to-undermine
1•chmaynard•22m ago•0 comments

What I learned building an opinionated and minimal coding agent

https://mariozechner.at/posts/2025-11-30-pi-coding-agent/
1•dade•23m ago•0 comments

Show HN: Whosthere: A LAN discovery tool with a modern TUI, written in Go

https://github.com/ramonvermeulen/whosthere
2•rvermeulen98•24m ago•1 comments

The Perfect Minimalist Wi-Fi-Connected LED Clock/Weather Display ESP32/ESP8266

https://www.hackster.io/news/the-perfect-minimalist-led-clock-49a4e4440518
1•m-factory•25m ago•0 comments

YouTubers will be able to make Shorts with their own AI likenesses

https://www.theverge.com/news/864610/youtube-shorts-ai-likenesses-neal-mohan-2026
1•taubek•26m ago•0 comments

A cosmic ring may challenge a key assumption about the universe

https://www.sciencenews.org/article/cosmic-ring-cosmology-principle
1•yusufaytas•28m ago•0 comments

How do I make $10k (What are you guys doing?)

2•b_mutea•28m ago•7 comments

The Trump Administration Admits More Ways DOGE Accessed Sensitive Personal Data

https://www.npr.org/2026/01/23/nx-s1-5684185/doge-data-social-security-privacy
2•backpackerBMW•29m ago•0 comments

Show HN: Carlton × CMP Signature AR NUME

https://github.com/Augmented-Reality-Virtual-Reality-AR-VR/Projects-in-AR-VR/pull/1
1•aroheir•32m ago•0 comments

The Inverse DevOps Principle

https://about.hannesortmeier.de/blog/inverse-devops-principle
1•sighansen•35m ago•0 comments

Major Canadian computer hardware online store compromised for months

https://old.reddit.com/r/bapccanada/comments/1qk4axy/canada_computers_online_card_skimmer/
1•bhouston•35m ago•1 comments

Hyundai Motor's Korean union warns of humanoid robot plan, sees threat to jobs

https://www.reuters.com/business/world-at-work/hyundai-motors-korean-union-warns-humanoid-robot-p...
2•tooltalk•37m ago•0 comments

A Management Philosopher with Heady Ideas About Beer (2009)

https://www.wsj.com/articles/SB125789690177942463
1•asplake•39m ago•0 comments
Open in hackernews

Ask HN: Any good tools to pgdump multi tenant database?

3•polishdude20•8mo 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•8mo 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•8mo 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•8mo 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•8mo 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•8mo ago
Oh yes I agree with you. It may become a big push to convince my org to do that