pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ian Percival <ian@emergence.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: expression_tree_walker: Unexpected node type 711
Date: Sun, 29 Aug 2004 12:26:55 -0400
Message-ID: <444.1093796815@sss.pgh.pa.us> (raw)
In-Reply-To: <412E0892.7090202@emergence.com>
References: <412E0892.7090202@emergence.com>

Ian Percival <ian@emergence.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



view thread (2+ messages)

Message-ID: <444.1093796815@sss.pgh.pa.us>
Permalink:  ../444.1093796815@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/444.1093796815@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ian@emergence.com
  Subject: Re: expression_tree_walker: Unexpected node type 711
  In-Reply-To: <444.1093796815@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox