Re: Mysterious Pg syntax error: EXPLAIN BEGIN

Colin Law
Tue, 28 Aug 2012 21:03:39 -0000

On 28 August 2012 21:51, ddoherty03
<ddoherty03-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> Colin,
>
> Thanks for the reply.  I have checked out the issuer.id and filer.id
> variables and they look rational---they point to actual records---when the
> exception is thrown.
>
> I notice that the exception occurs at random points and seems to be
> independent of the data provided.
>
> I have temporarily solved the problem by catching the exception, sleeping
> one second, and issuing a retry, which appears to help.

Did you try googling for
postgresql "explain begin"
it brings up this which might be helpful