]> granicus.if.org Git - php/commitdiff
The official product name is PostgreSQL, so s/PostgresSQL/PostgreSQL/
authorSascha Schumann <sas@php.net>
Tue, 11 Jul 2000 12:38:06 +0000 (12:38 +0000)
committerSascha Schumann <sas@php.net>
Tue, 11 Jul 2000 12:38:06 +0000 (12:38 +0000)
ext/pgsql/config.m4
ext/pgsql/pgsql.c

index ed8f3bb624d8ec714ced589dfd9c0b6887b76f25..895cfa6e9621b07d341aa9e81f5474dc22621f21 100644 (file)
@@ -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.])
index ecf867e3674f1d1598c358a94557b2296dea21f3..c23471570781214e817bb51e783da3ade951f9c5 100644 (file)
@@ -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;
                }