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 @@ -7773,13 +7773,16 @@ testlibpq.o(.text+0xa4): undefined reference to `PQerrorMessage'
7773
7773
<programlisting>
7774
7774
<![CDATA[
7775
7775
/*
7776
+ * src/test/examples/testlibpq.c
7777
+ *
7778
+ *
7776
7779
* testlibpq.c
7777
7780
*
7778
7781
* Test the C version of libpq, the PostgreSQL frontend library.
7779
7782
*/
7780
7783
#include <stdio.h>
7781
7784
#include <stdlib.h>
7782
- #include < libpq-fe.h>
7785
+ #include " libpq-fe.h"
7783
7786
7784
7787
static void
7785
7788
exit_nicely(PGconn *conn)
@@ -7900,6 +7903,9 @@ main(int argc, char **argv)
7900
7903
<programlisting>
7901
7904
<![CDATA[
7902
7905
/*
7906
+ * src/test/examples/testlibpq2.c
7907
+ *
7908
+ *
7903
7909
* testlibpq2.c
7904
7910
* Test of the asynchronous notification interface
7905
7911
*
@@ -7932,6 +7938,10 @@ main(int argc, char **argv)
7932
7938
#include <errno.h>
7933
7939
#include <sys/time.h>
7934
7940
#include <sys/types.h>
7941
+ #ifdef HAVE_SYS_SELECT_H
7942
+ #include <sys/select.h>
7943
+ #endif
7944
+
7935
7945
#include "libpq-fe.h"
7936
7946
7937
7947
static void
@@ -8043,6 +8053,9 @@ main(int argc, char **argv)
8043
8053
<programlisting>
8044
8054
<![CDATA[
8045
8055
/*
8056
+ * src/test/examples/testlibpq3.c
8057
+ *
8058
+ *
8046
8059
* testlibpq3.c
8047
8060
* Test out-of-line parameters and binary I/O.
8048
8061
*
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