File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -7779,13 +7779,16 @@ testlibpq.o(.text+0xa4): undefined reference to `PQerrorMessage'
7779
7779
<programlisting>
7780
7780
<![CDATA[
7781
7781
/*
7782
+ * src/test/examples/testlibpq.c
7783
+ *
7784
+ *
7782
7785
* testlibpq.c
7783
7786
*
7784
7787
* Test the C version of libpq, the PostgreSQL frontend library.
7785
7788
*/
7786
7789
#include <stdio.h>
7787
7790
#include <stdlib.h>
7788
- #include < libpq-fe.h>
7791
+ #include " libpq-fe.h"
7789
7792
7790
7793
static void
7791
7794
exit_nicely(PGconn *conn)
@@ -7906,6 +7909,9 @@ main(int argc, char **argv)
7906
7909
<programlisting>
7907
7910
<![CDATA[
7908
7911
/*
7912
+ * src/test/examples/testlibpq2.c
7913
+ *
7914
+ *
7909
7915
* testlibpq2.c
7910
7916
* Test of the asynchronous notification interface
7911
7917
*
@@ -7933,7 +7939,12 @@ main(int argc, char **argv)
7933
7939
#include <string.h>
7934
7940
#include <errno.h>
7935
7941
#include <sys/time.h>
7936
- #include <libpq-fe.h>
7942
+ #include <sys/types.h>
7943
+ #ifdef HAVE_SYS_SELECT_H
7944
+ #include <sys/select.h>
7945
+ #endif
7946
+
7947
+ #include "libpq-fe.h"
7937
7948
7938
7949
static void
7939
7950
exit_nicely(PGconn *conn)
@@ -8044,6 +8055,9 @@ main(int argc, char **argv)
8044
8055
<programlisting>
8045
8056
<![CDATA[
8046
8057
/*
8058
+ * src/test/examples/testlibpq3.c
8059
+ *
8060
+ *
8047
8061
* testlibpq3.c
8048
8062
* Test out-of-line parameters and binary I/O.
8049
8063
*
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