From b67383789e90871b1d8196acc39ad086fffd993e Mon Sep 17 00:00:00 2001 From: Noah Misch Date: Fri, 23 Feb 2018 11:24:04 -0800 Subject: [PATCH] Synchronize doc/ copies of src/test/examples/. This is mostly cosmetic, but it might fix build failures, on some platform, when copying from the documentation. Back-patch to 9.3 (all supported versions). --- doc/src/sgml/libpq.sgml | 15 ++++++++++++++- src/test/examples/testlibpq2.sql | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 55efa249135..d8dd28d04f7 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -8015,13 +8015,16 @@ testlibpq.o(.text+0xa4): undefined reference to `PQerrorMessage' #include -#include +#include "libpq-fe.h" static void exit_nicely(PGconn *conn) @@ -8142,6 +8145,9 @@ main(int argc, char **argv) #include #include +#ifdef HAVE_SYS_SELECT_H +#include +#endif + #include "libpq-fe.h" static void @@ -8285,6 +8295,9 @@ main(int argc, char **argv)