mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-13 19:57:53 +08:00
Clean up ecpg test files.
This commit is contained in:
parent
3e24112b71
commit
2f19d11fc8
@ -48,7 +48,6 @@ extern "C"
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -1,12 +1,8 @@
|
||||
all: test1 test2 test3 test4 perftest dyntest dyntest2
|
||||
|
||||
LDFLAGS=-g -I /usr/local/pgsql/include -L/usr/local/pgsql/lib -lecpg -lpq -lcrypt
|
||||
#LDFLAGS=-g -I../include -I/usr/include/postgresql -L../lib -L/usr/lib/postgresql -lecpg -lpq -lcrypt
|
||||
#LDFLAGS=-g -I/usr/include/postgresql -lecpg -lpq -lcrypt
|
||||
LDFLAGS=-g -I /usr/local/pgsql/include -L/usr/local/pgsql/lib -lecpg -lpq
|
||||
|
||||
#ECPG=/usr/local/pgsql/bin/ecpg
|
||||
ECPG=../preproc/ecpg -I../include
|
||||
#ECPG=/usr/bin/ecpg -I/usr/include/postgresql
|
||||
|
||||
.SUFFIXES: .pgc .c
|
||||
|
||||
@ -22,4 +18,4 @@ dyntest2: dyntest2.c
|
||||
$(ECPG) $?
|
||||
|
||||
clean:
|
||||
-/bin/rm test1 test2 test3 test4 perftest *.c log dyntest dyntest2
|
||||
rm -f test1 test2 test3 test4 perftest *.c log dyntest dyntest2
|
||||
|
@ -1,3 +1,5 @@
|
||||
|
||||
|
||||
exec sql include sqlca;
|
||||
|
||||
exec sql whenever sqlerror do PrintAndStop(msg);
|
||||
@ -15,8 +17,6 @@ void warn(void)
|
||||
fprintf(stderr, "Warning: At least one column was truncated\n");
|
||||
}
|
||||
|
||||
exec sql include sqlca;
|
||||
|
||||
/* comment */
|
||||
exec sql define AMOUNT 6;
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
|
||||
|
||||
exec sql include header_test;
|
||||
|
||||
exec sql type c is char reference;
|
||||
|
Loading…
x
Reference in New Issue
Block a user