frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Running Ubuntu on the Lenovo IdeaPad Duet

https://vhaudiquet.fr/blog/duet-ubuntu/
1•vhaudiquet•3m ago•0 comments

Show HN: reqlan – a language for requirement graphs next to the code

https://reqlan.com
1•littletuna4•3m ago•0 comments

Account Deactivated Due to Biological Research

https://www.reddit.com/r/OpenAI/comments/1wd5kpp/account_deactivated_due_to_biological_research/
1•bithammerthunde•9m ago•0 comments

Show HN: VideoHighlighter – offline self-hosted video analyzer

https://github.com/Aseiel/VideoHighlighter
2•Aseiel•11m ago•0 comments

Why is a Nix rollback just a symlink flip?

https://www.labcraft.dev/blog/nix-profiles-generations
2•anandsuresh•15m ago•0 comments

Veilid for Everyone

https://veilid.com/why-use-veilid/
2•Bluestein•17m ago•0 comments

Interpreting Pangram

https://lucumr.pocoo.org/2026/9/14/interpreting-pangram/
2•swah•19m ago•0 comments

Autopoietic Ethics Constitution

https://www.guidavid.com/writing/autopoietic-ethics-constitution.txt
2•gdss•20m ago•0 comments

Personal Statement on AI Risk (Daniel Selsam, OpenAI capabilities)

https://docs.google.com/document/d/e/2PACX-1vQNl3SEX5IyA6d9qHjjFZN-qzGRZNFI6b63g-yu1Fy-ZYkVfCWm7i...
3•yurivish•20m ago•0 comments

Charts Built for Chat

https://dbtcharts.com/blog/charts-built-for-chat/
8•thingsilearned•21m ago•2 comments

One Android app. Why so many processes?

https://returnzero.dev/articles/one-android-app-why-so-many-processes
2•theanonymousone•21m ago•0 comments

Land Is Scarce, Just Burn Your Trash

https://www.governance.fyi/p/land-is-scarce-just-burn-your-trash
2•guardianbob•21m ago•0 comments

Tell HN: iOS 27 does not allow Apple Intelligence to be disabled

8•nunez•21m ago•0 comments

Echo: A shader editor shader editor

https://echo.hughsk.io/docs/reference
2•hughsk•23m ago•0 comments

Show HN: DevRecap – reconstruct what you worked on from Codex and Git

https://github.com/jquinteiroo/devrecap
3•jquint•24m ago•0 comments

O Empire Ward Off Thy Rot [video]

https://www.youtube.com/watch?v=ehPDch6mAFw
2•pusewicz•24m ago•0 comments

Nobody's safe from misaligned AI-not even the people building it

3•causal-alignmen•25m ago•0 comments

Not the Glue They Thought It Was

https://www.science.org/content/blog-post/not-glue-they-thought-it-was
1•EA-3167•27m ago•0 comments

Mark Zuckerberg: A profile of history's largest non-territorial empire

https://colossus.com/article/mark-zuckerberg-profile/
1•IshanMi•27m ago•0 comments

DeepSeek Is Down

https://openrouter.ai/deepseek/deepseek-v4.1-flash
2•dofi4ka•28m ago•0 comments

Why Beyond Vanilla RAG?

https://chandula7.gumroad.com/l/AgenticRAGFundamentals
4•lokizzz•28m ago•2 comments

A single firm is behind OpenAI, Anthropic, and Meta hacking scandals

https://www.effort.news/irregular
37•yusufozkan•28m ago•7 comments

Ollama 0.33.3 changed what prompt_eval_duration measures

https://lognebudo.github.io/llmxray/docs/en/articles/ollama-prefill-metrics.html
1•lognebudo•28m ago•0 comments

Fathom (YC W21) is being acquired by Superhuman

https://www.fathom.ai/superhuman
1•jorts•31m ago•1 comments

Personal Statement on AI Risk

https://docs.google.com/document/u/0/d/e/2PACX-1vQNl3SEX5IyA6d9qHjjFZN-qzGRZNFI6b63g-yu1Fy-ZYkVfC...
1•mellosouls•31m ago•1 comments

California lawmakers urge criminal penalties emergency legislation to rein in AI

https://www.latimes.com/california/story/2026-09-13/rogue-ai-concerns-prompt-ca-lawmakers-to-dema...
1•1vuio0pswjnm7•32m ago•0 comments

SWE-Bench Multimodal: Do AI Systems Generalize to Visual Software Domains?

https://www.swebench.com/multimodal.html
1•matt_d•34m ago•0 comments

New EU Repair Rules [video]

https://www.youtube.com/watch?v=N66XA9UwaRA
1•franczesko•35m ago•0 comments

A Generalizable Light Transport 3D Embedding for Global Illumination

https://dl.acm.org/doi/full/10.1145/3799902.3811095
1•ibobev•37m ago•0 comments

RoofLang: Enabling AI-Driven Architecting of LLM Inference Systems

https://arxiv.org/abs/2609.12551
2•matt_d•37m 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