Re: pg_log_fatal vs pg_log_error - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pg_log_fatal vs pg_log_error
Date
Msg-id 20190617134446.GA3991@paquier.xyz
Whole thread Raw
In response to Re: pg_log_fatal vs pg_log_error  (Antonin Houska <ah@cybertec.at>)
List pgsql-hackers
On Mon, Jun 17, 2019 at 03:39:49PM +0200, Antonin Houska wrote:
> I'd understand this if pg_log_fatal() called exit() itself, but it does not
> (unless I miss something).

Oops.  My apologies.  I have my own wrapper of pg_log_fatal() for an
internal tool which does an exit on top of the logging in this case.
You are right the PG code does not exit() in this case.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Antonin Houska
Date:
Subject: Re: pg_log_fatal vs pg_log_error
Next
From: Antonin Houska
Date:
Subject: Re: [Proposal] Table-level Transparent Data Encryption (TDE) and Key Management Service (KMS)