From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: pgsql: Don't try to print data type names in slot_store_error_callback(
Date: Thu, 8 Jul 2021 10:57:22 -0400
Message-ID: <CA+TgmoZSFZ1x02ndWSF2b__t4OjY2oBVmp+WPs4m85d-g_ooNw@mail.gmail.com> (raw)
In-Reply-To: <E1lzPPp-0005bk-A5@gemulon.postgresql.org>
References: <E1lzPPp-0005bk-A5@gemulon.postgresql.org>
On Fri, Jul 2, 2021 at 4:05 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> The existing code tried to do syscache lookups in an already-failed
> transaction, which is problematic to say the least.
Why didn't the assertion in SearchCatCacheInternal() catch this? Was
this code never actually tested?
--
Robert Haas
EDB: http://www.enterprisedb.com
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-committers@postgresql.org
Cc: robertmhaas@gmail.com, tgl@sss.pgh.pa.us, pgsql-hackers@lists.postgresql.org
Subject: Re: pgsql: Don't try to print data type names in slot_store_error_callback(
In-Reply-To: <CA+TgmoZSFZ1x02ndWSF2b__t4OjY2oBVmp+WPs4m85d-g_ooNw@mail.gmail.com>
References: <E1lzPPp-0005bk-A5@gemulon.postgresql.org> <CA+TgmoZSFZ1x02ndWSF2b__t4OjY2oBVmp+WPs4m85d-g_ooNw@mail.gmail.com>
* 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