pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: zsolt.sandor@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13781: "unrecognized node type" errors
Date: Mon, 23 Nov 2015 15:02:46 -0500
Message-ID: <11440.1448308966@sss.pgh.pa.us> (raw)
In-Reply-To: <20151123134252.781.61901@wrigleys.postgresql.org>
References: <20151123134252.781.61901@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (2+ messages)

Message-ID: <11440.1448308966@sss.pgh.pa.us>
Permalink:  ../11440.1448308966@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11440.1448308966@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, zsolt.sandor@gmail.com
  Subject: Re: BUG #13781: "unrecognized node type" errors
  In-Reply-To: <11440.1448308966@sss.pgh.pa.us>
  References: <20151123134252.781.61901@wrigleys.postgresql.org> <11440.1448308966@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox