Re: DISCARD TEMP results in "ERROR: cache lookup failed for type 0" - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: DISCARD TEMP results in "ERROR: cache lookup failed for type 0"
Date
Msg-id 20190726222028.GA18654@alvherre.pgsql
Whole thread Raw
In response to Re: DISCARD TEMP results in "ERROR: cache lookup failed for type 0"  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On 2019-Jul-05, Tom Lane wrote:

> Manuel Rigger <rigger.manuel@gmail.com> writes:
> > CREATE TEMP TABLE t0(c0 INT GENERATED ALWAYS AS IDENTITY) PARTITION BY
> > HASH((t0.c0));
> > VACUUM FULL;
> > DISCARD TEMP; -- unexpected: ERROR: cache lookup failed for type 0
> 
> Blech.  The proximate cause is fairly obvious from poking around with a

This was fixed by commit a0555ddab9b.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-bugs by date:

Previous
From: Manuel Rigger
Date:
Subject: Re: Attribute has wrong type in ALTER TABLE
Next
From: Manuel Rigger
Date:
Subject: Multiple inheritance and ALTER TABLE issue