Re: [GENERAL] pg crashing - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: [GENERAL] pg crashing
Date
Msg-id 486DFAFB.8000603@hagander.net
Whole thread Raw
In response to Re: [GENERAL] pg crashing  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>>> below this is going to convert \ to /, wouldn't it be clearer to
>>> describe the path prefix as Global/PostgreSQL: in the first place?
> 
>> Eh, that shows another bug I think. It should *not* convert the \ in
>> "Global\", because that one is is interpreted by the Win32 API call!
> 
> I was wondering about that.  What are the implications of that?

First, that the name isn't nicely readable when browsing with Process
Explorer. Second, that they will all go in the local namespace, which
means you can in theory start two postmasters in the same directory from
different terminal server sessions (this was the way it was on 8.2
already, it's a new feature for 8.3 that simply didn't work)



>> I think it should be per this patch. Seems right?
> 
> Pls fix the comment on the malloc, too.

Right, will do and commit.

//Magnus


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Adding variables for segment_size, wal_segment_size and block sizes
Next
From: chris
Date:
Subject: Re: A Windows x64 port of PostgreSQL