mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
As usual I forgot some files. :-)
This commit is contained in:
parent
635a0b9a86
commit
146242fc9c
@ -10,6 +10,8 @@ TEMP_PORT = 4$(DEF_PGPORT)
|
||||
test1.pgc: test1.pgc.in
|
||||
sed -e 's,@TEMP_PORT@,$(TEMP_PORT),g' \
|
||||
$< >$@
|
||||
sed -e 's,@TEMP_PORT@,$(TEMP_PORT),g' \
|
||||
../expected/connect-test1.c.in >../expected/connect-test1.c
|
||||
|
||||
TESTS = test1 test1.c \
|
||||
test2 test2.c \
|
||||
|
@ -40,7 +40,7 @@ main(void)
|
||||
{ ECPGconnect(__LINE__, 0, "connectdb" , NULL, NULL , "main", 0); }
|
||||
#line 22 "test1.pgc"
|
||||
|
||||
{ ECPGdo(__LINE__, 0, 1, NULL, "alter user connectuser encrypted password 'connectpw'", ECPGt_EOIT, ECPGt_EORT);}
|
||||
{ ECPGdo(__LINE__, 0, 1, NULL, 0, 0, "alter user connectuser encrypted password 'connectpw'", ECPGt_EOIT, ECPGt_EORT);}
|
||||
#line 23 "test1.pgc"
|
||||
|
||||
{ ECPGdisconnect(__LINE__, "CURRENT");}
|
||||
@ -105,7 +105,7 @@ main(void)
|
||||
|
||||
strcpy(pw, "connectpw");
|
||||
strcpy(db, "tcp:postgresql://localhost:@TEMP_PORT@/connectdb");
|
||||
{ ECPGconnect(__LINE__, 0, db , "connectuser" , pw , NULL, 0); }
|
||||
{ ECPGconnect(__LINE__, 0, db , "connectuser" , " $1 " , NULL, 0); }
|
||||
#line 52 "test1.pgc"
|
||||
|
||||
{ ECPGdisconnect(__LINE__, "CURRENT");}
|
||||
|
Loading…
x
Reference in New Issue
Block a user