Skip to content

Commit b6f1dc0

Browse files
committed
Add 6 more OID typeds at portable plan
1 parent fd7d901 commit b6f1dc0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pg_repeater.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
#include "postgres.h"
1515

16+
#include "access/parallel.h"
1617
#include "access/xact.h"
1718
#include "commands/extension.h"
1819
#include "executor/executor.h"
@@ -184,6 +185,7 @@ HOOK_ExecStart_injection(QueryDesc *queryDesc, int eflags)
184185
*/
185186
if (ExtensionIsActive() &&
186187
queryDesc->plannedstmt->canSetTag &&
188+
!IsParallelWorker() &&
187189
((parsetree == NULL) || (nodeTag(parsetree) != T_CreatedbStmt)) &&
188190
!(eflags & EXEC_FLAG_EXPLAIN_ONLY))
189191
{

0 commit comments

Comments
 (0)