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

Commit48ea8b7

Browse files
committed
Hi,
I have solved some problems with dynamic loading on NT. It is possibletorun succesfully both trigger and plpgsql regression tests. The patch isinthe included file "diff". Dan
1 parent9aa535a commit48ea8b7

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

‎src/backend/tcop/postgres.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.105 1999/03/17 22:53:18 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.106 1999/03/22 16:45:27 momjian Exp $
1111
*
1212
* NOTES
1313
* this is the "main" module of the postgres backend and
@@ -142,7 +142,7 @@ jmp_bufWarn_restart;
142142
#definesigsetjmp(x,y)setjmp(x)
143143
#definesiglongjmp longjmp
144144
#else
145-
sigjmp_bufWarn_restart;
145+
DLLIMPORTsigjmp_bufWarn_restart;
146146

147147
#endif/* defined(nextstep) */
148148
boolInError;
@@ -1531,7 +1531,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[])
15311531
if (!IsUnderPostmaster)
15321532
{
15331533
puts("\nPOSTGRES backend interactive interface ");
1534-
puts("$Revision: 1.105 $ $Date: 1999/03/17 22:53:18 $\n");
1534+
puts("$Revision: 1.106 $ $Date: 1999/03/22 16:45:27 $\n");
15351535
}
15361536

15371537
/* ----------------

‎src/backend/utils/mmgr/mcxt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.12 1999/02/13 23:20:10 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.13 1999/03/22 16:45:27 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -67,7 +67,7 @@ static OrderedSetData ActiveGlobalMemorySetData;/* uninitialized */
6767
* CurrentMemoryContext
6868
*Memory context for general global allocations.
6969
*/
70-
MemoryContextCurrentMemoryContext=NULL;
70+
DLLIMPORTMemoryContextCurrentMemoryContext=NULL;
7171

7272
/*****************************************************************************
7373
* PRIVATE DEFINITIONS *

‎src/include/utils/mcxt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: mcxt.h,v 1.13 1999/03/07 23:03:31 tgl Exp $
9+
* $Id: mcxt.h,v 1.14 1999/03/22 16:45:28 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -22,7 +22,7 @@ typedef struct MemoryContextData *MemoryContext;
2222
typedefstructGlobalMemoryData*GlobalMemory;
2323

2424

25-
externMemoryContextCurrentMemoryContext;
25+
externDLLIMPORTMemoryContextCurrentMemoryContext;
2626
externMemoryContextTopMemoryContext;
2727

2828

‎src/pl/plpgsql/src/pl_exec.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* procedural language
44
*
55
* IDENTIFICATION
6-
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.7 1999/02/03 21:17:58 momjian Exp $
6+
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.8 1999/03/22 16:45:30 momjian Exp $
77
*
88
* This software is copyrighted by Jan Wieck - Hamburg.
99
*
@@ -75,7 +75,7 @@
7575
#definesiglongjmplongjmp
7676
#endif
7777

78-
externsigjmp_bufWarn_restart;/* in tcop/postgres.c */
78+
externDLLIMPORTsigjmp_bufWarn_restart;/* in tcop/postgres.c */
7979

8080
staticPLpgSQL_function*error_info_func=NULL;
8181
staticPLpgSQL_stmt*error_info_stmt=NULL;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp