X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BD7A15E3632 for ; Sun, 29 Aug 2004 13:26:51 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92321-03 for ; Sun, 29 Aug 2004 16:26:57 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id BED0B5E3631 for ; Sun, 29 Aug 2004 13:26:49 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i7TGQtst000445; Sun, 29 Aug 2004 12:26:55 -0400 (EDT) To: Ian Percival Cc: pgsql-sql@postgresql.org Subject: Re: expression_tree_walker: Unexpected node type 711 In-reply-to: <412E0892.7090202@emergence.com> References: <412E0892.7090202@emergence.com> Comments: In-reply-to Ian Percival message dated "Thu, 26 Aug 2004 09:58:10 -0600" Date: Sun, 29 Aug 2004 12:26:55 -0400 Message-ID: <444.1093796815@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/323 X-Sequence-Number: 18820 Ian Percival 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