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 @@ -8015,13 +8015,16 @@ testlibpq.o(.text+0xa4): undefined reference to `PQerro
10000
rMessage'
8015
8015
<programlisting>
8016
8016
<![CDATA[
8017
8017
/*
8018
+ * src/test/examples/testlibpq.c
8019
+ *
8020
+ *
8018
8021
* testlibpq.c
8019
8022
*
8020
8023
* Test the C version of libpq, the PostgreSQL frontend library.
8021
8024
*/
8022
8025
#include <stdio.h>
8023
8026
#include <stdlib.h>
8024
- #include < libpq-fe.h>
8027
+ #include " libpq-fe.h"
8025
8028
8026
8029
static void
8027
8030
exit_nicely(PGconn *conn)
@@ -8142,6 +8145,9 @@ main(int argc, char **argv)
8142
8145
<programlisting>
8143
8146
<![CDATA[
8144
8147
/*
8148
+ * src/test/examples/testlibpq2.c
8149
+ *
8150
+ *
8145
8151
* testlibpq2.c
8146
8152
* Test of the asynchronous notification interface
8147
8153
*
@@ -8174,6 +8180,10 @@ main(int argc, char **argv)
8174
8180
#include <errno.h>
8175
8181
#include <sys/time.h>
8176
8182
#include <sys/types.h>
8183
+ #ifdef HAVE_SYS_SELECT_H
8184
+ #include <sys/select.h>
8185
+ #endif
8186
+
8177
8187
#include "libpq-fe.h"
8178
8188
8179
8189
static void
@@ -8285,6 +8295,9 @@ main(int argc, char **argv)
8285
8295
<programlisting>
8286
8296
<![CDATA[
8287
8297
/*
8298
+ * src/test/examples/testlibpq3.c
8299
+ *
8300
+ *
8288
8301
* testlibpq3.c
8289
8302
* Test out-of-line parameters and binary I/O.
8290
8303
*
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