Re: pgsql: Don't try to print data type names in slot_store_error_callback( - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pgsql: Don't try to print data type names in slot_store_error_callback(
Date
Msg-id CA+TgmoZSFZ1x02ndWSF2b__t4OjY2oBVmp+WPs4m85d-g_ooNw@mail.gmail.com
Whole thread Raw
Responses Re: pgsql: Don't try to print data type names in slot_store_error_callback(  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: pgbench logging broken by time logic changes
Next
From: Boris Kolpackov
Date:
Subject: Re: Pipeline mode and PQpipelineSync()