DISTPG-427: replaced return with goto exit to not break other extensions
Signed-off-by: Kai Wagner <kai.wagner@percona.com>pull/228/head
parent
a43dc879f9
commit
5abd8bb3a7
|
@ -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