mirror of
https://github.com/postgres/postgres.git
synced 2025-10-21 02:52:47 +03:00
Apply PGDLLIMPORT markings broadly.
Up until now, we've had a policy of only marking certain variables in the PostgreSQL header files with PGDLLIMPORT, but now we've decided to mark them all. This means that extensions running on Windows should no longer operate at a disadvantage as compared to extensions running on Linux: if the variable is present in a header file, it should be accessible. Discussion: http://postgr.es/m/CA+TgmoYanc1_FSfimhgiWSqVyP5KKmh5NP2BWNwDhO8Pg2vGYQ@mail.gmail.com
This commit is contained in:
@@ -25,11 +25,11 @@
|
||||
/* Required daylight between max_stack_depth and the kernel limit, in bytes */
|
||||
#define STACK_DEPTH_SLOP (512 * 1024L)
|
||||
|
||||
extern CommandDest whereToSendOutput;
|
||||
extern PGDLLIMPORT CommandDest whereToSendOutput;
|
||||
extern PGDLLIMPORT const char *debug_query_string;
|
||||
extern int max_stack_depth;
|
||||
extern int PostAuthDelay;
|
||||
extern int client_connection_check_interval;
|
||||
extern PGDLLIMPORT int max_stack_depth;
|
||||
extern PGDLLIMPORT int PostAuthDelay;
|
||||
extern PGDLLIMPORT int client_connection_check_interval;
|
||||
|
||||
/* GUC-configurable parameters */
|
||||
|
||||
|
Reference in New Issue
Block a user