Re: BUG #18545: \dt breaks transaction, calling error when executed in SET SESSION AUTHORIZATION

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: Justin Pryzby <pryzby(at)telsasoft(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Андрей Рачицкий <therealgofman(at)mail(dot)ru>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18545: \dt breaks transaction, calling error when executed in SET SESSION AUTHORIZATION
Date: 2024-10-19 23:48:35
Message-ID: 1184579.1729381715@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Noah Misch <noah(at)leadboat(dot)com> writes:
> Thanks for debugging that. RestorePendingSyncs() also changes what
> RelationInitPhysicalAddr() puts in the relcache entry, so it needs to stay
> with RestoreRelationMap(). I'm attaching the fix I have in mind.

Ah. No objections here.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Amit Langote 2024-10-20 03:41:47 Re: BUG #18657: Using JSON_OBJECTAGG with volatile function leads to segfault
Previous Message Noah Misch 2024-10-19 23:28:15 Re: BUG #18545: \dt breaks transaction, calling error when executed in SET SESSION AUTHORIZATION

Browse pgsql-hackers by date

  From Date Subject
Next Message Junwang Zhao 2024-10-20 03:20:34 report a typo in WaitReadBuffers
Previous Message Noah Misch 2024-10-19 23:28:15 Re: BUG #18545: \dt breaks transaction, calling error when executed in SET SESSION AUTHORIZATION