PHP. Руководство по PHP. 2005
pg_ping
pg_ping
Описание
bool pg_ping ([resource connection])pg_ping() pings a database connection and tries to
reconnect it if it is broken.
Список параметров
- connection
-
PostgreSQL database connection resource. When
connection is not present, the default connection
is used. The default connection is the last connection made by
Возвращаемые значения
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
Смотрите также
pg_connection_status() |
pg_connection_reset() |
pg_pconnect
pg_port
Отвечу на любые вопросы. С уважением, Дмитрий Владимирович.