Merge pull request #234 from capri1989/main-PG-427

DISTPG-427: replaced return with goto exit to not break other extensions
This commit is contained in:
Kai Wagner
2022-05-31 08:17:21 +02:00
committed by GitHub

View File

@@ -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))
{