Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group