error in cvs head: bogus varattno for OUTER var: 5

From: Jeremy Drake <pgsql(at)jdrake(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: error in cvs head: bogus varattno for OUTER var: 5
Date: 2007-02-25 07:49:19
Message-ID: Pine.BSO.4.64.0702242342190.18849@resin.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The attached sql file creates some table infrastructure and then tries to
explain a query. I get the following error on CVS HEAD:

psql:bogus_varattno_error.sql:23: ERROR: bogus varattno for OUTER var: 5

In my real data, when I attempt to run the query I get the error:
ERROR: invalid attribute number 5

But in the test setup it just returns an empty set.

Any ideas what is causing this? Is it my query, or is something broken
somewhere? I tend to think the latter, since this error message does not
feel like one that a user would get and be expected to know what to do
with...

--
If God had intended Man to Watch TV, He would have given him Rabbit
Ears.

Attachment Content-Type Size
bogus_varattno_error.sql text/plain 744 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-02-25 07:58:30 Re: error in cvs head: bogus varattno for OUTER var: 5
Previous Message Alvaro Herrera 2007-02-25 07:01:53 Re: [Monotone-devel] Re: SCMS question