Skip to content

Commit 1192aea

Browse files
committed
Don't forget to reenable hooks if expression parsing failed
1 parent 46bce8f commit 1192aea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/relation_info.c

+2
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,8 @@ cook_partitioning_expression(const Oid relid,
705705
error->cursorpos = 0;
706706
error->internalpos = 0;
707707

708+
/* Enable pathman hooks */
709+
pathman_hooks_enabled = true;
708710
ReThrowError(error);
709711
}
710712
PG_END_TRY();

0 commit comments

Comments
 (0)