Re: BUG #6082: server segfault - pg_stat_reset_shared(null)

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: BUG #6082: server segfault - pg_stat_reset_shared(null)
Дата
Msg-id CABUevEzPEXyqdfyWCDh6Lm6AOjFPBzrutB22_pAszHgEsorisg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #6082: server segfault - pg_stat_reset_shared(null)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Wed, Jun 29, 2011 at 23:52, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> On Wed, Jun 29, 2011 at 15:31, Steve Haslam <araqnid@googlemail.com> wro=
te:
>>> =3D> select pg_stat_reset_shared(null)
>>> *server segfault*
>
>> Thanks for the report - fixed, and will be in next releases.
>
> Seems like the more appropriate fix in HEAD is to mark the function
> strict in pg_proc.h.

I considered that, but gave it up when I realized it would require a
new initdb and I wanted the same fix everywhere. But agreed that it's
cleaner, so I've reverted my previous patch on HEAD and made this
change instead. Left the old patch on backbranches (including 9.1) so
we don't force an initdb there...


--=20
=A0Magnus Hagander
=A0Me: http://www.hagander.net/
=A0Work: http://www.redpill-linpro.com/

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: view + explain + index scan -> bogus varno: 65001 (with some variations)
Следующее
От: Chris Bandy
Дата:
Сообщение: Re: BUG #6080: information_schema.columns.column_default contains NULL inconsistently