frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

US Military personnel are reportedly being targeted using location data

https://www.reuters.com/business/media-telecom/pentagon-says-us-military-personnel-are-reportedly...
1•geox•49s ago•0 comments

Canopy Guard – Free audit tool: 47 signals across SEO, AEO, GEO

https://www.thecanopyguard.com/
1•adammcclarin•57s ago•0 comments

Cloudflare's data platform and the AI agent on top of it

https://blog.cloudflare.com/our-unified-data-platform/
1•jgrahamc•2m ago•0 comments

SIE: Unified Inference Engine for Embeddings, Reranking, and Extraction

https://github.com/superlinked/sie
1•modinfo•2m ago•0 comments

Project Lightwell: Securing the open source supply chain

https://www.redhat.com/en/lightwell
2•my2c•3m ago•0 comments

Google Hates You

https://www.sfgate.com/tech/article/new-google-ai-22279112.php
4•speckx•6m ago•0 comments

Just Use Postgres for Durable Workflows

https://www.dbos.dev/blog/postgres-is-all-you-need-for-durable-execution
3•KraftyOne•7m ago•0 comments

Hank Green: How to Fix the Internet

https://time.com/article/2026/05/07/how-to-fix-the-internet/
2•cpeterso•8m ago•0 comments

Qwen vs. Proust: Injecting novels into a local model's prompt

https://robertkarl.net/blog/2026/May/28/qwen-vs-proust-injecting-entire-novels-into-a-local-model...
2•robertkarl•10m ago•0 comments

Show HN: AI IDE that converts websites and designs into code

https://velork.com
1•aliadelelroby•10m ago•1 comments

The A16Z FDE Fellowship

https://www.a16z.news/p/introducing-the-a16z-fde-fellowship
1•Zhenya•10m ago•0 comments

DNS: A Replacement for Finger

https://blawg.nochan.net/b/Internet-Crap/20260527-DNS-A-Replacement-For-Finger/
2•Bender•13m ago•0 comments

Kenosis – Quantize ONNX models without breaking kernel fusion

https://github.com/CoreEpoch/kenosis
1•CoreEpoch•14m ago•1 comments

What it's like to have your insulin pump die while you're on vacation

https://blog.lauramichet.com/what-its-like-to-have-the-machine-that-keeps-you-alive-die-while-you...
2•speckx•15m ago•0 comments

Build Personal Web Applications

https://blog.roastidio.us/posts/personal_web_application/
2•derekzhouzhen•15m ago•1 comments

Show HN: A CSP header scanner that explains what's unsafe

https://cspradar.com/tools/csp-scanner
1•Lasek•17m ago•0 comments

How do you catch AI agent regressions after prompt or model changes?

1•1taimoorkhan0•18m ago•0 comments

Show HN: LINQ CLI – an iMessage API you can use from the command line

https://linqapp.com/cli
7•patsully88•18m ago•2 comments

Show HN: Bootstrap a team of coding agents from a template, OSS

https://github.com/awebai/aweb-team-coord-worktrees
2•juanre•18m ago•0 comments

Show HN: I built an autonomous cofounder for my side projects

https://www.iterationmachine.com/
2•sarbak•19m ago•0 comments

Incorruptible: Why Good Companies Go Bad and How Great Companies Stay Great

https://www.incorruptible.co
2•tcumulus•19m ago•1 comments

PostHog training on end-users; Indie Alternatives?

3•mrr7337•20m ago•2 comments

libffi: A portable foreign-function interface library

https://github.com/libffi/libffi
3•tosh•20m ago•0 comments

Show HN: Agmsg – let Claude Code and Codex message each other (bash and SQLite)

https://github.com/fujibee/agmsg
3•fujibee•21m ago•0 comments

A CS researcher's unusually high h-index exposes an expansive citation network

https://retractionwatch.com/2026/05/27/h-index-citation-networks-retractions-special-issues/
3•leephillips•23m ago•1 comments

SecOpsium – Security validation for dev teams without a security engineer

https://secopsium.com
2•Wael_Matoussi•24m ago•0 comments

MAME 0.288

https://www.mamedev.org/?p=564
2•chungy•25m ago•0 comments

Our Military Is Built for the Wrong Century

https://www.nytimes.com/2026/05/28/opinion/military-iran-ukraine-russia-war-drones.html
4•Teever•26m ago•0 comments

About LLMs at Zig Days

https://kristoff.it/blog/llms-at-zig-days/
4•kristoff_it•28m ago•1 comments

The Cursor Developer Habits Report

https://cursor.com/insights
3•gk1•28m ago•0 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