diff options
| author | Tom Lane | 2003-04-28 04:29:12 +0000 |
|---|---|---|
| committer | Tom Lane | 2003-04-28 04:29:12 +0000 |
| commit | 092133beb349964543f37805340ef303d2ffe28c (patch) | |
| tree | a922d64b08ba0c44506581eac157ebc4d72a260b /src/test | |
| parent | d08007ae773bc3cba62a6d3501f3078e37097d93 (diff) | |
Okay, I've had it with PQsetdbLogin having slightly different defaults
than PQconnectdb. Reimplement the former to use the same code as the
latter. Fix documentation omissions while at it.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/regress/pg_regress.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/regress/pg_regress.sh b/src/test/regress/pg_regress.sh index d5291a17526..63991ad5ec0 100644 --- a/src/test/regress/pg_regress.sh +++ b/src/test/regress/pg_regress.sh @@ -1,5 +1,5 @@ #! /bin/sh -# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.29 2002/11/13 16:40:23 tgl Exp $ +# $Header: /cvsroot/pgsql/src/test/regress/Attic/pg_regress.sh,v 1.30 2003/04/28 04:29:12 tgl Exp $ me=`basename $0` : ${TMPDIR=/tmp} @@ -137,6 +137,7 @@ do --host=*) PGHOST=`expr "x$1" : "x--host=\(.*\)"` export PGHOST + unset PGHOSTADDR shift;; --port=*) PGPORT=`expr "x$1" : "x--port=\(.*\)"` @@ -279,8 +280,10 @@ then if [ "$unix_sockets" = no ]; then PGHOST=$hostname export PGHOST + unset PGHOSTADDR else unset PGHOST + unset PGHOSTADDR fi PGPORT=65432 export PGPORT @@ -397,6 +400,7 @@ else # not temp-install if [ "$unix_sockets" = no ]; then PGHOST=$hostname export PGHOST + unset PGHOSTADDR fi if [ -n "$PGPORT" ]; then |
