Re: auto_explain causes cluster crash if pg_ctl reload is used (not pg_ctl restart)

From: bricklen <bricklen(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: auto_explain causes cluster crash if pg_ctl reload is used (not pg_ctl restart)
Date: 2011-10-25 21:16:28
Message-ID: CAGrpgQ_TZnbHA4dpdAKuaN8QjNRDMT0=gyVRvLi=JzrzCxsBgQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Oct 25, 2011 at 2:01 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> bricklen <bricklen(at)gmail(dot)com> writes:
>> The steps to reproduce are pretty simple.
>
>> Set the following in the postgresql.conf file:
>
>> shared_preload_libraries = 'pg_stat_statements,auto_explain'
>> custom_variable_classes = 'auto_explain'
>> auto_explain.log_min_duration = '10s'
>> auto_explain.log_analyze = true
>> auto_explain.log_buffers = 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.
>
>                        regards, tom lane
>

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

Thanks!

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Maxim Boguk 2011-10-25 22:54:08 Re: BUG #6267: Wrong results in pg_database_size
Previous Message Tom Lane 2011-10-25 21:01:02 Re: auto_explain causes cluster crash if pg_ctl reload is used (not pg_ctl restart)