From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Manuel Rigger <rigger.manuel@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: DISCARD TEMP results in "ERROR: cache lookup failed for type 0"
Date: Fri, 26 Jul 2019 18:20:28 -0400
Message-ID: <20190726222028.GA18654@alvherre.pgsql> (raw)
In-Reply-To: <4709.1562365346@sss.pgh.pa.us>
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
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: alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us, rigger.manuel@gmail.com
Subject: Re: DISCARD TEMP results in "ERROR: cache lookup failed for type 0"
In-Reply-To: <20190726222028.GA18654@alvherre.pgsql>
References: <4709.1562365346@sss.pgh.pa.us> <20190726222028.GA18654@alvherre.pgsql>
* 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