Changes to epgc test

Поиск
Список
Период
Сортировка
От Chris Browne
Тема Changes to epgc test
Дата
Msg-id 607j0r1itt.fsf_-_@dba2.int.libertyrms.com
обсуждение исходный текст
Ответы Re: Changes to epgc test  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-patches
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 connectdb@localhost as main;
        exec sql disconnect main;

-       exec sql connect to @localhost as main;
+       exec sql connect to connectdb@localhost as main;
        exec sql disconnect main;

        exec sql connect to connectdb@localhost:@TEMP_PORT@ as main;
        exec sql disconnect main;

-       exec sql connect to @localhost:@TEMP_PORT@ as main;
+       exec sql connect to connectdb@localhost:@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, bediger@teal.csn.org on X interfaces.

В списке pgsql-patches по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Updatable views
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] log_statement output for protocol