Re: expression_tree_walker: Unexpected node type 711

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ian Percival <ian(at)emergence(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: expression_tree_walker: Unexpected node type 711
Date: 2004-08-29 16:26:55
Message-ID: 444.1093796815@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Ian Percival <ian(at)emergence(dot)com> writes:
> SQL THAT IS THROWING ERROR:
> select
> calendar_date
> from
> official_hour
> where
> official_hour is not null
> and office_closed = False
> and calendar_date >= date'2004/01/01'
> and calendar_date <= date'2004/08/23'
> order by
> calendar_date

> RESULTS:
> ProgrammingError: ERROR: expression_tree_walker: Unexpected node type 711

> Anyone see something here I don't?

7.4 will give a more helpful error message:

ERROR: relation reference "official_hour" cannot be used in an expression

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Rosser Schwarz 2004-08-30 17:17:29 function fails where individual statements succeed
Previous Message Gaetano Mendola 2004-08-29 11:20:00 Re: backup of a specific schema