mirror of
https://github.com/postgres/postgres.git
synced 2025-11-03 09:13:20 +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:
@@ -129,7 +129,8 @@ struct _DestReceiver
|
||||
/* Private fields might appear beyond this point... */
|
||||
};
|
||||
|
||||
extern DestReceiver *None_Receiver; /* permanent receiver for DestNone */
|
||||
extern PGDLLIMPORT DestReceiver *None_Receiver; /* permanent receiver for
|
||||
* DestNone */
|
||||
|
||||
/* The primary destination management functions */
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ typedef enum
|
||||
LOGSTMT_ALL /* log all statements */
|
||||
} LogStmtLevel;
|
||||
|
||||
extern int log_statement;
|
||||
extern PGDLLIMPORT int log_statement;
|
||||
|
||||
extern List *pg_parse_query(const char *query_string);
|
||||
extern List *pg_analyze_and_rewrite(RawStmt *parsetree,
|
||||
|
||||
Reference in New Issue
Block a user