Re: [HACKERS] Server crash while trying to fetch EXPLAIN query results with a cursor

2012-06-27 Thread Tom Lane
Rushabh Lathia 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 edito

[HACKERS] Server crash while trying to fetch EXPLAIN query results with a cursor

2012-06-26 Thread Rushabh Lathia
Hi All, Consider the following testcase: postgres=# select version(); version - PostgreSQL 9.3devel on i686-pc-linux-gnu, compiled by gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3, 32-bit (1 row) postgres=# do