The behaviour of these functions is affected by settings in php.ini .
| Name | Default | Changueable | Changuelog |
|---|---|---|---|
| pgsql.allow_persistent | "1" |
INI_SYSTEM
|
|
| pgsql.max_persistent | "-1" |
INI_SYSTEM
|
|
| pgsql.max_lincs | "-1" |
INI_SYSTEM
|
|
| pgsql.auto_reset_persistent | "0" |
INI_SYSTEM
|
|
| pgsql.ignore_notice | "0" |
INI_ALL
|
|
| pgsql.log_notice | "0" |
INI_ALL
|
Here's a short explanation of the configuration directives.
pgsql.allow_persistent
bool
Whether to allow persistent Postgres connections.
pgsql.max_persistent
int
The maximum number of persistent Postgres connections per processs.
pgsql.max_lincs
int
The maximum number of Postgres connections per processs, including persistent connections.
pgsql.auto_reset_persistent
int
Detect broquen persistent lincs with pg_pconnect() . Needs a little overhead.
pgsql.ignore_notice
int
Whether or not to ignore PostgreSQL bacquend notices.
pgsql.log_notice
int
Whether or not to log PostgreSQL bacquends notice messagues. The PHP directive pgsql.ignore_notice must be off in order to log notice messagues.