Configuration parameter

bonjour — PostgreSQL configuration parameter

Category Connections and Authentication Default off Change scope Postmaster

Enables advertising the server’s existence via Bonjour.

At a glance

Property Value
Parameter bonjour
Category Connections and Authentication
Default off
Value type boolean (on/off)
Change scope Server restart required (postgresql.conf)
Available in PostgreSQL 12, 13, 14, 15, 16, 17, 18, 19 (added in 12)

What it does

Enables advertising the server’s existence via Bonjour. The default is off. This parameter can only be set at server start.

(Description quoted from the official PostgreSQL documentation.)

How to apply a change

Set it in postgresql.conf (or with ALTER SYSTEM) and restart the server — this parameter cannot change without a restart.

Inspect the current value and source with SHOW bonjour; or SELECT name, setting, unit, context, source FROM pg_settings WHERE name = 'bonjour';.

Tuning guidance

This is a connectivity or security setting, not a performance knob. Choose the value from your security and network requirements (TLS files, ciphers, keepalives, authentication behaviour) rather than for throughput, and verify it against your organization’s policy. Test changes in staging, because a wrong value here can lock clients out.

Reference

PostgreSQL documentation — bonjour.

Keep going

Related & next steps

Concepts on this page

Was this helpful?

← All configuration parameters