mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +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:
@@ -65,16 +65,16 @@ struct SMgrRelationData;
|
||||
extern PGDLLIMPORT int NBuffers;
|
||||
|
||||
/* in bufmgr.c */
|
||||
extern bool zero_damaged_pages;
|
||||
extern int bgwriter_lru_maxpages;
|
||||
extern double bgwriter_lru_multiplier;
|
||||
extern bool track_io_timing;
|
||||
extern int effective_io_concurrency;
|
||||
extern int maintenance_io_concurrency;
|
||||
extern PGDLLIMPORT bool zero_damaged_pages;
|
||||
extern PGDLLIMPORT int bgwriter_lru_maxpages;
|
||||
extern PGDLLIMPORT double bgwriter_lru_multiplier;
|
||||
extern PGDLLIMPORT bool track_io_timing;
|
||||
extern PGDLLIMPORT int effective_io_concurrency;
|
||||
extern PGDLLIMPORT int maintenance_io_concurrency;
|
||||
|
||||
extern int checkpoint_flush_after;
|
||||
extern int backend_flush_after;
|
||||
extern int bgwriter_flush_after;
|
||||
extern PGDLLIMPORT int checkpoint_flush_after;
|
||||
extern PGDLLIMPORT int backend_flush_after;
|
||||
extern PGDLLIMPORT int bgwriter_flush_after;
|
||||
|
||||
/* in buf_init.c */
|
||||
extern PGDLLIMPORT char *BufferBlocks;
|
||||
|
||||
Reference in New Issue
Block a user