pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stefan Huehner <stefan@huehner.org>
Cc: pgsql-hackers@postgresql.org
Subject: Re: 9.6beta2: query failure with 'cache lookup failed for type 0'
Date: Sat, 02 Jul 2016 12:07:40 -0400
Message-ID: <16436.1467475660@sss.pgh.pa.us> (raw)
In-Reply-To: <20160702160042.GA11659@huehner.biz>
References: <20160702131056.GD3165@huehner.biz>
	<32030.1467473752@sss.pgh.pa.us>
	<20160702160042.GA11659@huehner.biz>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Stefan Huehner <stefan@huehner.org> writes:
> On Sat, Jul 02, 2016 at 11:35:52AM -0400, Tom Lane wrote:
>> Hmm, I can't reproduce this on HEAD, but it doesn't seem to look like
>> anything we've fixed post-beta2.  Do you need to put any particular data
>> into the tables?  Are you running with any nondefault configuration
>> parameters?

> No data at all needed in table.

Ah, I found it: need to ANALYZE the tables.  Then I get

TRAP: FailedAssertion("!(((bool) ((aggtranstype) != ((Oid) 0))))", File: "nodeAgg.c", Line: 2698)

Looks like planner is somehow forgetting to assign aggtranstype for the
aggregate.  Will trace it down, thanks for the report!

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (5+ messages)

Message-ID: <16436.1467475660@sss.pgh.pa.us>
Permalink:  ../16436.1467475660@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16436.1467475660@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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, stefan@huehner.org
  Subject: Re: 9.6beta2: query failure with 'cache lookup failed for type 0'
  In-Reply-To: <16436.1467475660@sss.pgh.pa.us>
  References: <20160702131056.GD3165@huehner.biz> <32030.1467473752@sss.pgh.pa.us> <20160702160042.GA11659@huehner.biz> <16436.1467475660@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