PostgreSQL Functions (PDO_PGSQL)


PDO_PGSQL is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to PostgreSQL databases.

Tipos de Recurso

This extension defines a stream resource returned by PDO::pgsqlLOBOpen().


Use --with-pdo-pgsql[=DIR] to install the PDO PostgreSQL extension, where the optional [=DIR] is the PostgreSQL base install directory, or the path to pg_config.

$ ./configure --with-pdo-pgsql


add a note add a note

User Contributed Notes 1 note

S. Jalali
1 month ago
It seems PGSQL should be installed prior to using this option. Please clarify by adding to this note whether PHP build will succeed or fail if that is not the case. Similar comment should be made either at a general level at the top or with each such specific "enable" or "with" option.
To Top