aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorAmit Langote <amitlan@postgresql.org>2023-06-30 15:48:54 +0900
committerAmit Langote <amitlan@postgresql.org>2023-06-30 15:48:54 +0900
commit0a14bca662a44310305ad3fcc1079ef75d4a6316 (patch)
treedc302389694b6beeec1e896275435c284715ea0a /src/tutorial/basics.source
parentf4691e2e76a4ba6a340668160d8008124c2140a0 (diff)
downloadpostgresql-0a14bca662a44310305ad3fcc1079ef75d4a6316.tar.gz
postgresql-0a14bca662a44310305ad3fcc1079ef75d4a6316.zip
Add a test case for a316a3bc
a316a3bc fixed the code in build_simpl_rel() that propagates RelOptInfo.userid from parent to child rels so that it works correctly for the child rels of a UNION ALL subquery rel, though no tests were added in that commit. So do so here. As noted in the discussion, coming up with a test case in the core regression suite for this fix has turned out to be tricky, so the test case is added to the postgres_fdw's suite instead. postgresGetForeignRelSize()'s use of user mapping for the user specified in RelOptInfo.userid makes it relatively easier to craft a test case around. Discussion: https://postgr.es/m/CA%2BHiwqH91GaFNXcXbLAM9L%3DzBwUmSyv699Mtv3i1_xtk9Xec_A%40mail.gmail.com Backpatch-through: 16
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions