aboutsummaryrefslogtreecommitdiff
path: root/src/backend/libpq/pqcomm.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2014-11-05 17:12:23 -0500
committerRobert Haas <rhaas@postgresql.org>2014-11-05 17:12:23 -0500
commitc30be9787bd9808631b72843b0a93f06ce775dd0 (patch)
treea4cdd478a9346b19c008705e31b69b93229d19c5 /src/backend/libpq/pqcomm.c
parent465d7e1882bc1f316c7cb2a68e751c34b403e8d7 (diff)
downloadpostgresql-c30be9787bd9808631b72843b0a93f06ce775dd0.tar.gz
postgresql-c30be9787bd9808631b72843b0a93f06ce775dd0.zip
Fix thinko in commit 2bd9e412f92bc6a68f3e8bcb18e04955cc35001d.
Obviously, every translation unit should not be declaring this separately. It needs to be PGDLLIMPORT as well, to avoid breaking third-party code that uses any of the functions that the commit mentioned above changed to macros.
Diffstat (limited to 'src/backend/libpq/pqcomm.c')
-rw-r--r--src/backend/libpq/pqcomm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/libpq/pqcomm.c b/src/backend/libpq/pqcomm.c
index dcbb704c6a5..74161970ab5 100644
--- a/src/backend/libpq/pqcomm.c
+++ b/src/backend/libpq/pqcomm.c
@@ -105,6 +105,8 @@ char *Unix_socket_group;
/* Where the Unix socket files are (list of palloc'd strings) */
static List *sock_paths = NIL;
+PQcommMethods *PqCommMethods;
+
/*
* Buffers for low-level I/O.