php8.5
Home/ Manual/ reference / pgsql/ PostgreSQL configuration options

PostgreSQL configuration options

PostgreSQL configuration optionsNameDefaultChangeableChangelogpgsql.allow_persistent"1"INI_SYSTEMpgsql.max_persistent"-1"INI_SYSTEMpgsql.max_links"-1"INI_SYSTEMpgsql.auto_reset_persistent"0"INI_SYSTEMpgsql.ignore_notice"0"INI_ALLpgsql.log_notice"0"INI_ALL Constants

Runtime Runtime

NameDefaultChangeableChangelog
pgsql.allow_persistent"1"INI_SYSTEM
pgsql.max_persistent"-1"INI_SYSTEM
pgsql.max_links"-1"INI_SYSTEM
pgsql.auto_reset_persistent"0"INI_SYSTEM
pgsql.ignore_notice"0"INI_ALL
pgsql.log_notice"0"INI_ALL

Constants

Title

pgsql.allow_persistentbool

Whether to allow persistent Postgres connections.

pgsql.max_persistentint

The maximum number of persistent Postgres connections per process.

pgsql.max_linksint

The maximum number of Postgres connections per process, including persistent connections.

pgsql.auto_reset_persistentint

Detect broken persistent links with pg_pconnect(). Needs a little overhead.

pgsql.ignore_noticeint

Whether or not to ignore PostgreSQL backend notices.

pgsql.log_noticeint

Whether or not to log PostgreSQL backends notice messages. The PHP directive pgsql.ignore_notice must be off in order to log notice messages.

Source: reference/pgsql/ini.xml · from the official PHP manual (php/doc-en)