Skip to content

Commit f7c9345

Browse files
committed
Use <> for libpq #include in example programs, per suggestion from Josh Berkus.
1 parent adfb444 commit f7c9345

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.302 2010/02/24 15:54:31 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.303 2010/02/27 03:41:34 momjian Exp $ -->
22

33
<chapter id="libpq">
44
<title><application>libpq</application> - C Library</title>
@@ -7010,7 +7010,7 @@ testlibpq.o(.text+0xa4): undefined reference to `PQerrorMessage'
70107010
*/
70117011
#include <stdio.h>
70127012
#include <stdlib.h>
7013-
#include "libpq-fe.h"
7013+
#include <libpq-fe.h>
70147014

70157015
static void
70167016
exit_nicely(PGconn *conn)
@@ -7158,7 +7158,7 @@ main(int argc, char **argv)
71587158
#include <string.h>
71597159
#include <errno.h>
71607160
#include <sys/time.h>
7161-
#include "libpq-fe.h"
7161+
#include <libpq-fe.h>
71627162

71637163
static void
71647164
exit_nicely(PGconn *conn)
@@ -7296,7 +7296,7 @@ main(int argc, char **argv)
72967296
#include <stdlib.h>
72977297
#include <string.h>
72987298
#include <sys/types.h>
7299-
#include "libpq-fe.h"
7299+
#include <libpq-fe.h>
73007300

73017301
/* for ntohl/htonl */
73027302
#include <netinet/in.h>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy