mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
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
This commit is contained in:
@ -150,14 +150,14 @@ extern PGDLLIMPORT bool IsUnderPostmaster;
|
||||
extern PGDLLIMPORT bool IsBackgroundWorker;
|
||||
extern PGDLLIMPORT bool IsBinaryUpgrade;
|
||||
|
||||
extern bool ExitOnAnyError;
|
||||
extern PGDLLIMPORT bool ExitOnAnyError;
|
||||
|
||||
extern PGDLLIMPORT char *DataDir;
|
||||
|
||||
extern PGDLLIMPORT int NBuffers;
|
||||
extern int MaxBackends;
|
||||
extern int MaxConnections;
|
||||
extern int max_worker_processes;
|
||||
extern PGDLLIMPORT int MaxBackends;
|
||||
extern PGDLLIMPORT int MaxConnections;
|
||||
extern PGDLLIMPORT int max_worker_processes;
|
||||
extern int max_parallel_workers;
|
||||
|
||||
extern PGDLLIMPORT int MyProcPid;
|
||||
@ -238,7 +238,7 @@ extern PGDLLIMPORT int IntervalStyle;
|
||||
#define MAXTZLEN 10 /* max TZ name len, not counting tr. null */
|
||||
|
||||
extern bool enableFsync;
|
||||
extern bool allowSystemTableMods;
|
||||
extern PGDLLIMPORT bool allowSystemTableMods;
|
||||
extern PGDLLIMPORT int work_mem;
|
||||
extern PGDLLIMPORT int maintenance_work_mem;
|
||||
|
||||
|
Reference in New Issue
Block a user