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

Commit34c4dc3

Browse files
committed
Merge branch 'master' into hooking_copy_stmt
2 parents62f1184 +fbbbf4b commit34c4dc3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎src/hooks.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,16 @@ pathman_rel_pathlist_hook(PlannerInfo *root, RelOptInfo *rel, Index rti, RangeTb
367367
ppi,paramsel);
368368
elseif (IsA(cur_path,MergeAppendPath)&&
369369
pg_pathman_enable_runtime_merge_append)
370+
{
371+
/* Check struct layout compatibility */
372+
if (offsetof(AppendPath,subpaths)!=
373+
offsetof(MergeAppendPath,subpaths))
374+
elog(FATAL,"Struct layouts of AppendPath and "
375+
"MergeAppendPath differ");
376+
370377
inner_path=create_runtimemergeappend_path(root,cur_path,
371378
ppi,paramsel);
379+
}
372380

373381
if (inner_path)
374382
add_path(rel,inner_path);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp