summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/connect
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2006-09-14 08:46:58 +0000
committerMichael Meskes <meskes@postgresql.org>2006-09-14 08:46:58 +0000
commit4eef745fb19f93725d50de093c6747fb60149b75 (patch)
tree46a2056f5c060e84f2ab6319e29f785f2d5c6761 /src/interfaces/ecpg/test/connect
parent0f0d6765ce0b10b989df60d89f2f6f4661c72218 (diff)
downloadpostgresql-4eef745fb19f93725d50de093c6747fb60149b75.tar.gz
Cygwin systems seem to have a different error message when trying to connect to port 0. Let's try port 20 instead.
Diffstat (limited to 'src/interfaces/ecpg/test/connect')
-rw-r--r--src/interfaces/ecpg/test/connect/test1.pgc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/connect/test1.pgc.in b/src/interfaces/ecpg/test/connect/test1.pgc.in
index 16f93066dd..c511de6634 100644
--- a/src/interfaces/ecpg/test/connect/test1.pgc.in
+++ b/src/interfaces/ecpg/test/connect/test1.pgc.in
@@ -63,7 +63,7 @@ exec sql end declare section;
exec sql disconnect;
/* wrong port */
- exec sql connect to tcp:postgresql://localhost:0/connectdb user connectuser identified by connectpw;
+ exec sql connect to tcp:postgresql://localhost:20/connectdb user connectuser identified by connectpw;
/* no disconnect necessary */
/* wrong password */