Re: Explain verbose query with CTE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bartosz Dmytrak <bdmytrak(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Explain verbose query with CTE
Date: 2012-04-20 20:41:02
Message-ID: 14359.1334954462@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bartosz Dmytrak <bdmytrak(at)gmail(dot)com> writes:
> This e-mail is reposted form pgadmin support mailing list. This problem
> looks like related with postgres not pgAdmin.
> [ EXPLAIN VERBOSE yields a "cache lookup failed" error ]

Huh, yeah, that's a backend bug all right. I thought at first you might
have a catalog-corruption problem, but I can reproduce the failure here
from your example. Most likely EXPLAIN is getting confused about which
Var belongs to which table. Will look into it.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bartosz Dmytrak 2012-04-20 21:24:43 Re: Explain verbose query with CTE
Previous Message Eliot Gable 2012-04-20 20:38:16 Re: LOCK TABLE is not allowed in a non-volatile function