summaryrefslogtreecommitdiff
path: root/src/backend/executor/execExpr.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
commitff88db91036fed10dedb9e38786506d0460bd7dd (patch)
tree48637866f640b0b0ab2597cffd9394b5bd138a04 /src/backend/executor/execExpr.c
parent6978129b4e95aa9d75171ede5ff22f6cf8612055 (diff)
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/execExpr.c')
0 files changed, 0 insertions, 0 deletions