Re: something has gone wrong, but what is it? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: something has gone wrong, but what is it?
Date
Msg-id CA+TgmoZqqutRuK1Y=Z76ejHLL0A=R=v1DHEvtrmU7SYvEKvecA@mail.gmail.com
Whole thread Raw
In response to Re: something has gone wrong, but what is it?  (Andrey Borodin <x4mmm@yandex-team.ru>)
List pgsql-hackers
On Wed, Aug 10, 2022 at 2:06 PM Andrey Borodin <x4mmm@yandex-team.ru> wrote:
> > On 10 Aug 2022, at 19:49, Robert Haas <robertmhaas@gmail.com> wrote:
> > After a bit of further looking around I noticed that there's another
> > check for an invalid auxtype in this function which uses a slightly
> > different message text and also PANIC rather than ERROR.
>
> Is there a reason to do
> MyBackendType = B_INVALID;
> after PANIC or ERROR?

That could probably be taken out, but it doesn't seem important to take it out.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: shared-memory based stats collector - v70
Next
From: Greg Stark
Date:
Subject: Re: shared-memory based stats collector - v70