From 47ce95a7b98ff06b51f12a7381fc3788dff9961c Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Wed, 20 Jan 2010 18:54:27 +0000 Subject: Now that much of walreceiver has been pulled back into the postgres binary, revert PGDLLIMPORT decoration of global variables. I'm not sure if there's any real harm from unnecessary PGDLLIMPORTs, but these are all internal variables that external modules really shouldn't be messing with. ThisTimeLineID still needs PGDLLIMPORT. --- src/include/replication/walreceiver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/replication') diff --git a/src/include/replication/walreceiver.h b/src/include/replication/walreceiver.h index 57de368d41f..a645d18b5dc 100644 --- a/src/include/replication/walreceiver.h +++ b/src/include/replication/walreceiver.h @@ -5,7 +5,7 @@ * * Portions Copyright (c) 2010-2010, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/include/replication/walreceiver.h,v 1.3 2010/01/20 09:16:24 heikki Exp $ + * $PostgreSQL: pgsql/src/include/replication/walreceiver.h,v 1.4 2010/01/20 18:54:27 heikki Exp $ * *------------------------------------------------------------------------- */ @@ -59,7 +59,7 @@ typedef struct slock_t mutex; /* locks shared variables shown above */ } WalRcvData; -extern PGDLLIMPORT WalRcvData *WalRcv; +extern WalRcvData *WalRcv; /* libpqwalreceiver hooks */ typedef bool (*walrcv_connect_type) (char *conninfo, XLogRecPtr startpoint); -- cgit v1.2.3