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'
82308230<programlisting>
82318231<![CDATA[
82328232/*
8233+ * src/test/examples/testlibpq.c
8234+ *
8235+ *
82338236 * testlibpq.c
82348237 *
82358238 * Test the C version of libpq, the PostgreSQL frontend library.
82368239 */
82378240#include <stdio.h>
82388241#include <stdlib.h>
8239- #include < libpq-fe.h>
8242+ #include " libpq-fe.h"
82408243
82418244static void
82428245exit_nicely(PGconn *conn)
@@ -8357,6 +8360,9 @@ main(int argc, char **argv)
83578360<programlisting>
83588361<![CDATA[
83598362/*
8363+ * src/test/examples/testlibpq2.c
8364+ *
8365+ *
83608366 * testlibpq2.c
83618367 * Test of the asynchronous notification interface
83628368 *
@@ -8389,6 +8395,10 @@ main(int argc, char **argv)
83898395#include <errno.h>
83908396#include <sys/time.h>
83918397#include <sys/types.h>
8398+ #ifdef HAVE_SYS_SELECT_H
8399+ #include <sys/select.h>
8400+ #endif
8401+
83928402#include "libpq-fe.h"
83938403
83948404static void
@@ -8500,6 +8510,9 @@ main(int argc, char **argv)
85008510<programlisting>
85018511<![CDATA[
85028512/*
8513+ * src/test/examples/testlibpq3.c
8514+ *
8515+ *
85038516 * testlibpq3.c
85048517 * Test out-of-line parameters and binary I/O.
85058518 *
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