Re: pg_log_fatal vs pg_log_error

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Antonin Houska <ah(at)cybertec(dot)at>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_log_fatal vs pg_log_error
Date: 2019-06-17 13:44:46
Message-ID: 20190617134446.GA3991@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Antonin Houska 2019-06-17 13:56:15 Re: [Proposal] Table-level Transparent Data Encryption (TDE) and Key Management Service (KMS)
Previous Message Antonin Houska 2019-06-17 13:39:49 Re: pg_log_fatal vs pg_log_error