Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitde9d7f4

Browse files
committed
Add DLLIMPORT declarations needed by contrib modules.
1 parent0530d7a commitde9d7f4

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

‎contrib/dblink/dblink.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,4 @@ extern Datum dblink_build_sql_delete(PG_FUNCTION_ARGS);
7474
externDatumdblink_build_sql_update(PG_FUNCTION_ARGS);
7575
externDatumdblink_current_query(PG_FUNCTION_ARGS);
7676

77-
externchar*debug_query_string;
78-
7977
#endif/* DBLINK_H */

‎src/include/storage/bufmgr.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: bufmgr.h,v 1.64 2002/09/04 20:31:45 momjian Exp $
10+
* $Id: bufmgr.h,v 1.65 2002/10/21 18:57:34 petere Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -26,12 +26,12 @@ typedef void *Block;
2626
externintNBuffers;
2727

2828
/* in buf_init.c */
29-
externBlock*BufferBlockPointers;
29+
externDLLIMPORTBlock*BufferBlockPointers;
3030
externlong*PrivateRefCount;
3131

3232
/* in localbuf.c */
3333
externintNLocBuffer;
34-
externBlock*LocalBufferBlockPointers;
34+
externDLLIMPORTBlock*LocalBufferBlockPointers;
3535
externlong*LocalRefCount;
3636

3737
/* special pageno for bget */

‎src/include/storage/proc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: proc.h,v 1.60 2002/09/04 20:31:45 momjian Exp $
10+
* $Id: proc.h,v 1.61 2002/10/21 18:57:34 petere Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -73,7 +73,7 @@ struct PGPROC
7373
/* NOTE: "typedef struct PGPROC PGPROC" appears in storage/lock.h. */
7474

7575

76-
externPGPROC*MyProc;
76+
externDLLIMPORTPGPROC*MyProc;
7777

7878

7979
/*

‎src/include/tcop/tcopprot.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: tcopprot.h,v 1.50 2002/10/14 23:49:20 tgl Exp $
10+
* $Id: tcopprot.h,v 1.51 2002/10/21 18:57:35 petere Exp $
1111
*
1212
* OLD COMMENTS
1313
* This file was created so that other c files could get the two
@@ -32,6 +32,7 @@ extern bool InError;
3232
externCommandDestwhereToSendOutput;
3333
externboolHostnameLookup;
3434
externboolShowPortNumber;
35+
externDLLIMPORTchar*debug_query_string;
3536

3637
#ifndefBOOTSTRAP_INCLUDE
3738

‎src/include/utils/guc.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* External declarations pertaining to backend/utils/misc/guc.c and
55
* backend/utils/misc/guc-file.l
66
*
7-
* $Id: guc.h,v 1.23 2002/09/04 20:31:45 momjian Exp $
7+
* $Id: guc.h,v 1.24 2002/10/21 18:57:35 petere Exp $
88
*/
99
#ifndefGUC_H
1010
#defineGUC_H
@@ -125,8 +125,6 @@ extern bool Explain_pretty_print;
125125
externboolSQL_inheritance;
126126
externboolAustralian_timezones;
127127

128-
externchar*debug_query_string;
129-
130128
externintlog_min_error_statement;
131129
externchar*log_min_error_statement_str;
132130
externconstcharlog_min_error_statement_str_default[];

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp