summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-07-11 12:38:06 +0000
committerSascha Schumann <sas@php.net>2000-07-11 12:38:06 +0000
commitb74e079ce731a950e86955d2842d2b689b4b425d (patch)
tree2fe047bfbc9e0702bb39a37374da8ef135f9a23d
parentc917e170f692f62e3e3969e2d16b29f0d82278f5 (diff)
downloadphp-git-b74e079ce731a950e86955d2842d2b689b4b425d.tar.gz
The official product name is PostgreSQL, so s/PostgresSQL/PostgreSQL/
-rw-r--r--ext/pgsql/config.m44
-rw-r--r--ext/pgsql/pgsql.c12
2 files changed, 8 insertions, 8 deletions
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;
}