From b44b427b6a277080a38ab1557a473a4230a099b1 Mon Sep 17 00:00:00 2001 From: irc-html Date: Thu, 17 Jan 2002 19:55:50 +0000 Subject: [PATCH] spelling corrections; parameter corrections git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@67969 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/pgsql.xml | 48 ++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/functions/pgsql.xml b/functions/pgsql.xml index aa21805acd..8cb24982b8 100644 --- a/functions/pgsql.xml +++ b/functions/pgsql.xml @@ -1,5 +1,5 @@ - + PostgreSQL functions PostgreSQL @@ -38,7 +38,7 @@ PostgreSQL database is Open Source product and available without cost. To use PostgreSQL support, you need PostgreSQL 6.5 or later. PostgreSQL 7.0 or later to enable all PostgreSQL module - feature. PostgreSQL supports many charactor encoding including + feature. PostgreSQL supports many character encoding including multibyte character encoding. The current version and more information about PostgreSQL is available at www.postgresql.org. @@ -54,7 +54,7 @@ Not all functions are supported by all builds. It depends on your - libpq (The PostgreSQL C Client interface) versoin and how libpq is + libpq (The PostgreSQL C Client interface) version and how libpq is compiled. If there is missing function, libpq does not support the feature required for the function. @@ -65,7 +65,7 @@ Since version 6.3 (03/02/1998) PostgreSQL uses unix domain sockets - by default. TCP port will not be openned by default. A table is + by default. TCP port will not be opened by default. A table is shown below describing these new connection possibilities. This socket will be found in /tmp/.s.PGSQL.5432. This option can be enabled with the '-i' flag to @@ -135,7 +135,7 @@ From PostgreSQL 7.1.0, text data type has 1GB as its max - size. Older PostgreSQL's text data type is limitted by block + size. Older PostgreSQL's text data type is limited by block size. (Default 8KB. Max 32KB defined at compile time) @@ -298,7 +298,7 @@ $dbconn4 = pg_connect ($conn_string); new connection will be established, but instead, the connection resource of the already opened connection will be returned. You can have multiple connections to the same database if you use - different connection patameters. (i.e. Use different username) + different connection parameters. (i.e. Use different username) Syntax supports multiple parameters: @@ -331,7 +331,7 @@ $dbconn4 = pg_connect ($conn_string); pg_dbname returns the name of the database that the given PostgreSQL connection - resource. It retuns &false;, if connection + resource. It returns &false;, if connection is not a valid PostgreSQL connection resource. @@ -486,11 +486,11 @@ $dbconn4 = pg_connect ($conn_string); row is row (record) number to be - retrived. First row is 0. + retrieved. First row is 0. result_type is optional parameter controls - how return value is initilized. + how return value is initialized. result_type is a constant and can take the following values: PGSQL_ASSOC, PGSQL_NUM, and PGSQL_BOTH. pg_fetch_array returns associative array @@ -575,7 +575,7 @@ echo $arr["author"] . " <- array\n"; result_type is optional parameter controls - how return value is initilized. + how return value is initialized. result_type is a constant and can take the following values: PGSQL_ASSOC, PGSQL_NUM, and PGSQL_BOTH. pg_fetch_array returns associative array @@ -741,7 +741,7 @@ for ($i=0; $i < $num; $i++) { pg_fieldisnull test if a field is &null; or not. It returns 1 if the field in the given row is &null;. It returns 0 if the field in the given row is NOT &null;. Field can - be specified as colum index (number) or fieldname (string). Row + be specified as column index (number) or fieldname (string). Row numbering starts at 0. @@ -768,7 +768,7 @@ for ($i=0; $i < $num; $i++) { numbering starts from 0. - See also pg_filednum. + See also pg_fieldnum. @@ -1065,7 +1065,7 @@ for ($i=0; $i < $num; $i++) { object is created always with both read and write access. INV_ARCHIVE has been removed from PostgreSQL itself (version 6.3 and above). It returns large object oid - otherwise. It retuns &false;, if an error occurred, + otherwise. It returns &false;, if an error occurred, @@ -1238,7 +1238,7 @@ for ($i=0; $i < $num; $i++) { it straight through to the browser after sending all pending headers. Mainly intended for sending binary data like images or sound. It returns number of bytes read. It returns &false;, if an - error occured. + error occurred. To use the large object (lo) interface, it is necessary to @@ -1266,7 +1266,7 @@ for ($i=0; $i < $num; $i++) { pg_lounlink deletes a large object with the - oid. It rreturn &true; on success, + oid. It returns &true; on success, otherwise returns &false;. @@ -1355,7 +1355,7 @@ for ($i=0; $i < $num; $i++) { pg_numrows will return the number of rows in a PostgreSQL result resource. - result is a qeury result resource returned + result is a query result resource returned by pg_exec. This function will return -1 on error. @@ -1443,7 +1443,7 @@ $dbconn4 = pg_connect ($conn_string); the same arguments, no new connection will be established, but instead, the connection resource of the already opened connection will be returned. You can have multiple connections to the same - database if you use different connection patameters. (i.e. Use + database if you use different connection parameters. (i.e. Use different username) @@ -1518,7 +1518,7 @@ $dbconn4 = pg_connect ($conn_string); to the PostgreSQL backend server. This is useful for example for very high-speed inserting of data into a table, initiated by starting a PostgreSQL copy-operation. That final NULL-character - is added automatically. It returns &true; if successfull, &false; + is added automatically. It returns &true; if successful, &false; otherwise. @@ -1571,7 +1571,7 @@ $dbconn4 = pg_connect ($conn_string); pg_exec. row_number is integer. field is field name(string) or field index (integer). The row_number - and field sepcify what cell in the table + and field specify what cell in the table of results to return. Row numbering starts from 0. Instead of naming the field, you may use the field index as an unquoted number. Field indices start from 0. @@ -1627,7 +1627,7 @@ $dbconn4 = pg_connect ($conn_string); This function requires PHP-4.0.3 or higher and PostgreSQL-7.0 or higher. Supported encoding depends on PostgreSQL version. Refer - to PostgreSQL manaul for details. + to PostgreSQL manual for details. The function used to be called @@ -1670,7 +1670,7 @@ $dbconn4 = pg_connect ($conn_string); higher. If libpq is compiled without multibyte encoding support, pg_set_client_encoding always return "SQL_ASCII". Supported encoding depends on PostgreSQL - version. Refer to PostgreSQL manaul for details to enable + version. Refer to PostgreSQL manual for details to enable multibyte support and encoding supported. @@ -1863,11 +1863,11 @@ $dbconn4 = pg_connect ($conn_string); bool pg_send_query resource connection - string qeury + string query bool pg_send_query - string qeury + string query @@ -1957,7 +1957,7 @@ $dbconn4 = pg_connect ($conn_string); int pg_connection_status - resource connnection + resource connection