Re: Some code cleanup for pgbench and pg_verifybackup - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Some code cleanup for pgbench and pg_verifybackup
Date
Msg-id ED94368A-A5EB-4BC1-92F8-C44DAFF75A61@yesql.se
Whole thread Raw
In response to Re: Some code cleanup for pgbench and pg_verifybackup  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
> On 27 Jul 2021, at 01:53, Michael Paquier <michael@paquier.xyz> wrote:

> ..and I also recall that this point has been discussed, where the conclusion
> was that the logging should never exit() directly.


That's a characteristic of the API which still holds IMO.  If we want
something, it's better to have an explicit exit function which takes a log
string than a log function that exits.

--
Daniel Gustafsson        https://vmware.com/




pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Some code cleanup for pgbench and pg_verifybackup
Next
From: Amit Kapila
Date:
Subject: Re: [bug?] Missed parallel safety checks, and wrong parallel safety