aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/network_gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-03-14 12:16:10 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-03-14 12:16:10 -0400
commit71288846efc89dc2fdfbb08e2807340ed6f8cd45 (patch)
tree0016f38f755263d7b90b3dc672b4b4fc182f1043 /src/backend/utils/adt/network_gist.c
parent72f725ab25bdf4ad12c9586521935eb9307fcfe1 (diff)
downloadpostgresql-71288846efc89dc2fdfbb08e2807340ed6f8cd45.tar.gz
postgresql-71288846efc89dc2fdfbb08e2807340ed6f8cd45.zip
Ensure dummy paths have correct required_outer if rel is parameterized.
The assertions added by commits 34ea1ab7f et al found another problem: set_dummy_rel_pathlist and mark_dummy_rel were failing to label the dummy paths they create with the correct outer_relids, in case the relation is necessarily parameterized due to having lateral references in its tlist. It's likely that this has no user-visible consequences in production builds, at the moment; but still an assertion failure is a bad thing, so back-patch the fix. Per bug #15694 from Roman Zharkov (via Alexander Lakhin) and an independent report by Tushar Ahuja. Discussion: https://postgr.es/m/15694-74f2ca97e7044f7f@postgresql.org Discussion: https://postgr.es/m/7d72ab20-c725-3ce2-f99d-4e64dd8a0de6@enterprisedb.com
Diffstat (limited to 'src/backend/utils/adt/network_gist.c')
0 files changed, 0 insertions, 0 deletions