Merge pull request #234 from capri1989/main-PG-427
DISTPG-427: replaced return with goto exit to not break other extensionspull/252/head
commit
cb454113b7
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue