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