mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +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:
@@ -249,10 +249,10 @@ struct config_enum
|
||||
};
|
||||
|
||||
/* constant tables corresponding to enums above and in guc.h */
|
||||
extern const char *const config_group_names[];
|
||||
extern const char *const config_type_names[];
|
||||
extern const char *const GucContext_Names[];
|
||||
extern const char *const GucSource_Names[];
|
||||
extern PGDLLIMPORT const char *const config_group_names[];
|
||||
extern PGDLLIMPORT const char *const config_type_names[];
|
||||
extern PGDLLIMPORT const char *const GucContext_Names[];
|
||||
extern PGDLLIMPORT const char *const GucSource_Names[];
|
||||
|
||||
/* get the current set of variables */
|
||||
extern struct config_generic **get_guc_variables(void);
|
||||
|
||||
Reference in New Issue
Block a user