Re: An example of bugs for Hot Standby

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: An example of bugs for Hot Standby
Дата
Msg-id 14578.1264006776@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: An example of bugs for Hot Standby  (Andres Freund <andres@anarazel.de>)
Ответы Re: An example of bugs for Hot Standby  (Andres Freund <andres@anarazel.de>)
Re: An example of bugs for Hot Standby  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> I realize its way too late in the cycle for that, but why dont we start using
> some library for easy cross platform atomic ops?

(1) there probably isn't one that does exactly what we want, works
everywhere, and has the right license;
(2) what actual gain would we get?  We've already done the work.

>> [ grows visibly pale ]  *Please* tell me we are not trying to take
>> locks in a signal handler.  What happens if it interrupts code that
>> is already holding that lock?

> Yes the patch does that at two places.

That's a must-fix.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: MySQL-ism help patch for psql
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: MySQL-ism help patch for psql