Re: [PATCH] "could not reattach to shared memory" on Windows - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] "could not reattach to shared memory" on Windows
Date
Msg-id 22601.1247585022@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] "could not reattach to shared memory" on Windows  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: [PATCH] "could not reattach to shared memory" on Windows  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: [PATCH] "could not reattach to shared memory" on Windows  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tsutomu Yamada wrote:
>> This patch using VirtualAlloc()/VirtualFree() to avoid failing in
>> reattach to shared memory.

> Since this fixes a very annoying bug present in older versions, I think
> this should be backpatched all the way back to 8.2.

Agreed, but first we need some evidence that it actually fixes the
problem.  How can we acquire such evidence?

> - please use ereport() instead of elog() for error messages

This is only appropriate if they're user-facing messages, which probably
errors in this area are not ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros
Next
From: Oleg Bartunov
Date:
Subject: Prefix support for synonym dictionary