Re: [BUGS] BUG #4941: pg_stat_statements crash

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] BUG #4941: pg_stat_statements crash
Дата
Msg-id 23090.1248667139@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #4941: pg_stat_statements crash  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane escribió:
>> I looked at that and decided it was OK as-is.  How do you want to
>> change it?

> The reason that it doesn't need locks is not that there's no other
> process running, but that it was already initialized, in the case when
> found is false.

Mph.  The comment is correct, I think, but it applies to the situation
after we pass the !found test, rather than where the comment is.  Maybe
we should just move it down one statement?
        regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [BUGS] BUG #4941: pg_stat_statements crash
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Multicore builds on MSVC