Re: Add pg_stat_recovery system view - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Add pg_stat_recovery system view
Date
Msg-id aa5jXJLBHazYvd5m@paquier.xyz
Whole thread Raw
In response to Re: Add pg_stat_recovery system view  (Chao Li <li.evan.chao@gmail.com>)
Responses Re: Add pg_stat_recovery system view
List pgsql-hackers
On Mon, Mar 09, 2026 at 01:20:45PM +0800, Chao Li wrote:
>> [1] https://www.postgresql.org/docs/devel/error-message-reporting.html
>
> Would it make sense to mention this distinction in the header
> comments for ereport and elog in the code? For these logging APIs, I
> think developers are often more likely to read the code comments
> than the documentation.

As of the link already mentioned:
"Therefore, elog should be used only for internal errors .."
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Shreeya Sharma
Date:
Subject: Re: POC: PLpgSQL FOREACH IN JSON ARRAY
Next
From: Shreeya Sharma
Date:
Subject: Re: POC: PLpgSQL FOREACH IN JSON ARRAY