(PHP 4 >= 4.3.0, PHP 5, PHP 7)
Update table
mixed pg_update ( resource $connection, string $table_name, array $data, array $condition [, int $options = PGSQL_DML_EXEC ] )
pg_update() updates records that matches condition with data. If options is specified, pg_convert() is applied to data with specified options.
Parameters:
connection
PostgreSQL database connection