Re: auto_explain causes regression failures - Mailing list pgsql-hackers

From Tom Lane
Subject Re: auto_explain causes regression failures
Date
Msg-id 19961.1266387700@sss.pgh.pa.us
Whole thread Raw
In response to Re: auto_explain causes regression failures  (Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>)
List 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


pgsql-hackers by date:

Previous
From: Scott Bailey
Date:
Subject: Re: XQuery support
Next
From: Tom Lane
Date:
Subject: Re: Streaming replication on win32, still broken