Re: EXPLAIN with view: bogus varno: 5

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: EXPLAIN with view: bogus varno: 5
Date: 2005-08-27 18:05:48
Message-ID: 4016.1125165948@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Fuhr <mike(at)fuhr(dot)org> writes:
> Running EXPLAIN on a view that has an aggregate and uses an index
> results in the error "bogus varno: 5".

I've committed a fix for this --- it was a bug in the recently added
code that eliminates useless SubqueryScan nodes.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-08-27 18:07:47 Re: bitmap scan cause core dump 8.1dev
Previous Message Tom Lane 2005-08-27 16:25:03 Re: Any MIPS assembly experts in the house?