diff --git a/reference/pgsql/functions/pg-affected-rows.xml b/reference/pgsql/functions/pg-affected-rows.xml index 6b59e3f3fc..3171807ceb 100644 --- a/reference/pgsql/functions/pg-affected-rows.xml +++ b/reference/pgsql/functions/pg-affected-rows.xml @@ -1,13 +1,14 @@ - + pg_affected_rows Returns number of affected records (tuples) - - Description + + + &reftitle.description; intpg_affected_rows resourceresult @@ -37,9 +38,15 @@ This function used to be called pg_cmdtuples(). + + + + &reftitle.seealso; - See also pg_query and - pg_num_rows. + + pg_query + pg_num_rows + diff --git a/reference/pgsql/functions/pg-cancel-query.xml b/reference/pgsql/functions/pg-cancel-query.xml index c9c5399f9e..6131234bff 100644 --- a/reference/pgsql/functions/pg-cancel-query.xml +++ b/reference/pgsql/functions/pg-cancel-query.xml @@ -1,5 +1,5 @@ - + @@ -8,20 +8,27 @@ Cancel asynchronous query - - Description - - boolpg_cancel_query - resourceconnection - + + + &reftitle.description; + + boolpg_cancel_query + resourceconnection + pg_cancel_query cancel asynchronous query sent by pg_send_query. You cannot cancel query executed by pg_query. + + + + &reftitle.seealso; - See also pg_send_query and - pg_connection_busy. + + pg_send_query + pg_connection_busy + diff --git a/reference/pgsql/functions/pg-client-encoding.xml b/reference/pgsql/functions/pg-client-encoding.xml index 1108cbad79..e5439f75ba 100644 --- a/reference/pgsql/functions/pg-client-encoding.xml +++ b/reference/pgsql/functions/pg-client-encoding.xml @@ -1,5 +1,5 @@ - + @@ -8,12 +8,13 @@ Gets the client encoding - - Description - - stringpg_client_encoding - resourceconnection - + + + &reftitle.description; + + stringpg_client_encoding + resourceconnection + pg_client_encoding returns the client encoding as the string. The returned string should be either : @@ -34,8 +35,14 @@ The function used to be called pg_clientencoding. + + + + &reftitle.seealso; - See also pg_set_client_encoding. + + pg_set_client_encoding + diff --git a/reference/pgsql/functions/pg-close.xml b/reference/pgsql/functions/pg-close.xml index 68ef23728a..0cc27644bf 100644 --- a/reference/pgsql/functions/pg-close.xml +++ b/reference/pgsql/functions/pg-close.xml @@ -1,17 +1,18 @@ - + pg_close Closes a PostgreSQL connection - - Description - - boolpg_close - resourceconnection - + + + &reftitle.description; + + boolpg_close + resourceconnection + pg_close closes the non-persistent connection to a PostgreSQL database associated with the given @@ -24,6 +25,14 @@ of the script. + + If there is open large object resource on the connection, do not + close the connection before closing all large object resources. + + + + + &reftitle.examples; <function>pg_close</function> example @@ -39,10 +48,6 @@ - - If there is open large object resource on the connection, do not - close the connection before closing all large object resources. - diff --git a/reference/pgsql/functions/pg-connect.xml b/reference/pgsql/functions/pg-connect.xml index 783b044fb6..3b7a44cc95 100644 --- a/reference/pgsql/functions/pg-connect.xml +++ b/reference/pgsql/functions/pg-connect.xml @@ -1,13 +1,14 @@ - + pg_connect Open a PostgreSQL connection - - Description + + + &reftitle.description; resourcepg_connect stringconnection_string @@ -24,27 +25,8 @@ resource on success. It returns &false; if the connection could not be made. connection_string should be a quoted string. - - Using <function>pg_connect</function> - - -]]> - - + + The arguments available for connection_string includes host, port, @@ -67,11 +49,47 @@ $dbconn4 = pg_connect($conn_string); $conn = pg_connect("host", "port", "options", "tty", "dbname") has been deprecated. + + + + &reftitle.examples; - See also pg_pconnect, - pg_close, pg_host, - pg_port, pg_tty, - pg_options and pg_dbname. + + Using <function>pg_connect</function> + + +]]> + + + + + + + &reftitle.seealso; + + + pg_pconnect + pg_close + pg_host + pg_port + pg_tty + pg_options + pg_dbname + diff --git a/reference/pgsql/functions/pg-connection-busy.xml b/reference/pgsql/functions/pg-connection-busy.xml index f4b082d326..f29f175def 100644 --- a/reference/pgsql/functions/pg-connection-busy.xml +++ b/reference/pgsql/functions/pg-connection-busy.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Get connection is busy or not - - Description + + + &reftitle.description; boolpg_connection_busy resourceconnection @@ -19,6 +20,10 @@ connection is busy. If it is busy, a previous query is still executing. If pg_get_result is called, it will be blocked. + + + + &reftitle.examples; <function>pg_connection_busy</function> example @@ -37,9 +42,15 @@ + + + + &reftitle.seealso; - See also pg_connection_status and - pg_get_result. + + pg_connection_status + pg_get_result + diff --git a/reference/pgsql/functions/pg-connection-reset.xml b/reference/pgsql/functions/pg-connection-reset.xml index 15257a010b..c6312a55e3 100644 --- a/reference/pgsql/functions/pg-connection-reset.xml +++ b/reference/pgsql/functions/pg-connection-reset.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Reset connection (reconnect) - - Description + + + &reftitle.description; boolpg_connection_reset resourceconnection @@ -18,6 +19,10 @@ pg_connection_reset resets the connection. It is useful for error recovery. &return.success; + + + + &reftitle.examples; <function>pg_connection_reset</function> example @@ -36,10 +41,16 @@ + + + + &reftitle.seealso; - See also pg_connect, - pg_pconnect and - pg_connection_status. + + pg_connect + pg_pconnect + pg_connection_status + diff --git a/reference/pgsql/functions/pg-connection-status.xml b/reference/pgsql/functions/pg-connection-status.xml index e71feb1171..41f86f75b3 100644 --- a/reference/pgsql/functions/pg-connection-status.xml +++ b/reference/pgsql/functions/pg-connection-status.xml @@ -1,5 +1,5 @@ - + @@ -8,18 +8,23 @@ Get connection status - - Description - - intpg_connection_status - resourceconnection - + + + &reftitle.description; + + intpg_connection_status + resourceconnection + pg_connection_status returns a connection status. Possible statuses are PGSQL_CONNECTION_OK and PGSQL_CONNECTION_BAD. The return value 0 as integer indicates a valid connection. + + + + &reftitle.examples; <function>pg_connection_status</function> example @@ -38,8 +43,14 @@ + + + + &reftitle.seealso; - See also pg_connection_busy. + + pg_connection_busy + diff --git a/reference/pgsql/functions/pg-convert.xml b/reference/pgsql/functions/pg-convert.xml index 49efde6a20..4dda801f8b 100644 --- a/reference/pgsql/functions/pg-convert.xml +++ b/reference/pgsql/functions/pg-convert.xml @@ -1,5 +1,5 @@ - + @@ -8,15 +8,16 @@ Convert associative array value into suitable for SQL statement - - Description - - arraypg_convert - resourceconnection - stringtable_name - arrayassoc_array - intoptions - + + + &reftitle.description; + + arraypg_convert + resourceconnection + stringtable_name + arrayassoc_array + intoptions + pg_convert checks and converts the values in assoc_array into suitable values for use in a SQL @@ -28,9 +29,15 @@ values on success, &false; otherwise. &warn.experimental.func; + + + + &reftitle.seealso; - See also pg_meta_data. - + + pg_meta_data + + diff --git a/reference/pgsql/functions/pg-copy-from.xml b/reference/pgsql/functions/pg-copy-from.xml index 6c366d0481..c18a46c1cc 100644 --- a/reference/pgsql/functions/pg-copy-from.xml +++ b/reference/pgsql/functions/pg-copy-from.xml @@ -1,5 +1,5 @@ - + @@ -8,24 +8,31 @@ Insert records into a table from an array - - Description - - boolpg_copy_from - resourceconnection - stringtable_name - arrayrows - stringdelimiter - stringnull_as - + + + &reftitle.description; + + boolpg_copy_from + resourceconnection + stringtable_name + arrayrows + stringdelimiter + stringnull_as + pg_copy_from insert records into a table from rows. It issues COPY FROM SQL command internally to insert records. &return.success; + + + + &reftitle.seealso; - See also pg_copy_to. + + pg_copy_to + diff --git a/reference/pgsql/functions/pg-copy-to.xml b/reference/pgsql/functions/pg-copy-to.xml index b342058999..f70a831b66 100644 --- a/reference/pgsql/functions/pg-copy-to.xml +++ b/reference/pgsql/functions/pg-copy-to.xml @@ -1,5 +1,5 @@ - + @@ -8,23 +8,30 @@ Copy a table to an array - - Description - - arraypg_copy_to - resourceconnection - stringtable_name - stringdelimiter - stringnull_as - + + + &reftitle.description; + + arraypg_copy_to + resourceconnection + stringtable_name + stringdelimiter + stringnull_as + pg_copy_to copies a table to an array. It issues COPY TO SQL command internally to retrieve records. The resulting array is returned. It returns &false; on failure. + + + + &reftitle.seealso; - See also pg_copy_from. + + pg_copy_from + diff --git a/reference/pgsql/functions/pg-dbname.xml b/reference/pgsql/functions/pg-dbname.xml index 8871909583..e9b8c24e1a 100644 --- a/reference/pgsql/functions/pg-dbname.xml +++ b/reference/pgsql/functions/pg-dbname.xml @@ -1,23 +1,28 @@ - + pg_dbname Get the database name - - Description - - stringpg_dbname - resourceconnection - + + + &reftitle.description; + + stringpg_dbname + resourceconnection + pg_dbname returns the name of the database that the given PostgreSQL connection resource. It returns &false;, if connection is not a valid PostgreSQL connection resource. + + + + &reftitle.examples; <function>pg_dbname</function> example diff --git a/reference/pgsql/functions/pg-delete.xml b/reference/pgsql/functions/pg-delete.xml index ffa5dc83b9..c80e3a3cc0 100644 --- a/reference/pgsql/functions/pg-delete.xml +++ b/reference/pgsql/functions/pg-delete.xml @@ -1,5 +1,5 @@ - + @@ -8,15 +8,16 @@ Deletes records - - Description - - mixedpg_delete - resourceconnection - stringtable_name - arrayassoc_array - intoptions - + + + &reftitle.description; + + mixedpg_delete + resourceconnection + stringtable_name + arrayassoc_array + intoptions + pg_delete deletes record condition specified by assoc_array which has @@ -24,6 +25,10 @@ specified, pg_convert is applied to assoc_array with specified option. + + + + &reftitle.examples; <function>pg_delete</function> example @@ -44,9 +49,15 @@ &warn.experimental.func; + + + + &reftitle.seealso; - See also pg_convert. - + + pg_convert + + diff --git a/reference/pgsql/functions/pg-end-copy.xml b/reference/pgsql/functions/pg-end-copy.xml index 6d28fc90f1..db5be676d7 100644 --- a/reference/pgsql/functions/pg-end-copy.xml +++ b/reference/pgsql/functions/pg-end-copy.xml @@ -1,17 +1,18 @@ - + pg_end_copy Sync with PostgreSQL backend - - Description - - boolpg_end_copy - resourceconnection - + + + &reftitle.description; + + boolpg_end_copy + resourceconnection + pg_end_copy syncs the PostgreSQL frontend (usually a web server process) with the PostgreSQL server after @@ -20,9 +21,14 @@ must be issued, otherwise the PostgreSQL server may get out of sync with the frontend and will report an error. &return.success; + + + + &reftitle.seealso; - For further details and an example, see also - pg_put_line. + + pg_put_line + diff --git a/reference/pgsql/functions/pg-escape-bytea.xml b/reference/pgsql/functions/pg-escape-bytea.xml index 3a316ab828..43f8a6885c 100644 --- a/reference/pgsql/functions/pg-escape-bytea.xml +++ b/reference/pgsql/functions/pg-escape-bytea.xml @@ -1,5 +1,5 @@ - + @@ -8,12 +8,13 @@ Escape binary for bytea type - - Description - - stringpg_escape_bytea - stringdata - + + + &reftitle.description; + + stringpg_escape_bytea + stringdata + pg_escape_bytea escapes string for bytea datatype. It returns escaped string. @@ -34,9 +35,15 @@ stream error. User must cast to bytea to avoid this error. + + + + &reftitle.seealso; - See also pg_unescape_bytea and - pg_escape_string. + + pg_unescape_bytea + pg_escape_string + diff --git a/reference/pgsql/functions/pg-escape-string.xml b/reference/pgsql/functions/pg-escape-string.xml index 048cd36c7d..2c8117909c 100644 --- a/reference/pgsql/functions/pg-escape-string.xml +++ b/reference/pgsql/functions/pg-escape-string.xml @@ -1,5 +1,5 @@ - + @@ -8,12 +8,13 @@ Escape string for text/char type - - Description - - stringpg_escape_string - stringdata - + + + &reftitle.description; + + stringpg_escape_string + stringdata + pg_escape_string escapes string for text/char datatype. It returns escaped string for @@ -25,8 +26,14 @@ This function requires PostgreSQL 7.2 or later. + + + + &reftitle.seealso; - See also pg_escape_bytea + + pg_escape_bytea + diff --git a/reference/pgsql/functions/pg-fetch-all.xml b/reference/pgsql/functions/pg-fetch-all.xml index 51df4331ca..b13d3beabf 100644 --- a/reference/pgsql/functions/pg-fetch-all.xml +++ b/reference/pgsql/functions/pg-fetch-all.xml @@ -1,23 +1,28 @@ - + pg_fetch_all Fetches all rows from a result as an array - - Description - - arraypg_fetch_all - resourceresult - + + + &reftitle.description; + + arraypg_fetch_all + resourceresult + pg_fetch_all returns an array that contains all rows (tuples/records) in result resource. It returns &false;, if there are no rows. &database.fetch-null; + + + + &reftitle.examples; PostgreSQL fetch all @@ -45,11 +50,17 @@ var_dump($arr); + + + + &reftitle.seealso; - See also pg_fetch_row, - pg_fetch_array, - pg_fetch_object and - pg_fetch_result. + + pg_fetch_row + pg_fetch_array + pg_fetch_object + pg_fetch_result + diff --git a/reference/pgsql/functions/pg-fetch-array.xml b/reference/pgsql/functions/pg-fetch-array.xml index d114bfd2ab..9a69eee850 100644 --- a/reference/pgsql/functions/pg-fetch-array.xml +++ b/reference/pgsql/functions/pg-fetch-array.xml @@ -1,19 +1,20 @@ - + pg_fetch_array Fetch a row as an array - - Description - - arraypg_fetch_array - resourceresult - introw - intresult_type - + + + &reftitle.description; + + arraypg_fetch_array + resourceresult + introw + intresult_type + pg_fetch_array returns an array that corresponds to the fetched row (tuples/records). It returns @@ -53,6 +54,17 @@ slower than using pg_fetch_row, while it provides a significant ease of use. + + + From 4.1.0, row became optional. + Calling pg_fetch_array will increment + the internal row counter by one. + + + + + + &reftitle.examples; <function>pg_fetch_array</function> example @@ -92,18 +104,16 @@ echo $arr[1] . " <- Row 3 E-mail\n"; - - - From 4.1.0, row became optional. - Calling pg_fetch_array will increment - the internal row counter by one. - - + + + + &reftitle.seealso; - See also - pg_fetch_row, - pg_fetch_object and - pg_fetch_result. + + pg_fetch_row + pg_fetch_object + pg_fetch_result + diff --git a/reference/pgsql/functions/pg-fetch-assoc.xml b/reference/pgsql/functions/pg-fetch-assoc.xml index ee7c0c81f9..62a17f5168 100644 --- a/reference/pgsql/functions/pg-fetch-assoc.xml +++ b/reference/pgsql/functions/pg-fetch-assoc.xml @@ -1,18 +1,19 @@ - + pg_fetch_assoc Fetch a row as an associative array - - Description - - arraypg_fetch_assoc - resourceresult - introw - + + + &reftitle.description; + + arraypg_fetch_assoc + resourceresult + introw + pg_fetch_assoc returns an associative array that corresponds to the fetched row (tuples/records). It returns @@ -35,6 +36,17 @@ slower than using pg_fetch_row, while it provides a significant ease of use. + + + From 4.1.0, row became optional. + Calling pg_fetch_assoc will increment + the internal row counter by one. + + + + + + &reftitle.examples; <function>pg_fetch_assoc</function> example @@ -63,19 +75,17 @@ while ($row = pg_fetch_assoc($result)) { - - - From 4.1.0, row became optional. - Calling pg_fetch_assoc will increment - the internal row counter by one. - - + + + + &reftitle.seealso; - See also - pg_fetch_row, - pg_fetch_array, - pg_fetch_object and - pg_fetch_result. + + pg_fetch_row + pg_fetch_array + pg_fetch_object + pg_fetch_result + diff --git a/reference/pgsql/functions/pg-fetch-object.xml b/reference/pgsql/functions/pg-fetch-object.xml index 7b3b22e4c7..698ec4d7ee 100644 --- a/reference/pgsql/functions/pg-fetch-object.xml +++ b/reference/pgsql/functions/pg-fetch-object.xml @@ -1,19 +1,20 @@ - + pg_fetch_object Fetch a row as an object - - Description - - objectpg_fetch_object - resourceresult - introw - intresult_type - + + + &reftitle.description; + + objectpg_fetch_object + resourceresult + introw + intresult_type + pg_fetch_object returns an object with properties that correspond to the fetched row. It returns &false; @@ -47,6 +48,17 @@ result_type may be deleted in future versions. + + + From 4.1.0, row became optional. + Calling pg_fetch_object will increment + the internal row counter counter by one. + + + + + + &reftitle.examples; <function>pg_fetch_object</function> example @@ -81,20 +93,18 @@ pg_close($db_conn); - - - From 4.1.0, row became optional. - Calling pg_fetch_object will increment - the internal row counter counter by one. - - - - See also - pg_query, - pg_fetch_array, - pg_fetch_assoc, - pg_fetch_row and - pg_fetch_result. + + + + &reftitle.seealso; + + + pg_query + pg_fetch_array + pg_fetch_assoc + pg_fetch_row + pg_fetch_result + diff --git a/reference/pgsql/functions/pg-fetch-result.xml b/reference/pgsql/functions/pg-fetch-result.xml index 0072de0f35..fb4a193ecf 100644 --- a/reference/pgsql/functions/pg-fetch-result.xml +++ b/reference/pgsql/functions/pg-fetch-result.xml @@ -1,24 +1,25 @@ - + pg_fetch_result Returns values from a result resource - - Description - - mixedpg_fetch_result - resourceresult - introw - mixedfield - - - mixedpg_fetch_result - resourceresult - mixedfield - + + + &reftitle.description; + + mixedpg_fetch_result + resourceresult + introw + mixedfield + + + mixedpg_fetch_result + resourceresult + mixedfield + pg_fetch_result returns values from a result resource returned by diff --git a/reference/pgsql/functions/pg-fetch-row.xml b/reference/pgsql/functions/pg-fetch-row.xml index 89f60a00af..263613d53a 100644 --- a/reference/pgsql/functions/pg-fetch-row.xml +++ b/reference/pgsql/functions/pg-fetch-row.xml @@ -1,18 +1,19 @@ - + pg_fetch_row Get a row as an enumerated array - - Description - - arraypg_fetch_row - resourceresult - introw - + + + &reftitle.description; + + arraypg_fetch_row + resourceresult + introw + pg_fetch_row fetches one row of data from the result associated with the specified @@ -25,6 +26,17 @@ if there are no more rows. &database.fetch-null; + + + From 4.1.0, row became optional. + Calling pg_fetch_row will increment + the internal row counter by one. + + + + + + &reftitle.examples; <function>pg_fetch_row</function> example @@ -54,19 +66,17 @@ while ($row = pg_fetch_row($result)) { - - - From 4.1.0, row became optional. - Calling pg_fetch_row will increment - the internal row counter by one. - - + + + + &reftitle.seealso; - See also - pg_query, - pg_fetch_array, - pg_fetch_object and - pg_fetch_result. + + pg_query + pg_fetch_array + pg_fetch_object + pg_fetch_result + diff --git a/reference/pgsql/functions/pg-field-is-null.xml b/reference/pgsql/functions/pg-field-is-null.xml index 2fe8e80868..a48276248b 100644 --- a/reference/pgsql/functions/pg-field-is-null.xml +++ b/reference/pgsql/functions/pg-field-is-null.xml @@ -1,19 +1,20 @@ - + pg_field_is_null Test if a field is &null; - - Description - - intpg_field_is_null - resourceresult - introw - mixedfield - + + + &reftitle.description; + + intpg_field_is_null + resourceresult + introw + mixedfield + pg_field_is_null tests if a field is &null; or not. It returns 1 if the field in the given row is &null;. It @@ -21,6 +22,15 @@ be specified as column index (number) or fieldname (string). Row numbering starts at 0. + + + This function used to be called pg_fieldisnull(). + + + + + + &reftitle.examples; <function>pg_field_is_null</function> example @@ -42,11 +52,6 @@ - - - This function used to be called pg_fieldisnull(). - - diff --git a/reference/pgsql/functions/pg-field-name.xml b/reference/pgsql/functions/pg-field-name.xml index bf1c07c46c..ac00d8cb98 100644 --- a/reference/pgsql/functions/pg-field-name.xml +++ b/reference/pgsql/functions/pg-field-name.xml @@ -1,24 +1,34 @@ - + pg_field_name Returns the name of a field - - Description - - stringpg_field_name - resourceresult - intfield_number - + + + &reftitle.description; + + stringpg_field_name + resourceresult + intfield_number + pg_field_name returns the name of the field occupying the given field_number in the given PostgreSQL result resource. Field numbering starts from 0. + + + This function used to be called pg_fieldname(). + + + + + + &reftitle.examples; Getting information about fields @@ -40,9 +50,7 @@ ?> ]]> - - The above example would produce the following output: - + &example.outputs; - - - This function used to be called pg_fieldname(). - - + + + + &reftitle.seealso; - See also pg_field_num. + + pg_field_num + diff --git a/reference/pgsql/functions/pg-field-num.xml b/reference/pgsql/functions/pg-field-num.xml index e32f5f3ce9..31bc5c8763 100644 --- a/reference/pgsql/functions/pg-field-num.xml +++ b/reference/pgsql/functions/pg-field-num.xml @@ -1,18 +1,19 @@ - + pg_field_num Returns the field number of the named field - - Description - - intpg_field_num - resourceresult - stringfield_name - + + + &reftitle.description; + + intpg_field_num + resourceresult + stringfield_name + pg_field_num will return the number of the column (field) slot that corresponds to the @@ -28,8 +29,14 @@ This function used to be called pg_fieldnum(). + + + + &reftitle.seealso; - See also pg_field_name. + + pg_field_name + diff --git a/reference/pgsql/functions/pg-field-prtlen.xml b/reference/pgsql/functions/pg-field-prtlen.xml index a56e950b4e..e5bc3a930c 100644 --- a/reference/pgsql/functions/pg-field-prtlen.xml +++ b/reference/pgsql/functions/pg-field-prtlen.xml @@ -1,19 +1,20 @@ - + pg_field_prtlen Returns the printed length - - Description - - intpg_field_prtlen - resourceresult - introw_number - mixedfield_name_or_number - + + + &reftitle.description; + + intpg_field_prtlen + resourceresult + introw_number + mixedfield_name_or_number + pg_field_prtlen returns the actual printed length (number of characters) of a specific value in a PostgreSQL @@ -31,11 +32,17 @@ - This function used to be called pg_fieldprtlen(). + This function used to be called pg_fieldprtlen(). + + + + &reftitle.seealso; - See also pg_field_size. + + pg_field_size + diff --git a/reference/pgsql/functions/pg-field-size.xml b/reference/pgsql/functions/pg-field-size.xml index eafa725426..f57e165a33 100644 --- a/reference/pgsql/functions/pg-field-size.xml +++ b/reference/pgsql/functions/pg-field-size.xml @@ -1,5 +1,5 @@ - + @@ -8,13 +8,14 @@ Returns the internal storage size of the named field - - Description - - intpg_field_size - resourceresult - intfield_number - + + + &reftitle.description; + + intpg_field_size + resourceresult + intfield_number + pg_field_size returns the internal storage size (in bytes) of the field number in the given PostgreSQL @@ -30,9 +31,15 @@ This function used to be called pg_fieldsize(). + + + + &reftitle.seealso; - See also pg_field_prtlen and - pg_field_type. + + pg_field_prtlen + pg_field_type + diff --git a/reference/pgsql/functions/pg-field-type-oid.xml b/reference/pgsql/functions/pg-field-type-oid.xml index 4a8b1ddb3b..744d2ead89 100644 --- a/reference/pgsql/functions/pg-field-type-oid.xml +++ b/reference/pgsql/functions/pg-field-type-oid.xml @@ -1,5 +1,5 @@ - + pg_field_type_oid @@ -7,8 +7,9 @@ Returns the type ID (OID) for the corresponding field number - - Description + + + &reftitle.description; intpg_field_type_oid resourceresult @@ -24,10 +25,16 @@ You can get more information about the field type by querying PostgreSQL pg_type system table using the ID obtained with this function. + + + + &reftitle.seealso; - See also pg_field_type, - pg_field_prtlen and - pg_field_name. + + pg_field_type + pg_field_prtlen + pg_field_name + diff --git a/reference/pgsql/functions/pg-field-type.xml b/reference/pgsql/functions/pg-field-type.xml index 5ad0f0f8d1..cd8e84291a 100644 --- a/reference/pgsql/functions/pg-field-type.xml +++ b/reference/pgsql/functions/pg-field-type.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Returns the type name for the corresponding field number - - Description + + + &reftitle.description; stringpg_field_type resourceresult @@ -29,10 +30,16 @@ This function used to be called pg_fieldtype(). + + + + &reftitle.seealso; - See also pg_field_prtlen, - pg_field_name and - pg_field_type_oid. + + pg_field_prtlen + pg_field_name + pg_field_type_oid + diff --git a/reference/pgsql/functions/pg-free-result.xml b/reference/pgsql/functions/pg-free-result.xml index 9902078968..e75c1c94cf 100644 --- a/reference/pgsql/functions/pg-free-result.xml +++ b/reference/pgsql/functions/pg-free-result.xml @@ -1,13 +1,14 @@ - + pg_free_result Free result memory - - Description + + + &reftitle.description; boolpg_free_result resourceresult @@ -27,8 +28,14 @@ This function used to be called pg_freeresult(). + + + + &reftitle.seealso; - See also pg_query. + + pg_query + diff --git a/reference/pgsql/functions/pg-get-notify.xml b/reference/pgsql/functions/pg-get-notify.xml index 1e4c109575..1e782932ff 100644 --- a/reference/pgsql/functions/pg-get-notify.xml +++ b/reference/pgsql/functions/pg-get-notify.xml @@ -1,12 +1,13 @@ - + pg_get_notify Ping database connection - - Description + + + &reftitle.description; arraypg_get_notify resourceconnection @@ -20,9 +21,10 @@ contains message name and backend PID is returned. If there is no message, &false; is returned. - - See also pg_get_pid - + + + + &reftitle.examples; PostgreSQL NOTIFY message @@ -49,6 +51,15 @@ if (!$notify) { + + + &reftitle.seealso; + + + pg_get_pid + + + + pg_get_pid Ping database connection - - Description + + + &reftitle.description; intpg_get_pid resourceconnection @@ -16,6 +17,10 @@ process) PID. PID is useful to check if NOTIFY message is sent from other process or not. + + + + &reftitle.examples; PostgreSQL backend PID @@ -35,8 +40,14 @@ $pid = pg_get_pid($conn); + + + + &reftitle.seealso; - See also pg_get_notify. + + pg_get_notify + diff --git a/reference/pgsql/functions/pg-get-result.xml b/reference/pgsql/functions/pg-get-result.xml index 7d13e0d02c..50ca024216 100644 --- a/reference/pgsql/functions/pg-get-result.xml +++ b/reference/pgsql/functions/pg-get-result.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Get asynchronous query result - - Description + + + &reftitle.description; resourcepg_get_result resourceconnection diff --git a/reference/pgsql/functions/pg-host.xml b/reference/pgsql/functions/pg-host.xml index 9e71e92cbe..5b4227a41c 100644 --- a/reference/pgsql/functions/pg-host.xml +++ b/reference/pgsql/functions/pg-host.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Returns the host name associated with the connection - - Description + + + &reftitle.description; stringpg_host resourceconnection @@ -19,9 +20,15 @@ PostgreSQL connection resource is connected to. + + + + &reftitle.seealso; - See also pg_connect and - pg_pconnect. + + pg_connect + pg_pconnect + diff --git a/reference/pgsql/functions/pg-insert.xml b/reference/pgsql/functions/pg-insert.xml index 5747f8e64e..725479f399 100644 --- a/reference/pgsql/functions/pg-insert.xml +++ b/reference/pgsql/functions/pg-insert.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Insert array into table - - Description + + + &reftitle.description; boolpg_insert resourceconnection @@ -28,6 +29,11 @@ If options is specified, pg_insert is applied to assoc_array with specified option. + &warn.experimental.func; + + + + &reftitle.examples; <function>pg_insert</function> example @@ -47,10 +53,15 @@ - &warn.experimental.func; + + + + &reftitle.seealso; - See also pg_convert. - + + pg_convert + + diff --git a/reference/pgsql/functions/pg-last-error.xml b/reference/pgsql/functions/pg-last-error.xml index 2383b24e71..dcd27af19a 100644 --- a/reference/pgsql/functions/pg-last-error.xml +++ b/reference/pgsql/functions/pg-last-error.xml @@ -1,13 +1,14 @@ - + pg_last_error Get the last error message string of a connection - - Description + + + &reftitle.description; stringpg_last_error resourceconnection @@ -31,8 +32,14 @@ This function used to be called pg_errormessage(). + + + + &reftitle.seealso; - See also pg_result_error. + + pg_result_error + diff --git a/reference/pgsql/functions/pg-last-notice.xml b/reference/pgsql/functions/pg-last-notice.xml index e8676ce5c9..d3420652f7 100644 --- a/reference/pgsql/functions/pg-last-notice.xml +++ b/reference/pgsql/functions/pg-last-notice.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Returns the last notice message from PostgreSQL server - - Description + + + &reftitle.description; stringpg_last_notice resourceconnection @@ -47,9 +48,15 @@ Unless pgsql.ignore_notice is set to 0, notice message cannot be logged. + + + + &reftitle.seealso; - See also pg_query and - pg_last_error. + + pg_query + pg_last_error + diff --git a/reference/pgsql/functions/pg-last-oid.xml b/reference/pgsql/functions/pg-last-oid.xml index 81c1e2e3df..59af42bd68 100644 --- a/reference/pgsql/functions/pg-last-oid.xml +++ b/reference/pgsql/functions/pg-last-oid.xml @@ -1,13 +1,14 @@ - + pg_last_oid Returns the last object's oid - - Description + + + &reftitle.description; intpg_last_oid resourceresult @@ -33,9 +34,15 @@ This function used to be called pg_getlastoid(). + + + + &reftitle.seealso; - See also pg_query and - pg_result_status + + pg_query + pg_result_status + diff --git a/reference/pgsql/functions/pg-lo-close.xml b/reference/pgsql/functions/pg-lo-close.xml index b2da1a5e93..75ca69f9e1 100644 --- a/reference/pgsql/functions/pg-lo-close.xml +++ b/reference/pgsql/functions/pg-lo-close.xml @@ -1,13 +1,14 @@ - + pg_lo_close Close a large object - - Description + + + &reftitle.description; boolpg_lo_close resourcelarge_object @@ -26,10 +27,16 @@ This function used to be called pg_loclose(). + + + + &reftitle.seealso; - See also pg_lo_open, - pg_lo_create and - pg_lo_import. + + pg_lo_open + pg_lo_create + pg_lo_import + diff --git a/reference/pgsql/functions/pg-lo-create.xml b/reference/pgsql/functions/pg-lo-create.xml index 87845e9baf..da7dc1b727 100644 --- a/reference/pgsql/functions/pg-lo-create.xml +++ b/reference/pgsql/functions/pg-lo-create.xml @@ -1,13 +1,14 @@ - + pg_lo_create Create a large object - - Description + + + &reftitle.description; intpg_lo_create resourceconnection diff --git a/reference/pgsql/functions/pg-lo-export.xml b/reference/pgsql/functions/pg-lo-export.xml index dd09e3e5d0..4c06d61b5a 100644 --- a/reference/pgsql/functions/pg-lo-export.xml +++ b/reference/pgsql/functions/pg-lo-export.xml @@ -1,13 +1,14 @@ - + pg_lo_export Export a large object to file - - Description + + + &reftitle.description; boolpg_lo_export resourceconnection @@ -29,8 +30,14 @@ This function used to be called pg_loexport(). + + + + &reftitle.seealso; - See also pg_lo_import. + + pg_lo_import + diff --git a/reference/pgsql/functions/pg-lo-import.xml b/reference/pgsql/functions/pg-lo-import.xml index b585e0b315..d7bd3743b7 100644 --- a/reference/pgsql/functions/pg-lo-import.xml +++ b/reference/pgsql/functions/pg-lo-import.xml @@ -1,13 +1,14 @@ - + pg_lo_import Import a large object from file - - Description + + + &reftitle.description; intpg_lo_import resourceconnection @@ -38,9 +39,15 @@ This function used to be called pg_loimport(). + + + + &reftitle.seealso; - See also pg_lo_export and - pg_lo_open. + + pg_lo_export + pg_lo_open + diff --git a/reference/pgsql/functions/pg-lo-open.xml b/reference/pgsql/functions/pg-lo-open.xml index b77c46af43..8f53a87f5a 100644 --- a/reference/pgsql/functions/pg-lo-open.xml +++ b/reference/pgsql/functions/pg-lo-open.xml @@ -1,13 +1,14 @@ - + pg_lo_open Open a large object - - Description + + + &reftitle.description; resourcepg_lo_open resourceconnection @@ -37,9 +38,15 @@ This function used to be called pg_loopen(). + + + + &reftitle.seealso; - See also pg_lo_close and - pg_lo_create. + + pg_lo_close + pg_lo_create + diff --git a/reference/pgsql/functions/pg-lo-read-all.xml b/reference/pgsql/functions/pg-lo-read-all.xml index 89cf26cc99..11af539270 100644 --- a/reference/pgsql/functions/pg-lo-read-all.xml +++ b/reference/pgsql/functions/pg-lo-read-all.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Reads an entire large object and send straight to browser - - Description + + + &reftitle.description; intpg_lo_read_all resourcelarge_object @@ -30,8 +31,14 @@ This function used to be called pg_loreadall(). + + + + &reftitle.seealso; - See also pg_lo_read. + + pg_lo_read + diff --git a/reference/pgsql/functions/pg-lo-read.xml b/reference/pgsql/functions/pg-lo-read.xml index fbdd3714f2..a3e2030c32 100644 --- a/reference/pgsql/functions/pg-lo-read.xml +++ b/reference/pgsql/functions/pg-lo-read.xml @@ -1,13 +1,14 @@ - + pg_lo_read Read a large object - - Description + + + &reftitle.description; stringpg_lo_read resourcelarge_object @@ -30,8 +31,14 @@ This function used to be called pg_loread(). + + + + &reftitle.seealso; - See also pg_lo_read_all. + + pg_lo_read_all + diff --git a/reference/pgsql/functions/pg-lo-seek.xml b/reference/pgsql/functions/pg-lo-seek.xml index 6cea9cad3a..4a7e180723 100644 --- a/reference/pgsql/functions/pg-lo-seek.xml +++ b/reference/pgsql/functions/pg-lo-seek.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Seeks position of large object - - Description + + + &reftitle.description; boolpg_lo_seek resourcelarge_object @@ -21,8 +22,14 @@ resource. whence is PGSQL_SEEK_SET, PGSQL_SEEK_CUR or PGSQL_SEEK_END. + + + + &reftitle.seealso; - See also pg_lo_tell. + + pg_lo_tell + diff --git a/reference/pgsql/functions/pg-lo-tell.xml b/reference/pgsql/functions/pg-lo-tell.xml index c91a0ebda9..f41298261f 100644 --- a/reference/pgsql/functions/pg-lo-tell.xml +++ b/reference/pgsql/functions/pg-lo-tell.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Returns current position of large object - - Description + + + &reftitle.description; intpg_lo_tell resourcelarge_object @@ -18,8 +19,14 @@ pg_lo_tell returns current position (offset from the beginning of large object). + + + + &reftitle.seealso; - See also pg_lo_seek. + + pg_lo_seek + diff --git a/reference/pgsql/functions/pg-lo-unlink.xml b/reference/pgsql/functions/pg-lo-unlink.xml index 8df1f2135f..2dba51bd33 100644 --- a/reference/pgsql/functions/pg-lo-unlink.xml +++ b/reference/pgsql/functions/pg-lo-unlink.xml @@ -1,13 +1,14 @@ - + pg_lo_unlink Delete a large object - - Description + + + &reftitle.description; boolpg_lo_unlink resourceconnection @@ -26,9 +27,15 @@ This function used to be called pg_lo_unlink(). + + + + &reftitle.seealso; - See also pg_lo_create and - pg_lo_import. + + pg_lo_create + pg_lo_import + diff --git a/reference/pgsql/functions/pg-lo-write.xml b/reference/pgsql/functions/pg-lo-write.xml index 251460a069..32f86f6ed3 100644 --- a/reference/pgsql/functions/pg-lo-write.xml +++ b/reference/pgsql/functions/pg-lo-write.xml @@ -1,13 +1,14 @@ - + pg_lo_write Write a large object - - Description + + + &reftitle.description; intpg_lo_write resourcelarge_object @@ -30,9 +31,15 @@ This function used to be called pg_lowrite(). + + + + &reftitle.seealso; - See also pg_lo_create and - pg_lo_open. + + pg_lo_create + pg_lo_open + diff --git a/reference/pgsql/functions/pg-meta-data.xml b/reference/pgsql/functions/pg-meta-data.xml index 5f2168b563..18dae51904 100644 --- a/reference/pgsql/functions/pg-meta-data.xml +++ b/reference/pgsql/functions/pg-meta-data.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Get meta data for table - - Description + + + &reftitle.description; arraypg_meta_data resourceconnection @@ -20,6 +21,11 @@ table_name as an array. If there is error, it returns &false; + &warn.experimental.func; + + + + &reftitle.examples; Getting table metadata @@ -37,9 +43,7 @@ ?> ]]> - - The above example would produce the following output: - + &example.outputs; - &warn.experimental.func; + + + + &reftitle.seealso; - See also pg_convert. - + + pg_convert + + diff --git a/reference/pgsql/functions/pg-num-fields.xml b/reference/pgsql/functions/pg-num-fields.xml index 5a2a5ca703..0e0218a942 100644 --- a/reference/pgsql/functions/pg-num-fields.xml +++ b/reference/pgsql/functions/pg-num-fields.xml @@ -1,13 +1,14 @@ - + pg_num_fields Returns the number of fields - - Description + + + &reftitle.description; intpg_num_fields resourceresult @@ -24,9 +25,15 @@ This function used to be called pg_numfields(). + + + + &reftitle.seealso; - See also pg_num_rows and - pg_affected_rows. + + pg_num_rows + pg_affected_rows + diff --git a/reference/pgsql/functions/pg-num-rows.xml b/reference/pgsql/functions/pg-num-rows.xml index 56f477b2bb..f95d5ab23a 100644 --- a/reference/pgsql/functions/pg-num-rows.xml +++ b/reference/pgsql/functions/pg-num-rows.xml @@ -1,13 +1,14 @@ - + pg_num_rows Returns the number of rows - - Description + + + &reftitle.description; intpg_num_rows resourceresult @@ -30,9 +31,15 @@ This function used to be called pg_numrows(). + + + + &reftitle.seealso; - See also pg_num_fields and - pg_affected_rows. + + pg_num_fields + pg_affected_rows + diff --git a/reference/pgsql/functions/pg-options.xml b/reference/pgsql/functions/pg-options.xml index 9643d866c4..1aa4d6d6f7 100644 --- a/reference/pgsql/functions/pg-options.xml +++ b/reference/pgsql/functions/pg-options.xml @@ -1,13 +1,14 @@ - + pg_options Get the options associated with the connection - - Description + + + &reftitle.description; stringpg_options resourceconnection diff --git a/reference/pgsql/functions/pg-parameter-status.xml b/reference/pgsql/functions/pg-parameter-status.xml index 353068bbcc..33483bfbd1 100644 --- a/reference/pgsql/functions/pg-parameter-status.xml +++ b/reference/pgsql/functions/pg-parameter-status.xml @@ -1,5 +1,5 @@ - + pg_parameter_status @@ -7,8 +7,9 @@ Returns the value of a server parameter - - Description + + + &reftitle.description; stringpg_parameter_status resourceconnection diff --git a/reference/pgsql/functions/pg-pconnect.xml b/reference/pgsql/functions/pg-pconnect.xml index 35d77b87a6..74cb002727 100644 --- a/reference/pgsql/functions/pg-pconnect.xml +++ b/reference/pgsql/functions/pg-pconnect.xml @@ -1,13 +1,14 @@ - + pg_pconnect Open a persistent PostgreSQL connection - - Description + + + &reftitle.description; resourcepg_pconnect stringconnection_string @@ -37,10 +38,18 @@ pg_close will not close persistent links generated by pg_pconnect. + + + + &reftitle.seealso; - See also pg_connect, and the section - Persistent Database - Connections for more information. + + pg_connect + + + Persistent Database Connections + + diff --git a/reference/pgsql/functions/pg-ping.xml b/reference/pgsql/functions/pg-ping.xml index 0ced6069a2..13c2b7056e 100644 --- a/reference/pgsql/functions/pg-ping.xml +++ b/reference/pgsql/functions/pg-ping.xml @@ -1,13 +1,14 @@ - + pg_ping Ping database connection - - Description + + + &reftitle.description; boolpg_ping resourceconnection @@ -17,6 +18,10 @@ reconnect if it is broken. It returns &true; if connection is alive, otherwise &false;. + + + + &reftitle.examples; <function>pg_ping</function> example @@ -36,9 +41,15 @@ if (!pg_ping($conn)) + + + + &reftitle.seealso; - See also pg_connection_status and - pg_connection_reset. + + pg_connection_status + pg_connection_reset + diff --git a/reference/pgsql/functions/pg-port.xml b/reference/pgsql/functions/pg-port.xml index 2b7e590202..f0936a4495 100644 --- a/reference/pgsql/functions/pg-port.xml +++ b/reference/pgsql/functions/pg-port.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Return the port number associated with the connection - - Description + + + &reftitle.description; intpg_port resourceconnection diff --git a/reference/pgsql/functions/pg-put-line.xml b/reference/pgsql/functions/pg-put-line.xml index 828ea2cf05..c73ecb45f9 100644 --- a/reference/pgsql/functions/pg-put-line.xml +++ b/reference/pgsql/functions/pg-put-line.xml @@ -1,13 +1,14 @@ - + pg_put_line Send a NULL-terminated string to PostgreSQL backend - - Description + + + &reftitle.description; boolpg_put_line stringdata @@ -31,6 +32,19 @@ sending its data. + + + Use of the pg_put_line causes most large object + operations, including pg_lo_read and + pg_lo_tell, to subsequently fail. You can use + pg_copy_from and pg_copy_to + instead. + + + + + + &reftitle.examples; High-speed insertion of data into a table @@ -49,17 +63,14 @@ - - - Use of the pg_put_line causes most large object - operations, including pg_lo_read and - pg_lo_tell, to subsequently fail. You can use - pg_copy_from and pg_copy_to - instead. - - + + + + &reftitle.seealso; - See also pg_end_copy. + + pg_end_copy + diff --git a/reference/pgsql/functions/pg-query.xml b/reference/pgsql/functions/pg-query.xml index 01fbcc9127..8a0de3c0a5 100644 --- a/reference/pgsql/functions/pg-query.xml +++ b/reference/pgsql/functions/pg-query.xml @@ -1,13 +1,14 @@ - + pg_query Execute a query - - Description + + + &reftitle.description; resourcepg_query stringquery @@ -55,13 +56,19 @@ reasons but users are encouraged to use the newer name. + + + + &reftitle.seealso; - See also pg_connect, - pg_pconnect, - pg_fetch_array, - pg_fetch_object, - pg_num_rows and - pg_affected_rows. + + pg_connect + pg_pconnect + pg_fetch_array + pg_fetch_object + pg_num_rows + pg_affected_rows + diff --git a/reference/pgsql/functions/pg-result-error.xml b/reference/pgsql/functions/pg-result-error.xml index 31f919767d..5df1adc5ac 100644 --- a/reference/pgsql/functions/pg-result-error.xml +++ b/reference/pgsql/functions/pg-result-error.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Get error message associated with result - - Description + + + &reftitle.description; stringpg_result_error resourceresult @@ -25,13 +26,19 @@ you must use pg_send_query and pg_get_result to get the result handle. + + + + &reftitle.seealso; - See also pg_query, - pg_send_query, - pg_get_result, - pg_last_error and - pg_last_notice - + + pg_query + pg_send_query + pg_get_result + pg_last_error + pg_last_notice + + diff --git a/reference/pgsql/functions/pg-result-seek.xml b/reference/pgsql/functions/pg-result-seek.xml index f1cf29b523..875bb7f5b8 100644 --- a/reference/pgsql/functions/pg-result-seek.xml +++ b/reference/pgsql/functions/pg-result-seek.xml @@ -1,13 +1,14 @@ - + pg_result_seek Set internal row offset in result resource - - Description + + + &reftitle.description; arraypg_result_seek resourceresult @@ -17,12 +18,18 @@ pg_result_seek set internal row offset in result resource. It returns &false;, if there is error. + + + + &reftitle.seealso; - See also pg_fetch_row, - pg_fetch_assoc, - pg_fetch_array, - pg_fetch_object and - pg_fetch_result. + + pg_fetch_row + pg_fetch_assoc + pg_fetch_array + pg_fetch_object + pg_fetch_result + diff --git a/reference/pgsql/functions/pg-result-status.xml b/reference/pgsql/functions/pg-result-status.xml index 46d3ba7fab..63bc235fc3 100644 --- a/reference/pgsql/functions/pg-result-status.xml +++ b/reference/pgsql/functions/pg-result-status.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Get status of query result - - Description + + + &reftitle.description; intpg_result_status resourceresult @@ -21,8 +22,14 @@ PGSQL_COPY_FROM, PGSQL_BAD_RESPONSE, PGSQL_NONFATAL_ERROR and PGSQL_FATAL_ERROR. + + + + &reftitle.seealso; - See also pg_connection_status. + + pg_connection_status + diff --git a/reference/pgsql/functions/pg-select.xml b/reference/pgsql/functions/pg-select.xml index 09003c19c9..ad5e4e4385 100644 --- a/reference/pgsql/functions/pg-select.xml +++ b/reference/pgsql/functions/pg-select.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Select records - - Description + + + &reftitle.description; arraypg_select resourceconnection @@ -27,6 +28,11 @@ pg_convert is applied to assoc_array with specified option. + &warn.experimental.func; + + + + &reftitle.examples; <function>pg_select</function> example @@ -47,10 +53,15 @@ - &warn.experimental.func; + + + + &reftitle.seealso; - See also pg_convert - + + pg_convert + + diff --git a/reference/pgsql/functions/pg-send-query.xml b/reference/pgsql/functions/pg-send-query.xml index 69d2b579ef..4ae71a3cb3 100644 --- a/reference/pgsql/functions/pg-send-query.xml +++ b/reference/pgsql/functions/pg-send-query.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Sends asynchronous query - - Description + + + &reftitle.description; boolpg_send_query resourceconnection @@ -36,6 +37,10 @@ connection is busy, it waits until last query is finished and discards all result. + + + + &reftitle.examples; Asynchronous Queries @@ -60,9 +65,7 @@ ?> ]]> - - The above example would produce the following output: - + &example.outputs; + + + + &reftitle.seealso; - See also pg_query, - pg_cancel_query, - pg_get_result and - pg_connection_busy. + + pg_query + pg_cancel_query + pg_get_result + pg_connection_busy + diff --git a/reference/pgsql/functions/pg-set-client-encoding.xml b/reference/pgsql/functions/pg-set-client-encoding.xml index 3d7e6c8654..3e55bfa0ff 100644 --- a/reference/pgsql/functions/pg-set-client-encoding.xml +++ b/reference/pgsql/functions/pg-set-client-encoding.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Set the client encoding - - Description + + + &reftitle.description; intpg_set_client_encoding stringencoding @@ -42,8 +43,14 @@ pg_setclientencoding(). + + + + &reftitle.seealso; - See also pg_client_encoding. + + pg_client_encoding + diff --git a/reference/pgsql/functions/pg-trace.xml b/reference/pgsql/functions/pg-trace.xml index cf8292e50c..7f5c89d201 100644 --- a/reference/pgsql/functions/pg-trace.xml +++ b/reference/pgsql/functions/pg-trace.xml @@ -1,13 +1,14 @@ - + pg_trace Enable tracing a PostgreSQL connection - - Description + + + &reftitle.description; boolpg_trace stringpathname @@ -38,9 +39,15 @@ pathname could be opened for logging, &false; otherwise. + + + + &reftitle.seealso; - See also fopen and - pg_untrace. + + fopen + pg_untrace + diff --git a/reference/pgsql/functions/pg-tty.xml b/reference/pgsql/functions/pg-tty.xml index 662794e401..a530fcfc07 100644 --- a/reference/pgsql/functions/pg-tty.xml +++ b/reference/pgsql/functions/pg-tty.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Return the tty name associated with the connection - - Description + + + &reftitle.description; stringpg_tty resourceconnection diff --git a/reference/pgsql/functions/pg-unescape-bytea.xml b/reference/pgsql/functions/pg-unescape-bytea.xml index b760efa014..7694fbbafb 100644 --- a/reference/pgsql/functions/pg-unescape-bytea.xml +++ b/reference/pgsql/functions/pg-unescape-bytea.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Unescape binary for bytea type - - Description + + + &reftitle.description; stringpg_unescape_bytea stringdata @@ -34,9 +35,15 @@ stream error. User must cast to bytea to avoid this error. + + + + &reftitle.seealso; - See also pg_escape_bytea and - pg_escape_string + + pg_escape_bytea + pg_escape_string + diff --git a/reference/pgsql/functions/pg-untrace.xml b/reference/pgsql/functions/pg-untrace.xml index 1c04edaf0e..e9d47276db 100644 --- a/reference/pgsql/functions/pg-untrace.xml +++ b/reference/pgsql/functions/pg-untrace.xml @@ -1,13 +1,14 @@ - + pg_untrace Disable tracing of a PostgreSQL connection - - Description + + + &reftitle.description; boolpg_untrace resourceconnection @@ -20,8 +21,14 @@ Returns always &true;. + + + + &reftitle.seealso; - See also pg_trace. + + pg_trace + diff --git a/reference/pgsql/functions/pg-update.xml b/reference/pgsql/functions/pg-update.xml index bf58bb3de4..137bbe81f5 100644 --- a/reference/pgsql/functions/pg-update.xml +++ b/reference/pgsql/functions/pg-update.xml @@ -1,5 +1,5 @@ - + @@ -8,8 +8,9 @@ Update table - - Description + + + &reftitle.description; mixedpg_update resourceconnection @@ -25,6 +26,11 @@ pg_convert is applied to data with specified options. + &warn.experimental.func; + + + + &reftitle.examples; <function>pg_update</function> example @@ -46,10 +52,15 @@ - &warn.experimental.func; + + + + &reftitle.seealso; - See also pg_convert. - + + pg_convert + + diff --git a/reference/pgsql/functions/pg-version.xml b/reference/pgsql/functions/pg-version.xml index 5c7c603196..6aaf13cf12 100644 --- a/reference/pgsql/functions/pg-version.xml +++ b/reference/pgsql/functions/pg-version.xml @@ -1,5 +1,5 @@ - + pg_version @@ -7,8 +7,9 @@ Returns an array with client, protocol and server version (when available) - - Description + + + &reftitle.description; arraypg_version resourceconnection