Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WFPvN-0000C8-Vs for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Feb 2014 15:16:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WFPvN-0000sX-Bo for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Feb 2014 15:16:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WEWMH-0007zf-64 for pgsql-bugs@postgresql.org; Sat, 15 Feb 2014 03:56:05 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WEWME-00012c-WF for pgsql-bugs@postgresql.org; Sat, 15 Feb 2014 03:56:04 +0000 MIME-Version: 1.0 Subject: BUG #9227: Error on SELECT ROW OVERLAPS ROW with single ROW argument To: pgsql-bugs@postgresql.org From: pythonesque@gmail.com Date: Sat, 15 Feb 2014 03:55:49 +0000 Message-ID: <20140215035549.24618.37927@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.3 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 9227 Logged by: Joshua Yanovski Email address: pythonesque@gmail.com PostgreSQL version: 9.3.2 Operating system: Ubuntu 12.0.4 Description: # SELECT ROW (1) OVERLAPS ROW (2); ERROR: XX000: unrecognized node type: 656 LOCATION: transformExprRecurse, parse_expr.c:359 I'm not sure why this even parses, as it's not documented to do so. I do notice, however, that in makeOverlaps in gram.y creates a recursive list when largs or args has only one argument, which seems wrong to me. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs