Re: Server crash while trying to fetch EXPLAIN query results with a cursor - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Server crash while trying to fetch EXPLAIN query results with a cursor
Date
Msg-id 29809.1340853643@sss.pgh.pa.us
Whole thread Raw
In response to Server crash while trying to fetch EXPLAIN query results with a cursor  (Rushabh Lathia <rushabh.lathia@gmail.com>)
List pgsql-hackers
Rushabh Lathia <rushabh.lathia@gmail.com> writes:
> Above testcase endup with server crash. Crash is due to following assert
> into ScanQueryForLocks()
> Assert(parsetree->commandType != CMD_UTILITY);

Meh, yeah, more fallout from the CREATE TABLE AS representation change.

> PFA patch for the same.

Applied with some editorialization.  Thanks!
        regards, tom lane


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: We probably need autovacuum_max_wraparound_workers
Next
From: Tom Lane
Date:
Subject: Re: We probably need autovacuum_max_wraparound_workers