aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeMemoize.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2024-12-15 14:14:15 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2024-12-15 14:14:15 -0500
commit2a23dbcf35946b844699c65fdf2ee440251eab12 (patch)
treef78d0a8ec2f0d64cc9dfbcbe5dbb481fb5d452f7 /src/backend/executor/nodeMemoize.c
parentc7f3c414fdedbb9a48d597a309c53fdf1ac3652a (diff)
downloadpostgresql-2a23dbcf35946b844699c65fdf2ee440251eab12.tar.gz
postgresql-2a23dbcf35946b844699c65fdf2ee440251eab12.zip
pgbench: fix misprocessing of some nested \if constructs.
An \if command appearing within a false (not-to-be-executed) \if branch was incorrectly treated the same as \elif. This could allow statements within the inner \if to be executed when they should not be. Also the missing inner \if stack entry would result in an assertion failure (in assert-enabled builds) when the final \endif is reached. Report and patch by Michail Nikolaev. Back-patch to all supported branches. Discussion: https://postgr.es/m/CANtu0oiA1ke=SP6tauhNqkUdv5QFsJtS1p=aOOf_iU+EhyKkjQ@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeMemoize.c')
0 files changed, 0 insertions, 0 deletions