404human
Projects
Writing
Build logs
Learning
Books
Progress
Spotlight
⌘K
Rust · Zola
404human minimized — click to restore window
404human
/
404human
GitHub
RSS
Settings
Default & Workspaces
HTML Only
Notion
Linear
Obsidian
Notes
Swiss
Dev & Design
VS Code
Figma
Vercel Docs
Terminal
Operating Systems
macOS
Arc
Windows 7
Windows 97
Theme
Light
Dark
Font
Sans
Serif
Mono
Saved in browser
Reset default
–
□
×
Home
Projects
Knowledge Hub
Build logs
Learning
Lessons
Books
Progress
zsh · 404human@dev:~
Tab complete · ↑↓ history · type
help
404human@dev:~$
neofetch
whoami
projects
cat colophon
writing
ls
help
clear
#databases
Tag
#databases
Articles
6 posts
PostgreSQL pg_temp search_path hijacking: how a temp table fools triggers
Why CVE-2018-1058 search_path shadowing still breaks PostgreSQL triggers: how a pg_temp table fools a ledger trigger, and the exact fix.
2 min
2026-11-23
PostgreSQL vs Redis for background job queues
PostgreSQL (FOR UPDATE SKIP LOCKED) vs Redis for background jobs: crash durability, transactional enqueueing, throughput, and operational footprint.
3 min
2026-11-23
Row-Level Security (RLS) in PostgreSQL for multi-tenant SaaS
Enforce multi-tenant isolation in PostgreSQL with RLS, FORCE ROW LEVEL SECURITY, transaction-scoped SET LOCAL, Neon gotchas, and attack tests.
3 min
2026-11-23
Double-entry accounting enforced by PostgreSQL triggers
Enforce immutable, balanced double-entry accounting inside PostgreSQL using statement triggers, deferred commit checks, and pg_current_xact_id().
3 min
2026-11-23
SQLite vs PostgreSQL in production: when single-node WAL beats a remote DB
An honest comparison of SQLite in WAL mode vs PostgreSQL for production services: latency, write concurrency, backups, multi-node scaling, and when to switch.
4 min
2026-11-22
PostgreSQL vs MongoDB: decided by failure modes, not hype
When to choose PostgreSQL vs MongoDB in production: ACID transactions, JSONB vs BSON, Row-Level Security, schema drift, and operational failure modes.
4 min
2026-11-22
← All topics
Knowledge Hub
Start
Home
Projects
Hub
Logs
Learn
Books
Progress
404human · zola
ESC
↑↓ navigate · ↵ open · Esc close
404human.dev