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 @@ -8230,13 +8230,16 @@ testlibpq.o(.text+0xa4): undefined reference to `PQerrorMessage'
8230
8230
<programlisting>
8231
8231
<![CDATA[
8232
8232
/*
8233
+ * src/test/examples/testlibpq.c
8234
+ *
8235
+ *
8233
8236
* testlibpq.c
8234
8237
*
8235
8238
* Test the C version of libpq, the PostgreSQL frontend library.
8236
8239
*/
8237
8240
#include <stdio.h>
8238
8241
#include <stdlib.h>
8239
- #include < libpq-fe.h>
8242
+ #include " libpq-fe.h"
8240
8243
8241
8244
static void
8242
8245
exit_nicely(PGconn *conn)
@@ -8357,6 +8360,9 @@ main(int argc, char **argv)
8357
8360
<programlisting>
8358
8361
<![CDATA[
8359
8362
/*
8363
+ * src/test/examples/testlibpq2.c
8364
+ *
8365
+ *
8360
8366
* testlibpq2.c
8361
8367
* Test of the asynchronous notification interface
8362
8368
*
@@ -8389,6 +8395,10 @@ main(int argc, char **argv)
8389
8395
#include <errno.h>
8390
8396
#include <sys/time.h>
8391
8397
#include <sys/types.h>
8398
+ #ifdef HAVE_SYS_SELECT_H
8399
+ #include <sys/select.h>
8400
+ #endif
8401
+
8392
8402
#include "libpq-fe.h"
8393
8403
8394
8404
static void
@@ -8500,6 +8510,9 @@ main(int argc, char **argv)
8500
8510
<programlisting>
8501
8511
<![CDATA[
8502
8512
/*
8513
+ * src/test/examples/testlibpq3.c
8514
+ *
8515
+ *
8503
8516
* testlibpq3.c
8504
8517
* Test out-of-line parameters and binary I/O.
8505
8518
*
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