From: Sascha Schumann Date: Tue, 11 Jul 2000 12:38:06 +0000 (+0000) Subject: The official product name is PostgreSQL, so s/PostgresSQL/PostgreSQL/ X-Git-Tag: PRE_FILE_COMPILE_API_CHANGE~311 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b74e079ce731a950e86955d2842d2b689b4b425d;p=php The official product name is PostgreSQL, so s/PostgresSQL/PostgreSQL/ --- diff --git a/ext/pgsql/config.m4 b/ext/pgsql/config.m4 index ed8f3bb624..895cfa6e96 100644 --- a/ext/pgsql/config.m4 +++ b/ext/pgsql/config.m4 @@ -2,8 +2,8 @@ dnl $Id$ AC_DEFUN(PGSQL_INC_CHK,[if test -r $i$1/libpq-fe.h; then PGSQL_DIR=$i; PGSQL_INCDIR=$i$1]) -PHP_ARG_WITH(pgsql,for PostgresSQL support, -[ --with-pgsql[=DIR] Include PostgresSQL support. DIR is the PostgresSQL +PHP_ARG_WITH(pgsql,for PostgreSQL support, +[ --with-pgsql[=DIR] Include PostgreSQL support. DIR is the PostgreSQL base install directory, defaults to /usr/local/pgsql. Set DIR to "shared" to build as a dl, or "shared,DIR" to build as a dl and still specify DIR.]) diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index ecf867e367..c234715707 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -298,12 +298,12 @@ void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent) list_entry new_le; if (PGG(max_links)!=-1 && PGG(num_links)>=PGG(max_links)) { - php_error(E_WARNING,"PostgresSQL: Too many open links (%d)",PGG(num_links)); + php_error(E_WARNING,"PostgreSQL: Too many open links (%d)",PGG(num_links)); efree(hashed_details); RETURN_FALSE; } if (PGG(max_persistent)!=-1 && PGG(num_persistent)>=PGG(max_persistent)) { - php_error(E_WARNING,"PostgresSQL: Too many open persistent links (%d)",PGG(num_persistent)); + php_error(E_WARNING,"PostgreSQL: Too many open persistent links (%d)",PGG(num_persistent)); efree(hashed_details); RETURN_FALSE; } @@ -315,7 +315,7 @@ void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent) pgsql=PQsetdb(host,port,options,tty,dbname); } if (pgsql==NULL || PQstatus(pgsql)==CONNECTION_BAD) { - php_error(E_WARNING,"Unable to connect to PostgresSQL server: %s",PQerrorMessage(pgsql)); + php_error(E_WARNING,"Unable to connect to PostgreSQL server: %s",PQerrorMessage(pgsql)); efree(hashed_details); RETURN_FALSE; } @@ -341,7 +341,7 @@ void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent) le->ptr=PQsetdb(host,port,options,tty,dbname); } if (le->ptr==NULL || PQstatus(le->ptr)==CONNECTION_BAD) { - php_error(E_WARNING,"PostgresSQL link lost, unable to reconnect"); + php_error(E_WARNING,"PostgreSQL link lost, unable to reconnect"); zend_hash_del(&EG(persistent_list),hashed_details,hashed_details_length+1); efree(hashed_details); RETURN_FALSE; @@ -378,7 +378,7 @@ void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent) } } if (PGG(max_links)!=-1 && PGG(num_links)>=PGG(max_links)) { - php_error(E_WARNING,"PostgresSQL: Too many open links (%d)",PGG(num_links)); + php_error(E_WARNING,"PostgreSQL: Too many open links (%d)",PGG(num_links)); efree(hashed_details); RETURN_FALSE; } @@ -388,7 +388,7 @@ void php_pgsql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent) pgsql = PQsetdb(host,port,options,tty,dbname); } if (pgsql==NULL || PQstatus(pgsql)==CONNECTION_BAD) { - php_error(E_WARNING,"Unable to connect to PostgresSQL server: %s",PQerrorMessage(pgsql)); + php_error(E_WARNING,"Unable to connect to PostgreSQL server: %s",PQerrorMessage(pgsql)); efree(hashed_details); RETURN_FALSE; }