frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Perfect Ottawa Hummus

https://middleeasternstreet.com/blog-detail.html?id=blog-1
1•swengcrunch•1m ago•0 comments

Show HN: Snake and Foes – The classic snake game but with enemies and power-ups

https://ivanca.github.io/snakeandfoes/
1•AmbroseBierce•2m ago•0 comments

There Isn't a Hacker Community for Fundamental Physics (and What It Tells Us)

https://old.reddit.com/r/prequantumcomputing/comments/1ragunw/why_there_isnt_a_hacker_community_f...
1•bkaminsky•3m ago•0 comments

Typed Assembly Language

https://www.cs.cornell.edu/talc/
1•luu•12m ago•0 comments

The UK tourist with a valid visa detained by ICE for six weeks

https://www.theguardian.com/us-news/2026/feb/21/karen-newton-valid-visa-detained-ice
1•n1b0m•12m ago•0 comments

Ajail: A basic jail for programs you don't trust

https://github.com/jtolio/ajail
2•todsacerdoti•12m ago•0 comments

Show HN: How much has the ad industry spent targeting you?

https://attentionworth.com/
1•withshakespeare•19m ago•0 comments

Show HN: OffKit – an iOS app blocker that adds friction

https://apps.apple.com/us/app/offkit-app-blocker/id6758268708
1•nickfthedev•24m ago•0 comments

LDOS: Toward a Learning-Directed Operating System

https://www.sigops.org/2026/ldos-toward-a-learning-directed-operating-system/
1•matt_d•26m ago•0 comments

PromptSpy ushers in the era of Android threats using GenAI

https://www.welivesecurity.com/en/eset-research/promptspy-ushers-in-era-android-threats-using-genai/
1•Cyphase•30m ago•1 comments

Colorado moves age checks from websites to operating systems

https://www.biometricupdate.com/202602/colorado-moves-age-checks-from-websites-to-operating-systems
8•iamnothere•39m ago•6 comments

Pb-ext: Enhanced PocketBase server with monitoring, logging and API docs

https://github.com/magooney-loon/pb-ext
1•thunderbong•43m ago•0 comments

Ruby Is the Best Language for Building AI Apps

https://paolino.me/ruby-is-the-best-language-for-ai-apps/
3•thunderbong•53m ago•0 comments

Back to textbooks: Denmark rolls back digital learning

https://www.france24.com/en/tv-shows/focus/20260106-back-to-textbooks-denmark-rolls-back-digital-...
1•talonx•54m ago•0 comments

Show HN: Free tool to migrate OpenAI Assistants

https://migratetoresponses.com
1•adkfusion•54m ago•0 comments

A Galaxy Composed Almost of Dark Matter Has Been Confirmed

https://www.wired.com/story/a-galaxy-composed-almost-entirely-of-dark-matter-has-been-confirmed/
1•taubek•55m ago•0 comments

Python creator Guido van Rossum asks Elon Musk what SpaceX uses for coding

https://twitter.com/elonmusk/status/2024388903869043061
1•MilnerRoute•56m ago•0 comments

Infographic of the Navy and Air Force build up nearby Iran

https://twitter.com/sentdefender/status/2024929210867839399
1•nomilk•59m ago•0 comments

Acme Weather, from the Creators of Dark Sky

https://apps.apple.com/us/app/acme-weather/id6742032583
1•gammarator•1h ago•0 comments

Free Shadcn/UI patterns for faster UI delivery

https://reui.io
2•shuxer0205•1h ago•1 comments

Show HN: Fix-my-mic – stop macOS from switching to AirPods mic every connection

https://github.com/yigitkonur/cli-disablemic
2•yigitkonur35•1h ago•0 comments

Formula: A VST for coding custom DSP inside your DAW

https://github.com/soundspear/formula
1•peteforde•1h ago•0 comments

A 3000W Water-Cooled Power Supply (With GAN and Sic) [video]

https://www.youtube.com/watch?v=da9GwXX-0Zs
1•dmmalam•1h ago•0 comments

OpenClaw Partners with VirusTotal for Skill Security

https://openclaw.ai/blog/virustotal-partnership
1•iskiifanhaaw•1h ago•0 comments

The Rolling Layoffs at Jack Dorsey's Block

https://www.wired.com/story/inside-rolling-layoffs-jack-dorsey-block/
4•Pasanpr•1h ago•0 comments

Ask HN: How would you distribute a privacy-first AI chat for teams?

1•shreyaspapi•1h ago•0 comments

Enable automatic coverage workflow setup

1•nishiohiroshi•1h ago•0 comments

Show HN: Resilient OpenClaw Browser Relay – Survives WS Drops and MV3 Restarts

https://github.com/Unayung/openclaw-browser-relay
1•unayung•1h ago•0 comments

Show HN: Stop Pasting Credentials in Slack

https://www.usevaultlink.com/
2•ankurbhugra•1h ago•0 comments

Show HN: Skill Check CLI for your skill.md

https://github.com/thedaviddias/skill-check
1•thedaviddias•1h 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