diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-11-02 13:36:47 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-11-02 13:36:53 -0400 |
commit | 16a56774fade2da2f44f9f6d6899a8113d5725fc (patch) | |
tree | bd81776800dfb53c82860ef574e3551e618409ef /src/backend/executor/nodeBitmapIndexscan.c | |
parent | 08cfa5981e17d9daaa861520a1d41259748732b8 (diff) | |
download | postgresql-16a56774fade2da2f44f9f6d6899a8113d5725fc.tar.gz postgresql-16a56774fade2da2f44f9f6d6899a8113d5725fc.zip |
Fix variable lifespan in ExecInitCoerceToDomain().
This undoes a mistake in 1ec7679f1: domainval and domainnull were
meant to live across loop iterations, but they were incorrectly
moved inside the loop. The effect was only to emit useless extra
EEOP_MAKE_READONLY steps, so it's not a big deal; nonetheless,
back-patch to v13 where the mistake was introduced.
Ranier Vilela
Discussion: https://postgr.es/m/CAEudQAqXuhbkaAp-sGH6dR6Nsq7v28_0TPexHOm6FiDYqwQD-w@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeBitmapIndexscan.c')
0 files changed, 0 insertions, 0 deletions