WeSearch

Christophe Pettus: All Your GUCs in a Row: cluster_name

·2 min read · 0 reactions · 0 comments · 11 views
#postgresql#database#replication
Christophe Pettus: All Your GUCs in a Row: cluster_name
⚡ TL;DR · AI summary

The article discusses the importance of the cluster_name parameter in PostgreSQL for distinguishing between multiple instances. While it primarily serves as a cosmetic label, it also plays a crucial role in synchronous replication for standby servers. Properly managing this parameter can prevent operational issues and improve clarity in process listings.

Key facts
Original article
Postgr
Read full at Postgr →
Opening excerpt (first ~120 words) tap to expand

2026-05-26 3 min PostgreSQL All Your GUCs in a Row: cluster_name cluster_name looks like a cosmetic: a label that shows up in ps output so you can tell your three postgres instances apart. On a primary, that’s all it is. On a standby, it can quietly become the name the primary uses to decide whether synchronous replication is satisfied, which is a much bigger job for a parameter most people set and forget. The default is the empty string, meaning no name and no change to the process title. The context is postmaster, so setting it costs a restart; that’s fine, because this is a label rather than a knob, and you set a label once at provisioning time. It arrived in PostgreSQL 9.5.

Excerpt limited to ~120 words for fair-use compliance. The full article is at Postgr.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from Postgr