diff options
| author | Robert Haas <rhaas@postgresql.org> | 2017-12-05 09:24:05 -0500 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2017-12-05 09:24:05 -0500 |
| commit | ff1473078d2523fa5af7d678dcb4002d9e7f32bd (patch) | |
| tree | 2665ffc3f47500b46f9bf6abff35f3c3f47824eb /src/include/utils | |
| parent | 9101688502cc25ed8f521e33de5f1d793aeec9e0 (diff) | |
Mark assorted variables PGDLLIMPORT.
This makes life easier for extension authors who wish to support
Windows.
Brian Cloutier, slightly amended by me.
Discussion: http://postgr.es/m/CAJCy68fscdNhmzFPS4kyO00CADkvXvEa-28H-OtENk-pa2OTWw@mail.gmail.com
Diffstat (limited to 'src/include/utils')
| -rw-r--r-- | src/include/utils/guc.h | 6 | ||||
| -rw-r--r-- | src/include/utils/snapmgr.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h index aa2c7c160c0..b89e8e81842 100644 --- a/src/include/utils/guc.h +++ b/src/include/utils/guc.h @@ -247,8 +247,8 @@ extern bool default_with_oids; extern bool session_auth_is_superuser; extern int log_min_error_statement; -extern int log_min_messages; -extern int client_min_messages; +extern PGDLLIMPORT int log_min_messages; +extern PGDLLIMPORT int client_min_messages; extern int log_min_duration_statement; extern int log_temp_files; @@ -257,7 +257,7 @@ extern int temp_file_limit; extern int num_temp_buffers; extern char *cluster_name; -extern char *ConfigFileName; +extern PGDLLIMPORT char *ConfigFileName; extern char *HbaFileName; extern char *IdentFileName; extern char *external_pid_file; diff --git a/src/include/utils/snapmgr.h b/src/include/utils/snapmgr.h index fc641537804..8585194e785 100644 --- a/src/include/utils/snapmgr.h +++ b/src/include/utils/snapmgr.h @@ -56,10 +56,10 @@ extern TimestampTz GetOldSnapshotThresholdTimestamp(void); extern bool FirstSnapshotSet; -extern TransactionId TransactionXmin; -extern TransactionId RecentXmin; +extern PGDLLIMPORT TransactionId TransactionXmin; +extern PGDLLIMPORT TransactionId RecentXmin; extern PGDLLIMPORT TransactionId RecentGlobalXmin; -extern TransactionId RecentGlobalDataXmin; +extern PGDLLIMPORT TransactionId RecentGlobalDataXmin; extern Snapshot GetTransactionSnapshot(void); extern Snapshot GetLatestSnapshot(void); |
