Merge pull request #228 from capri1989/DISTPG-427

DISTPG-427: replaced return with goto exit to not break other extensions
This commit is contained in:
Ibrar Ahmed
2022-05-22 10:03:01 +05:00
committed by GitHub

View File

@@ -3507,11 +3507,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))
{