Re: auto_explain causes cluster crash if pg_ctl reload is used (not pg_ctl restart) - Mailing list pgsql-bugs

From bricklen
Subject Re: auto_explain causes cluster crash if pg_ctl reload is used (not pg_ctl restart)
Date
Msg-id CAGrpgQ_TZnbHA4dpdAKuaN8QjNRDMT0=gyVRvLi=JzrzCxsBgQ@mail.gmail.com
Whole thread Raw
In response to Re: auto_explain causes cluster crash if pg_ctl reload is used (not pg_ctl restart)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Tue, Oct 25, 2011 at 2:01 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> bricklen <bricklen@gmail.com> writes:
>> The steps to reproduce are pretty simple.
>
>> Set the following in the postgresql.conf file:
>
>> shared_preload_libraries =3D 'pg_stat_statements,auto_explain'
>> custom_variable_classes =3D 'auto_explain'
>> auto_explain.log_min_duration =3D '10s'
>> auto_explain.log_analyze =3D true
>> auto_explain.log_buffers =3D true
>
>> As the postgres user, issue "pg_ctl reload"
>
>> pg_ctl status will now show that there is no running postmaster.
>
> This looks like the same thing as bug #6097, which is fixed in 9.0.5.
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0regards, tom lane
>

Yup, you nailed it. I upgraded to 9.0.5 and the earlier changes no
longer trigger the crash.

Thanks!

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: auto_explain causes cluster crash if pg_ctl reload is used (not pg_ctl restart)
Next
From: Maxim Boguk
Date:
Subject: Re: BUG #6267: Wrong results in pg_database_size