Re: something has gone wrong, but what is it?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: something has gone wrong, but what is it?
Date: 2022-08-10 18:50:30
Message-ID: CA+TgmoZqqutRuK1Y=Z76ejHLL0A=R=v1DHEvtrmU7SYvEKvecA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Aug 10, 2022 at 2:06 PM Andrey Borodin <x4mmm(at)yandex-team(dot)ru> wrote:
> > On 10 Aug 2022, at 19:49, Robert Haas <robertmhaas(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2022-08-10 19:48:15 Re: shared-memory based stats collector - v70
Previous Message Greg Stark 2022-08-10 18:18:25 Re: shared-memory based stats collector - v70