File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -7908,13 +7908,16 @@ testlibpq.o(.text+0xa4): undefined reference to `PQerrorMessage'
7908
7908
<programlisting>
7909
7909
<![CDATA[
7910
7910
/*
7911
+ * src/test/examples/testlibpq.c
7912
+ *
7913
+ *
7911
7914
* testlibpq.c
7912
7915
*
7913
7916
* Test the C version of libpq, the PostgreSQL frontend library.
7914
7917
*/
7915
7918
#include <stdio.h>
7916
7919
#include <stdlib.h>
7917
- #include < libpq-fe.h>
7920
+ #include " libpq-fe.h"
7918
7921
7919
7922
static void
7920
7923
exit_nicely(PGconn *conn)
@@ -8035,6 +8038,9 @@ main(int argc, char **argv)
8035
8038
<programlisting>
8036
8039
<![CDATA[
8037
8040
/*
8041
+ * src/test/examples/testlibpq2.c
8042
+ *
8043
+ *
8038
8044
* testlibpq2.c
8039
8045
* Test of the asynchronous notification interface
8040
8046
*
@@ -8067,6 +8073,10 @@ main(int argc, char **argv)
8067
8073
#include <errno.h>
8068
8074
#include <sys/time.h>
8069
8075
#include <sys/types.h>
8076
+ #ifdef HAVE_SYS_SELECT_H
8077
+ #include <sys/select.h>
8078
+ #endif
8079
+
8070
8080
#include "libpq-fe.h"
8071
8081
8072
8082
static void
@@ -8178,6 +8188,9 @@ main(int argc, char **argv)
8178
8188
<programlisting>
8179
8189
<![CDATA[
8180
8190
/*
8191
+ * src/test/examples/testlibpq3.c
8192
+ *
8193
+ *
8181
8194
* testlibpq3.c
8182
8195
* Test out-of-line parameters and binary I/O.
8183
8196
*
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ CREATE TABLE TBL1 (i int4);
3
3
CREATE TABLE TBL2 (i int4);
4
4
5
5
CREATE RULE r1 AS ON INSERT TO TBL1 DO
6
- (INSERT INTO TBL2 VALUES (new .i ); NOTIFY TBL2);
6
+ (INSERT INTO TBL2 VALUES (new .i ); NOTIFY TBL2);
You can’t perform that action at this time.
0 commit comments