mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 05:56:21 +00:00
DISTPG-427: replaced return with goto exit to not break other extensions
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
This commit is contained in:
@@ -3508,11 +3508,11 @@ pgsm_emit_log_hook(ErrorData *edata)
|
||||
goto exit;
|
||||
|
||||
if (IsParallelWorker())
|
||||
return;
|
||||
goto exit;
|
||||
|
||||
/* Check if PostgreSQL has finished its own bootstraping code. */
|
||||
if (MyProc == NULL)
|
||||
return;
|
||||
goto exit;
|
||||
|
||||
if ((edata->elevel == ERROR || edata->elevel == WARNING || edata->elevel == INFO || edata->elevel == DEBUG1))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user