]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Add DLLIMPORT declarations needed by contrib modules.
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 21 Oct 2002 18:57:35 +0000 (18:57 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 21 Oct 2002 18:57:35 +0000 (18:57 +0000)
contrib/dblink/dblink.h
src/include/storage/bufmgr.h
src/include/storage/proc.h
src/include/tcop/tcopprot.h
src/include/utils/guc.h

index 09f9321bd6030c99c8fef6342e04977d16f62478..3e9119f81ace347455f03cb7656639bb8c19ef50 100644 (file)
@@ -74,6 +74,4 @@ extern Datum dblink_build_sql_delete(PG_FUNCTION_ARGS);
 extern Datum dblink_build_sql_update(PG_FUNCTION_ARGS);
 extern Datum dblink_current_query(PG_FUNCTION_ARGS);
 
-extern char *debug_query_string;
-
 #endif   /* DBLINK_H */
index d8271e32abcdfc3ac386298e1f23375f8061d3b8..1977417fc60bca1676667c65122a27a16393330d 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: bufmgr.h,v 1.64 2002/09/04 20:31:45 momjian Exp $
+ * $Id: bufmgr.h,v 1.65 2002/10/21 18:57:34 petere Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -26,12 +26,12 @@ typedef void *Block;
 extern int     NBuffers;
 
 /* in buf_init.c */
-extern Block *BufferBlockPointers;
+extern DLLIMPORT Block *BufferBlockPointers;
 extern long *PrivateRefCount;
 
 /* in localbuf.c */
 extern int     NLocBuffer;
-extern Block *LocalBufferBlockPointers;
+extern DLLIMPORT Block *LocalBufferBlockPointers;
 extern long *LocalRefCount;
 
 /* special pageno for bget */
index de3d1d4e461c0014070b608887fe8350d417da5e..dd8171359991cd47e450e45223207b944e0d118a 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: proc.h,v 1.60 2002/09/04 20:31:45 momjian Exp $
+ * $Id: proc.h,v 1.61 2002/10/21 18:57:34 petere Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -73,7 +73,7 @@ struct PGPROC
 /* NOTE: "typedef struct PGPROC PGPROC" appears in storage/lock.h. */
 
 
-extern PGPROC *MyProc;
+extern DLLIMPORT PGPROC *MyProc;
 
 
 /*
index ae909eb8af51ccbd41f2f124ef93941b127180fc..f4ba67b3be0062f5c0d6e9999e9e9b30981bcc20 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: tcopprot.h,v 1.50 2002/10/14 23:49:20 tgl Exp $
+ * $Id: tcopprot.h,v 1.51 2002/10/21 18:57:35 petere Exp $
  *
  * OLD COMMENTS
  *       This file was created so that other c files could get the two
@@ -32,6 +32,7 @@ extern bool InError;
 extern CommandDest whereToSendOutput;
 extern bool HostnameLookup;
 extern bool ShowPortNumber;
+extern DLLIMPORT char* debug_query_string;
 
 #ifndef BOOTSTRAP_INCLUDE
 
index 51b570affd0a857b0ea4e1f097f8086cc9ba4fe2..48221bded3138208f4cf202daef5360c571e8724 100644 (file)
@@ -4,7 +4,7 @@
  * External declarations pertaining to backend/utils/misc/guc.c and
  * backend/utils/misc/guc-file.l
  *
- * $Id: guc.h,v 1.23 2002/09/04 20:31:45 momjian Exp $
+ * $Id: guc.h,v 1.24 2002/10/21 18:57:35 petere Exp $
  */
 #ifndef GUC_H
 #define GUC_H
@@ -125,8 +125,6 @@ extern bool Explain_pretty_print;
 extern bool SQL_inheritance;
 extern bool Australian_timezones;
 
-extern char *debug_query_string;
-
 extern int     log_min_error_statement;
 extern char *log_min_error_statement_str;
 extern const char log_min_error_statement_str_default[];