PostgreSQL 설치 런타임 구성
이러한 함수의 동작은 php.ini의 설정에 영향을 받습니다.
PostgreSQL 구성 옵션
Name | Default | Changeable | Changelog |
---|---|---|---|
pgsql.allow_persistent | "1" | PHP_INI_SYSTEM | |
pgsql.max_persistent | "-1" | PHP_INI_SYSTEM | |
pgsql.max_links | "-1" | PHP_INI_SYSTEM | |
pgsql.auto_reset_persistent | "0" | PHP_INI_SYSTEM | |
pgsql.ignore_notice | "0" | PHP_INI_ALL | |
pgsql.log_notice | "0" | PHP_INI_ALL |
PHP_INI_* 모드에 대한 자세한 내용과 정의는 구성 설정을 설정할 수 있는 위치를 참조하세요. 다음은 구성 지시문에 대한 간단한 설명입니다.
pgsql.allow_persistent
bool- 지속적인 Postgres 연결을 허용할지 여부입니다.
pgsql.max_persistent
int- 프로세스당 최대 영구 Postgres 연결 수입니다.
pgsql.max_links
int- 영구 연결을 포함하여 프로세스당 최대 Postgres 연결 수입니다.
pgsql.auto_reset_persistent
int- pg_pconnect()로 끊어진 영구 링크를 감지합니다. 약간의 오버헤드가 필요합니다.
pgsql.ignore_notice
int- PostgreSQL 백엔드 알림을 무시할지 여부입니다.
pgsql.log_notice
int- PostgreSQL 백엔드 알림 메시지를 기록할지 여부입니다. 알림 메시지를 기록하려면 PHP 지시문 pgsql.ignore_notice가 꺼져 있어야 합니다.