File tree 4 files changed +6
-9
lines changed
4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ extern "C"
48
48
49
49
#ifdef __cplusplus
50
50
}
51
-
52
51
#endif
53
52
54
53
#endif
Original file line number Diff line number Diff line change 1
1
all : test1 test2 test3 test4 perftest dyntest dyntest2
2
2
3
- LDFLAGS =-g -I /usr/local/pgsql/include -L/usr/local/pgsql/lib -lecpg -lpq -lcrypt
4
- # LDFLAGS=-g -I../include -I/usr/include/postgresql -L../lib -L/usr/lib/postgresql -lecpg -lpq -lcrypt
5
- # LDFLAGS=-g -I/usr/include/postgresql -lecpg -lpq -lcrypt
3
+ LDFLAGS =-g -I /usr/local/pgsql/include -L/usr/local/pgsql/lib -lecpg -lpq
6
4
7
- # ECPG=/usr/local/pgsql/bin/ecpg
8
5
ECPG =../preproc/ecpg -I../include
9
- # ECPG=/usr/bin/ecpg -I/usr/include/postgresql
10
6
11
7
.SUFFIXES : .pgc .c
12
8
@@ -22,4 +18,4 @@ dyntest2: dyntest2.c
22
18
$(ECPG ) $?
23
19
24
20
clean :
25
- -/bin/rm test1 test2 test3 test4 perftest * .c log dyntest dyntest2
21
+ rm -f test1 test2 test3 test4 perftest * .c log dyntest dyntest2
Original file line number Diff line number Diff line change
1
+
2
+
1
3
exec sql include sqlca;
2
4
3
5
exec sql whenever sqlerror do PrintAndStop(msg);
@@ -15,8 +17,6 @@ void warn(void)
15
17
fprintf(stderr, "Warning: At least one column was truncated\n");
16
18
}
17
19
18
- exec sql include sqlca;
19
-
20
20
/* comment */
21
21
exec sql define AMOUNT 6;
22
22
Original file line number Diff line number Diff line change
1
+
2
+
1
3
exec sql include header_test;
2
4
3
5
exec sql type c is char reference;
You can’t perform that action at this time.
0 commit comments