(PHP 4 >= 4.3.0, PHP 5, PHP 7)
Select records
mixed pg_select ( resource $connection, string $table_name, array $assoc_array [, int $options = PGSQL_DML_EXEC ] )
pg_select() selects records specified by assoc_array which has field=>value. For a successful query, it returns an array containing all records and fields that match the condition specified by assoc_array.
If options is specified, pg_convert() is applied t