Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BACKPORT 2.6][YSQL] [#9572] Correctly determine is_yb_relation for r…
…ow-marked relations when preparing target list Summary: Presently, when iterating through the row-marked relations to add the necessary columns to the target list, we determined whether to get the YB TID or the CTID based on the target relation. However, this check should be done using the row-marked relation instead. The previous version of the code fails to work when the target relation is a YB relation and the row-marked relation is a temporary relation. (Eg: `UPDATE test1 SET z = 2 FROM test2 WHERE test1.x = test2.x;` where test2 is a temporary relation and test1 is a YB relation) Original Commit: [[ f148418 | f148418 ]] Original Differential Revision: https://phabricator.dev.yugabyte.com/D12994 Test Plan: Jenkins: rebase: 2.6 Run `TestPgRegressFeature` to execute `yb_feature_temp` Reviewers: mihnea, amartsinchyk Reviewed By: amartsinchyk Differential Revision: https://phabricator.dev.yugabyte.com/D13108
- Loading branch information