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

Commitc2a77f5

Browse files
committed
fix bug in handle_modification_query() (erroneous optimization)
1 parent350edca commitc2a77f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/planner_tree_modification.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,10 @@ handle_modification_query(Query *parse)
301301
return;
302302

303303
rte=rt_fetch(result_rel,parse->rtable);
304+
305+
/* Exit if it's DELETE FROM ONLY table */
306+
if (!rte->inh)return;
307+
304308
prel=get_pathman_relation_info(rte->relid);
305309

306310
/* Exit if it's not partitioned */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp