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 @@ -8256,13 +8256,16 @@ testlibpq.o(.text+0xa4): undefined reference to `PQerrorMessage'
82568256<programlisting>
82578257<![CDATA[
82588258/*
8259+ * src/test/examples/testlibpq.c
8260+ *
8261+ *
82598262 * testlibpq.c
82608263 *
82618264 * Test the C version of libpq, the PostgreSQL frontend library.
82628265 */
82638266#include <stdio.h>
82648267#include <stdlib.h>
8265- #include < libpq-fe.h>
8268+ #include " libpq-fe.h"
82668269
82678270static void
82688271exit_nicely(PGconn *conn)
@@ -8383,6 +8386,9 @@ main(int argc, char **argv)
83838386<programlisting>
83848387<![CDATA[
83858388/*
8389+ * src/test/examples/testlibpq2.c
8390+ *
8391+ *
83868392 * testlibpq2.c
83878393 * Test of the asynchronous notification interface
83888394 *
@@ -8415,6 +8421,10 @@ main(int argc, char **argv)
84158421#include <errno.h>
84168422#include <sys/time.h>
84178423#include <sys/types.h>
8424+ #ifdef HAVE_SYS_SELECT_H
8425+ #include <sys/select.h>
8426+ #endif
8427+
84188428#include "libpq-fe.h"
84198429
84208430static void
@@ -8526,6 +8536,9 @@ main(int argc, char **argv)
85268536<programlisting>
85278537<![CDATA[
85288538/*
8539+ * src/test/examples/testlibpq3.c
8540+ *
8541+ *
85298542 * testlibpq3.c
85308543 * Test out-of-line parameters and binary I/O.
85318544 *
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ CREATE TABLE TBL1 (i int4);
33CREATE TABLE TBL2 (i int4);
44
55CREATE 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