A configuration parameter which is included in process titles

cluster_name is a configuration parameter, the value of which is included in process titles to assist differentiation between different PostgreSQL instances running on the same machine.

cluster_name was added in PostgreSQL 9.5.


In PostgreSQL 12 and later, if cluster_name is set, fallback_application_name will be set to that value when connecting to the upstream node.

Default value

The default value for cluster_name is: '' (empty string).

Change history


With cluster_name set to "node2":

42498   ??  Ss     0:00.03 postgres: node2: logger
42499   ??  Ss     0:00.03 postgres: node2: startup   recovering 000000010000000000000003
42500   ??  Ss     0:00.01 postgres: node2: checkpointer
42501   ??  Ss     0:00.07 postgres: node2: background writer
42502   ??  Ss     0:00.00 postgres: node2: stats collector
42503   ??  Ss     0:01.37 postgres: node2: walreceiver   streaming 0/3001F38


GUC configuration item

See also