Re: Getting server crash after running sqlsmith - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Getting server crash after running sqlsmith
Date
Msg-id CA+Tgmoav6Gs4Gg=418=dwNQ-iYEVEi1Lns5b302L=TLymftDmw@mail.gmail.com
Whole thread Raw
In response to Re: Getting server crash after running sqlsmith  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Mar 28, 2017 at 2:36 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> tushar <tushar.ahuja@enterprisedb.com> writes:
>> After runinng sqlsmith against latest sources of PG v10  , able to see a
>> crash -
>
> Hm ... I don't see a crash here, but I wonder whether you have parameters
> set that would cause this query to be run as a parallel query?  Because
> pg_rotate_logfile() is marked as parallel-safe in pg_proc, which seems
> probably insane.

/me blinks

Uh, what's insane about that?  All it does is test a GUC (which is
surely parallel-safe) and call SendPostmasterSignal (which seems safe,
too).

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: make check-world output
Next
From: Robert Haas
Date:
Subject: Re: [COMMITTERS] pgsql: Improve performance of find_all_inheritors()