Add DLLIMPORT declarations needed by contrib modules.
This commit is contained in:
parent
0530d7a24b
commit
de9d7f4bd5
|
@ -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_build_sql_update(PG_FUNCTION_ARGS);
|
||||||
extern Datum dblink_current_query(PG_FUNCTION_ARGS);
|
extern Datum dblink_current_query(PG_FUNCTION_ARGS);
|
||||||
|
|
||||||
extern char *debug_query_string;
|
|
||||||
|
|
||||||
#endif /* DBLINK_H */
|
#endif /* DBLINK_H */
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* 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;
|
extern int NBuffers;
|
||||||
|
|
||||||
/* in buf_init.c */
|
/* in buf_init.c */
|
||||||
extern Block *BufferBlockPointers;
|
extern DLLIMPORT Block *BufferBlockPointers;
|
||||||
extern long *PrivateRefCount;
|
extern long *PrivateRefCount;
|
||||||
|
|
||||||
/* in localbuf.c */
|
/* in localbuf.c */
|
||||||
extern int NLocBuffer;
|
extern int NLocBuffer;
|
||||||
extern Block *LocalBufferBlockPointers;
|
extern DLLIMPORT Block *LocalBufferBlockPointers;
|
||||||
extern long *LocalRefCount;
|
extern long *LocalRefCount;
|
||||||
|
|
||||||
/* special pageno for bget */
|
/* special pageno for bget */
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* 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. */
|
/* NOTE: "typedef struct PGPROC PGPROC" appears in storage/lock.h. */
|
||||||
|
|
||||||
|
|
||||||
extern PGPROC *MyProc;
|
extern DLLIMPORT PGPROC *MyProc;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* 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
|
* OLD COMMENTS
|
||||||
* This file was created so that other c files could get the two
|
* This file was created so that other c files could get the two
|
||||||
|
@ -32,6 +32,7 @@ extern bool InError;
|
||||||
extern CommandDest whereToSendOutput;
|
extern CommandDest whereToSendOutput;
|
||||||
extern bool HostnameLookup;
|
extern bool HostnameLookup;
|
||||||
extern bool ShowPortNumber;
|
extern bool ShowPortNumber;
|
||||||
|
extern DLLIMPORT char* debug_query_string;
|
||||||
|
|
||||||
#ifndef BOOTSTRAP_INCLUDE
|
#ifndef BOOTSTRAP_INCLUDE
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* External declarations pertaining to backend/utils/misc/guc.c and
|
* External declarations pertaining to backend/utils/misc/guc.c and
|
||||||
* backend/utils/misc/guc-file.l
|
* 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
|
#ifndef GUC_H
|
||||||
#define GUC_H
|
#define GUC_H
|
||||||
|
@ -125,8 +125,6 @@ extern bool Explain_pretty_print;
|
||||||
extern bool SQL_inheritance;
|
extern bool SQL_inheritance;
|
||||||
extern bool Australian_timezones;
|
extern bool Australian_timezones;
|
||||||
|
|
||||||
extern char *debug_query_string;
|
|
||||||
|
|
||||||
extern int log_min_error_statement;
|
extern int log_min_error_statement;
|
||||||
extern char *log_min_error_statement_str;
|
extern char *log_min_error_statement_str;
|
||||||
extern const char log_min_error_statement_str_default[];
|
extern const char log_min_error_statement_str_default[];
|
||||||
|
|
Loading…
Reference in New Issue