Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V1I3J-0007Sc-DW for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Jul 2013 15:29:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V1I3I-0004BG-Lu for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Jul 2013 15:29:32 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V1I3H-0004B9-MQ for pgsql-bugs@postgresql.org; Mon, 22 Jul 2013 15:29:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V1I3B-0005M6-0E for pgsql-bugs@postgresql.org; Mon, 22 Jul 2013 15:29:31 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r6MFTNaZ015571; Mon, 22 Jul 2013 11:29:23 -0400 (EDT) From: Tom Lane To: Feike Steenbergen cc: pgsql-bugs@postgresql.org Subject: Re: 9.3beta2 unrecognized node type in join alias vars when retrieving view definition In-reply-to: References: <20130722112625.GB13444@alap2.anarazel.de> Comments: In-reply-to Feike Steenbergen message dated "Mon, 22 Jul 2013 15:10:32 +0200" Date: Mon, 22 Jul 2013 11:29:22 -0400 Message-ID: <15570.1374506962@sss.pgh.pa.us> X-Pg-Spam-Score: -0.7 (/) 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 Feike Steenbergen writes: > the attached dump can be loaded and results in an error message when > retrieving the view definitions. Thanks for the test case. It looks like I broke this in commit 2ffa740b, as a result of believing the comment in parsenodes.h that says joinaliasvars lists can only contain Vars or COALESCE expressions :-(. Will fix. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs