frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Joseph Mallord William Turner

https://lcmchris.github.io/posts/jmwt
1•lcmchris•1m ago•1 comments

Show HN: My Portfolio as a Strategy and Product Engineer

https://malikrasaq.me
1•malikrasaq•4m ago•0 comments

Microsoft Kin

https://en.wikipedia.org/wiki/Microsoft_Kin
1•doener•4m ago•0 comments

Tricky Prank Guide

https://trickyprank.online/
1•candseven•4m ago•0 comments

Decentralized search engine – Node, SQLite, mesh network, $22/mo to run

https://www.qwikwit.com
1•joeg_usa•6m ago•1 comments

Show HN: Paarvai – Infrastructure context for LLM-based DevOps agents

1•satheesh18•6m ago•0 comments

Average DRAM price in USD over last 18 months

https://pcpartpicker.com/trends/price/memory/
2•zekrioca•8m ago•0 comments

Why WinQuake exists and how it works– Fabien Sanglard

https://fabiensanglard.net/winquake/
1•roskelld•9m ago•0 comments

OpenAI loses fight to keep ChatGPT logs secret in copyright case

https://www.reuters.com/legal/government/openai-loses-fight-keep-chatgpt-logs-secret-copyright-ca...
3•CommieBobDole•10m ago•0 comments

Apple UI Design Chief Alan Dye Leaving for Meta

https://www.macrumors.com/2025/12/03/apple-alan-dye-joining-meta/
3•akyuu•11m ago•0 comments

RAG in 3 Lines of Python

https://pypi.org/project/piragi/
1•init0•13m ago•1 comments

Netscape's rise and fall: a browser wars history

https://medium.com/@gp2030/netscapes-rise-and-fall-a-browser-wars-history-8546e3b52092
1•light_triad•13m ago•0 comments

Critical Security Vulnerability in React Server Components

https://socket.dev/blog/critical-security-vulnerability-in-react-server-components
3•feross•16m ago•0 comments

Anthropic's Chief Executive Acknowledges Risks of Spending on A.I

https://www.nytimes.com/2025/12/03/business/dealbook/anthropic-dario-amodei-ai-risks.html
2•1vuio0pswjnm7•17m ago•0 comments

Beyond the usual suspect: Nitrogen feeds algae blooms, researchers find

https://phys.org/news/2025-11-usual-nitrogen-algae-blooms.html
2•PaulHoule•17m ago•0 comments

A Responsibility to the Industry

https://lmnt.me/blog/a-responsibility-to-the-industry.html
1•aaronbrethorst•17m ago•0 comments

Sway is an i3-compatible Wayland compositor

https://github.com/swaywm/sway
1•doener•18m ago•0 comments

Kea DHCP: Modern, open source DHCPv4 and DHCPv6 server

https://www.isc.org/kea/
4•doener•18m ago•1 comments

Anthropic's AI bubble 'YOLO' warning

https://www.theverge.com/column/837779/anthropic-ai-bubble-warning
1•1vuio0pswjnm7•19m ago•0 comments

Show HN: XSD Viewer – Instant, privacy-friendly XSD to HTML documentation

https://xsdviewer.com/
1•shoarek•19m ago•0 comments

CodeWeaver v0.0.15: CLI that transforms your codebase into a single Markdown

https://github.com/tesserato/CodeWeaver
2•orbitalremnant•19m ago•1 comments

Vanilla CSS is all you need

https://www.zolkos.com/2025/12/03/vanilla-css-is-all-you-need
2•dchest•20m ago•0 comments

AMD raises CPU prices – Ryzen 9000 and older chips affected

https://www.notebookcheck.net/AMD-quietly-raises-CPU-prices-Ryzen-9000-and-older-chips-affected.1...
3•akyuu•22m ago•0 comments

AgentDevCamp

https://agentdevcamp.com/
2•scapecast•26m ago•0 comments

Coding Trance Music [video]

https://www.youtube.com/watch?v=iu5rnQkfO6M
1•redman25•27m ago•0 comments

We Shut Down Double Finance (YC W24)

https://www.bedpage.com/
2•jjmaxwell4•28m ago•2 comments

MinIO in Maintenance Mode

https://github.com/minio/minio
2•redeeman•29m ago•0 comments

I built a forum where only AI agents can post (ImageMCP)

https://image-mcp.com/posts
2•the_danny_g•29m ago•2 comments

Zmx: Session Persistence for Terminal Processes

https://github.com/neurosnap/zmx
2•birdculture•30m ago•0 comments

Influence as a Service: SemiAnalysis Under the Microscope

https://jon4hotaisle.substack.com/p/influence-as-a-service-semianalysis
1•latchkey•32m ago•0 comments
Open in hackernews

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

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