I'm not at all sure that these are the right changes to apply; it
somewhat appears to me as though ecpg is supposed to be able to cope
with the omissions.

In any case, CVS HEAD is breaking on AIX 5.3 with GCC 4.1.1, and these
are the places where it's breaking.

Index: test1.pgc.in
===================================================================
RCS file: 
/projects/cvsroot/pgsql/src/interfaces/ecpg/test/connect/test1.pgc.in,v
retrieving revision 1.3
diff -u -r1.3 test1.pgc.in
--- test1.pgc.in        29 Aug 2006 12:24:51 -0000      1.3
+++ test1.pgc.in        29 Aug 2006 18:42:25 -0000
@@ -26,25 +26,25 @@
        exec sql connect to [EMAIL PROTECTED] as main;
        exec sql disconnect main;
 
-       exec sql connect to @localhost as main;
+       exec sql connect to [EMAIL PROTECTED] as main;
        exec sql disconnect main;
 
        exec sql connect to [EMAIL PROTECTED]:@TEMP_PORT@ as main;
        exec sql disconnect main;
 
-       exec sql connect to @localhost:@TEMP_PORT@ as main;
+       exec sql connect to [EMAIL PROTECTED]:@TEMP_PORT@ as main;
        exec sql disconnect main;
 
        exec sql connect to connectdb:@TEMP_PORT@ as main;
        exec sql disconnect main;
 
-       exec sql connect to :@TEMP_PORT@ as main;
+       exec sql connect to connectdb:@TEMP_PORT@ as main;
        exec sql disconnect main;
 
        exec sql connect to tcp:postgresql://localhost:@TEMP_PORT@/connectdb 
user connectuser identified by connectpw;
        exec sql disconnect;
 
-       exec sql connect to tcp:postgresql://localhost:@TEMP_PORT@/ user 
connectdb;
+       exec sql connect to "tcp:postgresql://localhost:@TEMP_PORT@/" user 
connectdb;
        exec sql disconnect;
 
        strcpy(pw, "connectpw");
Index: test5.pgc
===================================================================
RCS file: /projects/cvsroot/pgsql/src/interfaces/ecpg/test/connect/test5.pgc,v
retrieving revision 1.2
diff -u -r1.2 test5.pgc
--- test5.pgc   29 Aug 2006 12:24:51 -0000      1.2
+++ test5.pgc   29 Aug 2006 18:42:25 -0000
@@ -37,7 +37,7 @@
        exec sql connect to 'connectdb' as main;
        exec sql disconnect main;
 
-       exec sql connect to as main user connectdb;
+       exec sql connect to connectdb as main user connectdb;
        exec sql disconnect main;
 
        exec sql connect to connectdb as main user connectuser/connectdb;
@@ -55,7 +55,7 @@
        exec sql connect to "unix:postgresql://200.46.204.71/connectdb" as main 
user connectuser;
        exec sql disconnect main;
 
-       exec sql connect to unix:postgresql://localhost/ as main user connectdb;
+       exec sql connect to "unix:postgresql://localhost/" as main user 
connectdb;
        exec sql disconnect main;
 
        /* connect twice */
-- 
output = reverse("gro.mca" "@" "enworbbc")
http://cbbrowne.com/info/linuxxian.html
"The only ``intuitive'' interface is the nipple. After that, it's all
learned."  -- Bruce Ediger, [EMAIL PROTECTED] on X interfaces.

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to