summaryrefslogtreecommitdiff
path: root/src/backend/commands/createas.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-11-02 13:36:47 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-11-02 13:36:57 -0400
commitada667b45496998674818e135e9cd6580f1bc019 (patch)
tree3b5a8bd416adc0672a3e2a65fcbb6efc759a66c9 /src/backend/commands/createas.c
parent0151af40cd4e0321bc549cea9f0c631bce0303c5 (diff)
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/commands/createas.c')
0 files changed, 0 insertions, 0 deletions