Commit 48ea8b76 authored by Bruce Momjian's avatar Bruce Momjian

Hi,

I have solved some problems with dynamic loading on NT. It is possible
to
run succesfully both trigger and plpgsql regression tests. The patch is
in
the included file "diff".

                        Dan
parent 9aa535a2
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.105 1999/03/17 22:53:18 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.106 1999/03/22 16:45:27 momjian Exp $
* *
* NOTES * NOTES
* this is the "main" module of the postgres backend and * this is the "main" module of the postgres backend and
...@@ -142,7 +142,7 @@ jmp_buf Warn_restart; ...@@ -142,7 +142,7 @@ jmp_buf Warn_restart;
#define sigsetjmp(x,y) setjmp(x) #define sigsetjmp(x,y) setjmp(x)
#define siglongjmp longjmp #define siglongjmp longjmp
#else #else
sigjmp_buf Warn_restart; DLLIMPORT sigjmp_buf Warn_restart;
#endif /* defined(nextstep) */ #endif /* defined(nextstep) */
bool InError; bool InError;
...@@ -1531,7 +1531,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[]) ...@@ -1531,7 +1531,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[])
if (!IsUnderPostmaster) if (!IsUnderPostmaster)
{ {
puts("\nPOSTGRES backend interactive interface "); puts("\nPOSTGRES backend interactive interface ");
puts("$Revision: 1.105 $ $Date: 1999/03/17 22:53:18 $\n"); puts("$Revision: 1.106 $ $Date: 1999/03/22 16:45:27 $\n");
} }
/* ---------------- /* ----------------
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.12 1999/02/13 23:20:10 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.13 1999/03/22 16:45:27 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -67,7 +67,7 @@ static OrderedSetData ActiveGlobalMemorySetData; /* uninitialized */ ...@@ -67,7 +67,7 @@ static OrderedSetData ActiveGlobalMemorySetData; /* uninitialized */
* CurrentMemoryContext * CurrentMemoryContext
* Memory context for general global allocations. * Memory context for general global allocations.
*/ */
MemoryContext CurrentMemoryContext = NULL; DLLIMPORT MemoryContext CurrentMemoryContext = NULL;
/***************************************************************************** /*****************************************************************************
* PRIVATE DEFINITIONS * * PRIVATE DEFINITIONS *
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: mcxt.h,v 1.13 1999/03/07 23:03:31 tgl Exp $ * $Id: mcxt.h,v 1.14 1999/03/22 16:45:28 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -22,7 +22,7 @@ typedef struct MemoryContextData *MemoryContext; ...@@ -22,7 +22,7 @@ typedef struct MemoryContextData *MemoryContext;
typedef struct GlobalMemoryData *GlobalMemory; typedef struct GlobalMemoryData *GlobalMemory;
extern MemoryContext CurrentMemoryContext; extern DLLIMPORT MemoryContext CurrentMemoryContext;
extern MemoryContext TopMemoryContext; extern MemoryContext TopMemoryContext;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* procedural language * procedural language
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.7 1999/02/03 21:17:58 momjian Exp $ * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.8 1999/03/22 16:45:30 momjian Exp $
* *
* This software is copyrighted by Jan Wieck - Hamburg. * This software is copyrighted by Jan Wieck - Hamburg.
* *
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
#define siglongjmp longjmp #define siglongjmp longjmp
#endif #endif
extern sigjmp_buf Warn_restart; /* in tcop/postgres.c */ extern DLLIMPORT sigjmp_buf Warn_restart; /* in tcop/postgres.c */
static PLpgSQL_function *error_info_func = NULL; static PLpgSQL_function *error_info_func = NULL;
static PLpgSQL_stmt *error_info_stmt = NULL; static PLpgSQL_stmt *error_info_stmt = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment