· 4 min · 4D, PostgreSQL

Ontogeny Recapitulates the Relcache

Jacob Jackson at ByteofDev built something I can only describe as admirably irresponsible (and something I wish I had thought of first): claudegres, a “PostgreS

0 comments

· 3 min · PostgreSQL

All Your GUCs in a Row: idle_session_timeout

Idle sessions consume connection slots and backend memory—not locks or xmin. Learn when and how to reap them without sabotaging your connection pooler.

0 comments

· 3 min · PostgreSQL

All Your GUCs in a Row: idle_replication_slot_timeout

Replication slots promise to keep WAL forever—until PostgreSQL 18's new `idle_replication_slot_timeout` puts an expiration date on abandoned ones before they…

0 comments

· 4 min · PostgreSQL

All Your GUCs in a Row: idle_in_transaction_session_timeout

Idle transactions hold locks and block vacuums, turning one forgotten connection into a cascading outage.

0 comments

· 4 min · PostgreSQL

All Your GUCs in a Row: ident_file

ident_file tells the server where pg_ident.conf lives, but when it's wrong, the server just logs a quiet failure and keeps running.

0 comments

· 5 min · PostgreSQL

All Your GUCs in a Row: hot_standby_feedback

`hot_standby_feedback` trades primary bloat to prevent query cancellations on standbys—but it only stops cleanup conflicts, not lock or drop conflicts, and…

0 comments

· 5 min · PostgreSQL

All Your GUCs in a Row: hot_standby

PostgreSQL's hot_standby switch transforms a spare server into a readable replica, but the real tuning work happens elsewhere.

0 comments

· 3 min · PostgreSQL

All Your GUCs in a Row: hba_file

hba_file points to your authentication rules, not the rules themselves. Reload changes to pg_hba.conf instantly; restart when moving the file.

0 comments

· 5 min · PostgreSQL

All Your GUCs in a Row: hash_mem_multiplier

Hash and sort operations have wildly different relationships with memory, and `hash_mem_multiplier` lets you feed them separately.

0 comments

· 6 min · PostgreSQL

All Your GUCs in a Row: gss_accept_delegation

PostgreSQL 16 lets servers accept delegated Kerberos credentials to act as users against other services, but it defaults to off because the trade-off is real…

0 comments