aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/connection.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-10-05 08:04:52 -0400
committerRobert Haas <rhaas@postgresql.org>2016-10-05 08:04:52 -0400
commitd2ce38e204583bc444eebffd800d492cf56e3b38 (patch)
treeb8bcc79af1216b90388d80897c23539131704a99 /contrib/postgres_fdw/connection.c
parenteda04886c1e048d695728206504ab4198462168e (diff)
downloadpostgresql-d2ce38e204583bc444eebffd800d492cf56e3b38.tar.gz
postgresql-d2ce38e204583bc444eebffd800d492cf56e3b38.zip
Rename WAIT_* constants to PG_WAIT_*.
Windows apparently has a constant named WAIT_TIMEOUT, and some of these other names are pretty generic, too. Insert "PG_" at the front of each name in order to disambiguate. Michael Paquier
Diffstat (limited to 'contrib/postgres_fdw/connection.c')
-rw-r--r--contrib/postgres_fdw/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/postgres_fdw/connection.c b/contrib/postgres_fdw/connection.c
index 9badfe6a7dd..bcdddc2db58 100644
--- a/contrib/postgres_fdw/connection.c
+++ b/contrib/postgres_fdw/connection.c
@@ -497,7 +497,7 @@ pgfdw_get_result(PGconn *conn, const char *query)
wc = WaitLatchOrSocket(MyLatch,
WL_LATCH_SET | WL_SOCKET_READABLE,
PQsocket(conn),
- -1L, WAIT_EXTENSION);
+ -1L, PG_WAIT_EXTENSION);
ResetLatch(MyLatch);
CHECK_FOR_INTERRUPTS();