Minor beta buglet "unrecognized node type: 302"

From: Ian Barwick <barwick(at)gmx(dot)net>
To: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Minor beta buglet "unrecognized node type: 302"
Date: 2003-10-28 20:25:21
Message-ID: 200310282125.21667.barwick@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


through my patented unit testing technology (caffein and sleep deprivation)
I came across this:
db=> SELECT 1 FROM object WHERE object IS NOT NULL;
ERROR: unrecognized node type: 302

where I was expecting something more like this:
db=> SELECT 1 FROM object WHERE mispelt_column IS NOT NULL;
ERROR: column "mispelt_column" does not exist

Occurs when a valid table name is present in the WHERE clause
where a column name would be expected.

Present in 7.4beta5 (and also in 7.3.4 with the message
"expression_tree_walker: Unexpected node type 711").

Ian Barwick
barwick(at)gmx(dot)net

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2003-10-28 20:37:58 Re: PANIC: can't juggle and compress too
Previous Message Dror Matalon 2003-10-28 20:14:57 Re: PANIC: can't juggle and compress too