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

Commit3d8966a

Browse files
committed
store table row types for wholerow references in AppendRelInfo
1 parent728c468 commit3d8966a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/pg_pathman.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,10 @@ append_child_relation(PlannerInfo *root, Relation parent_relation,
334334
appinfo->child_relid=childRTindex;
335335
appinfo->parent_reloid=parent_rte->relid;
336336

337+
/* Store table row types for wholerow references */
338+
appinfo->parent_reltype=RelationGetDescr(parent_relation)->tdtypeid;
339+
appinfo->child_reltype=RelationGetDescr(child_relation)->tdtypeid;
340+
337341
make_inh_translation_list(parent_relation,child_relation,childRTindex,
338342
&appinfo->translated_vars);
339343

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp