pg_pconnect

(PHP 3, PHP 4 )

pg_pconnect -- Open a persistant PostgreSQL connection

Description

int pg_pconnect (string conn_string)

Returns a connection index on success, or false if the connection could not be made. Opens a connection to a PostgreSQL database. The arguments should be within a quoted string. The arguments available include host, port, tty, options, dbname, user, and password.

This function returns a connection index that is needed by other PostgreSQL functions. You can have multiple connections open at once.

The previous syntax of: $conn = pg_pconnect ("host", "port", "options", "tty", "dbname") has been deprecated.

See also pg_connect().


HIVE: All information for read only. Please respect copyright!
Hosted by hive КГБ: Киевская городская библиотека