Re: [BUGS] BUG #5305: Postgres service stops when closing Windows session

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] BUG #5305: Postgres service stops when closing Windows session
Дата
Msg-id 4242.1284059320@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #5305: Postgres service stops when closing Windows session  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Thu, Sep 9, 2010 at 21:00, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> The thrust of my question was more along the lines of whether we should
>> look for a different solution to the current problem, so that we would
>> have something that could be back-ported into 8.2 and 8.3. �Personally
>> I'm satisfied with only fixing it in 8.4 and up, but then again I don't
>> use Windows.

> Once we've shown that it works, I think we should look at doing
> something for <= 8.3 as well.

> How about something along the line of y previous patch (with the
> event) for 8.2 and 8.3, and then this simplified one for 8.4+?

Actually, I was just wondering how much we really need the dead-man
switch for this patch.  If we don't have it, then what we risk is that
exit(128) will be taken as successful exit when it shouldn't be.  But
how likely is it that such a call will ever be made?  I think accepting
that small risk might be reasonable in the old branches.  It's not like
the other possible fixes are zero-risk in themselves; especially not
patches that are only meant for the old branches and will never get
testing in HEAD.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: [BUGS] BUG #5305: Postgres service stops when closing Windows session
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [BUGS] BUG #5305: Postgres service stops when closing Windows session