Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcbdde20

Browse files
committed
One more atx check inside executor.
1 parentdddaa24 commitcbdde20

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎src/partition_filter.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include"utils.h"
1818

1919
#include"access/htup_details.h"
20+
#include"access/xact.h"
2021
#include"catalog/pg_class.h"
2122
#include"catalog/pg_type.h"
2223
#include"foreign/fdwapi.h"
@@ -733,6 +734,12 @@ partition_filter_exec(CustomScanState *node)
733734
PlanState*child_ps= (PlanState*)linitial(node->custom_ps);
734735
TupleTableSlot*slot;
735736

737+
/* If statement is prepared, parse_analyze hook won't catch this */
738+
#if defined(PGPRO_EE)
739+
if (getNestLevelATX()!=0)
740+
elog(ERROR,"pg_pathman extension is not compatible with autonomous transactions");
741+
#endif/* PGPRO_EE */
742+
736743
slot=ExecProcNode(child_ps);
737744

738745
if (!TupIsNull(slot))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp