mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
Convert elog(LOG) calls to ereport() where appropriate
User-visible log messages should go through ereport(), so they are subject to translation. Many remaining elog(LOG) calls are really debugging calls. Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org> Reviewed-by: Michael Paquier <michael@paquier.xyz> Reviewed-by: Noah Misch <noah@leadboat.com> Discussion: https://www.postgresql.org/message-id/flat/92d6f545-5102-65d8-3c87-489f71ea0a37%40enterprisedb.com
This commit is contained in:
@ -11533,7 +11533,7 @@ assign_tcp_keepalives_idle(int newval, void *extra)
|
||||
* once we set it we might fail to unset it. So there seems little point
|
||||
* in fully implementing the check-then-assign GUC API for these
|
||||
* variables. Instead we just do the assignment on demand. pqcomm.c
|
||||
* reports any problems via elog(LOG).
|
||||
* reports any problems via ereport(LOG).
|
||||
*
|
||||
* This approach means that the GUC value might have little to do with the
|
||||
* actual kernel value, so we use a show_hook that retrieves the kernel
|
||||
|
Reference in New Issue
Block a user