Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a0xKG-0004JM-8K for pgsql-bugs@arkaria.postgresql.org; Mon, 23 Nov 2015 20:03:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a0xKF-0002q1-RH for pgsql-bugs@arkaria.postgresql.org; Mon, 23 Nov 2015 20:02:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a0xKE-0002mb-Oh for pgsql-bugs@postgresql.org; Mon, 23 Nov 2015 20:02:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a0xKC-0001U7-4F for pgsql-bugs@postgresql.org; Mon, 23 Nov 2015 20:02:58 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id tANK2kxT011441; Mon, 23 Nov 2015 15:02:46 -0500 From: Tom Lane To: zsolt.sandor@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13781: "unrecognized node type" errors In-reply-to: <20151123134252.781.61901@wrigleys.postgresql.org> References: <20151123134252.781.61901@wrigleys.postgresql.org> Comments: In-reply-to zsolt.sandor@gmail.com message dated "Mon, 23 Nov 2015 13:42:52 +0000" Date: Mon, 23 Nov 2015 15:02:46 -0500 Message-ID: <11440.1448308966@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) 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 zsolt.sandor@gmail.com writes: > The problem didn't occur in 9.4.4, but does consistently on 9.4.5. The "bt > full" output is as follows: This stack trace is pretty wacko; in particular, frames 13-17 imply that you've got a Query whose jointree field is pointing directly at an AccessPriv node, and then the AccessPriv node's cols field is pointing directly at a BoolExpr. None of that makes any sense at all. The most likely explanation is that the debugger is not telling the truth (perhaps you've pointed it to the wrong executable?), in which case there's exactly zero trustworthy information here. A different line of theorization is that the querytree read back from the system catalogs for the view that's evidently getting expanded is corrupt somehow. You might look at whether psql's \d+ on the view produces a sane-looking query. Please see if you can extract a reproducible test case. It's not very likely that anybody will be able to help on the strength of the information you have provided. 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