frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Draining wetlands produces substantial emissions in the Canadian Prairies

https://theconversation.com/draining-wetlands-produces-substantial-emissions-in-the-canadian-prai...
1•PaulHoule•3m ago•0 comments

Feather – Draw in 3D

https://www.feather.art/
1•eustoria•3m ago•0 comments

Show HN: Turning 2D floor plans into 3D-ready JSON with Detectron2

https://www.loom.com/share/b741bc127c814db395832b01bd086e96
1•acaciabengo•4m ago•0 comments

Explain to Issue Reporter

https://github.com/fsprojects/fantomas/issues/1704
1•debugnik•4m ago•0 comments

Brave Search API now features Place Search, a new endpoint for map applications

https://brave.com/blog/place-search-api/
4•w0ts0n•5m ago•0 comments

Launch HN: Cardboard (YC W26) – Agentic video editor

https://www.usecardboard.com/
1•sxmawl•5m ago•0 comments

We Built a Video Rendering Engine by Lying to the Browser About What Time It Is

https://blog.replit.com/browsers-dont-want-to-be-cameras
1•cbrewster•6m ago•0 comments

OsmAnd's Faster Offline Navigation

https://osmand.net/blog/fast-routing/
2•todsacerdoti•6m ago•1 comments

AirSnitch: Demystifying and Breaking Client Isolation in Wi-Fi Networks

https://www.ndss-symposium.org/ndss-paper/airsnitch-demystifying-and-breaking-client-isolation-in...
1•todsacerdoti•6m ago•0 comments

People Leaving US

https://trendslates.substack.com/p/teen-ai-usage-amazon-alleged-price
1•faderisimo•8m ago•0 comments

My accepted research work on 'Failure-Aware Security Framework'

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6122687
1•sandhyavinjam•9m ago•0 comments

Bring Your Own Agent (BYOA)

https://blog.val.town/byoa
1•stevekrouse•10m ago•0 comments

Attacking Russia's Center of Gravity: A Clausewitzian Answer

https://www.militarystrategymagazine.com/article/attacking-russias-center-of-gravity-a-clausewitz...
1•bryanrasmussen•11m ago•0 comments

Human Made: The Pledge

https://lee-phillips.org/humanmade/
1•leephillips•12m ago•0 comments

GitHub Actions is left vulnerable to supply chain attacks: Datadog Report

https://www.datadoghq.com/state-of-devsecops/
2•varunsharma07•13m ago•0 comments

How Google Killed the Rent-a-Domain Era

https://growtika.com/blog/publisher-affiliate-collapse
1•Growtika•13m ago•0 comments

Show HN: Karta – Google Search, for discovering talent

https://www.karta.works
1•kidustiliksew•14m ago•0 comments

Smallest transformer that can add two 10-digit numbers

https://github.com/anadim/AdderBoard
1•ks2048•14m ago•0 comments

A Visual Guide to DNA Sequencing

https://www.asimov.press/p/dna-sequencing
1•mailyk•14m ago•0 comments

He saw an abandoned trailer. Then, uncovered a surveillance network

https://calmatters.org/justice/2026/02/alpr-border-patrol-caltrans/
10•Element_•17m ago•2 comments

Show HN: I built a local AI-powered Ouija board with a fine-tuned 3B model

https://github.com/SurceBeats/Planchette
3•SurceBeats•17m ago•2 comments

Using AI without losing skills

https://manafov.co/posts/using-ai-without-losing-skills
2•airbridgeflyer•19m ago•0 comments

Hyper: a reactive server side rendered web framework for Clojure

https://github.com/dynamic-alpha/hyper
2•rschmukler•19m ago•1 comments

Trump, seeking executive power over elections, is urged to declare emergency

https://www.washingtonpost.com/politics/2026/02/26/trump-elections-executive-order-activists/
3•martialg•20m ago•0 comments

TikTok, X link organiser for iOS and Android

https://saveforlater.pro
2•aria-sfl•22m ago•0 comments

Towards a Sovereign Mobile Stack

https://modal.cx/blog/sovereign-mobile-stack/
3•tomwas54•22m ago•0 comments

Show HN: Protection Against Zero-Day Cyber Attacks

2•gaurav1086•22m ago•0 comments

Anthropic is giving Claude Opus 3 its own Substack

https://substack.com/home/post/p-189177740
3•luispa•23m ago•1 comments

4Chan knew about Jeffrey Epstein's death 38 minutes before the rest of the world

https://www.businessinsider.com/epstein-files-show-fbi-probed-4chan-posts-prison-death-2026-2
7•cwwc•23m ago•0 comments

Ask HN: How are you handling EU AI Act compliance as a developer?

1•gibs-dev•24m ago•0 comments
Open in hackernews

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

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