Re: auto_explain causes regression failures
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
Cc: Andrew Dunstan <andrew@dunslane.net>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-02-17T06:21:40Z
Lists: pgsql-hackers
Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp> writes: > Thank you for the bug report. Auto_explan tries to explain the query > even if it is failed, but schema objects that are created in the same > transaction might not be available. "cache lookup failed" erros can be > avoided if auto_explain skips explaining queries in aborted transactions. I don't think this is auto_explain's fault. ExecutorEnd() shouldn't be getting run in an aborted xact --- there are too many other things that are likely to fall over. See my response to Andrew. regards, tom lane