Re: Cygwin PostgreSQL postmaster abort problem - Mailing list pgsql-ports

From Tom Lane
Subject Re: Cygwin PostgreSQL postmaster abort problem
Date
Msg-id 6340.978235003@sss.pgh.pa.us
Whole thread Raw
In response to Re: Cygwin PostgreSQL postmaster abort problem  (Jason Tishler <Jason.Tishler@dothill.com>)
Responses Re: Cygwin PostgreSQL postmaster abort problem  (Jason Tishler <Jason.Tishler@dothill.com>)
List pgsql-ports
Jason Tishler <Jason.Tishler@dothill.com> writes:
> --- postgresql-20001229.orig/src/backend/utils/mmgr/mcxt.c    Tue Aug 22 03:00:13 2000
> +++ postgresql-20001229/src/backend/utils/mmgr/mcxt.c    Fri Dec 29 23:46:31 2000
> @@ -45,7 +45,7 @@ MemoryContext PostmasterContext = NULL;
>  MemoryContext CacheMemoryContext = NULL;
>  MemoryContext QueryContext = NULL;
>  MemoryContext TopTransactionContext = NULL;
> -MemoryContext TransactionCommandContext = NULL;
> +DLLIMPORT MemoryContext TransactionCommandContext = NULL;

These changes look fine as far as they go, but if you think
TransactionCommandContext needs to be DLLIMPORT, why not the other
global context variables, too?  What led you to mark it DLLIMPORT
anyway?

            regards, tom lane

pgsql-ports by date:

Previous
From: Jason Tishler
Date:
Subject: Re: Cygwin PostgreSQL postmaster abort problem
Next
From: Jason Tishler
Date:
Subject: Re: Cygwin PostgreSQL postmaster abort problem