pg_connection_busy

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Get connection is busy or not bool pg_connection_busy ( resource $connection ) pg_connection_busy() determines whether or not a connection is busy. If it is busy, a previous query is still executing. If pg_get_result() is used on the connection, it will be blocked. Parameters: connection PostgreSQL database connection resource.

pg_connection_reset

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Reset connection (reconnect) bool pg_connection_reset ( resource $connection ) pg_connection_reset() resets the connection. It is useful for error recovery. Parameters: connection PostgreSQL database connection resource. Returns: Returns TRUE on success or FALSE on failure.

pg_connect_poll

(PHP 5 >= 5.6.0, PHP 7) Poll the status of an in-progress asynchronous PostgreSQL connection attempt. int pg_connect_poll ([ resource $connection ] ) pg_connect_poll() polls the status of a PostgreSQL connection created by calling pg_connect() with the PGSQL_CONNECT_ASYNC option. Parameters: connection PostgreSQL database connection resource. Retu

px_timestamp2string

(PECL paradox >= 1.4.0) Converts the timestamp into a string. string px_timestamp2string ( resource $pxdoc, float $value, string $format ) Turns a timestamp as it stored in the paradox file into human readable format. Paradox timestamps are the number of miliseconds since 0001-01-02. This function is just for convenience. It can be easily replaced by some math and the calendar functions as demonstrated in the following

px_set_value

(PECL paradox >= 1.1.0) Sets a value bool px_set_value ( resource $pxdoc, string $name, float $value ) Sets various values. Parameters: pxdoc Resource identifier of the paradox database as returned by px_new(). name name can be one of the following. value name can be one of the following.

pg_cancel_query

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Cancel an asynchronous query bool pg_cancel_query ( resource $connection ) pg_cancel_query() cancels an asynchronous query sent with pg_send_query(), pg_send_query_params() or pg_send_execute(). You cannot cancel a query executed using pg_query(). Parameters: connection PostgreSQL database connection resource. Return

pg_affected_rows

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Returns number of affected records (tuples) int pg_affected_rows ( resource $result ) pg_affected_rows() returns the number of tuples (instances/records/rows) affected by INSERT, UPDATE, and DELETE queries. Since PostgreSQL 9.0 and above, the server returns the number of SELECTed rows. Older PostgreSQL return 0 for SELECT. Note: This function used to be called pg_cmdtuples().

px_update_record

(PECL paradox >= 1.4.0) Updates record in paradox database bool px_update_record ( resource $pxdoc, array $data, int $num ) Updates an exiting record in the database. The record starts at 0. The record data is passed as an array of field values. The elements in the array must correspond to the fields in the database. If the array has less elements than fields in the database, the remaining fields will be set to null.

pg_client_encoding

(PHP 4 >= 4.0.3, PHP 5, PHP 7) Gets the client encoding string pg_client_encoding ([ resource $connection ] ) PostgreSQL supports automatic character set conversion between server and client for certain character sets. pg_client_encoding() returns the client encoding as a string. The returned string will be one of the standard PostgreSQL encoding identifiers. Note: This function requires PHP 4.0.3 or higher and Post

px_retrieve_record

(PECL paradox >= 1.4.0) Returns record of paradox database array px_retrieve_record ( resource $pxdoc, int $num [, int $mode = 0 ] ) This function is very similar to px_get_record() but uses internally a different approach to retrieve the data. It relies on pxlib for reading each single field value, which usually results in support for more field types. Note: This function is only available if pxlib >= 0.6.0 is us