aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/complex.source
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
commitff9dc96f370aa33a5c1c578c43c598473705d82f (patch)
tree88314aa84e8b57c77a88f8ec1ac970e959e07c3e /src/tutorial/complex.source
parent87e16d632622c622244dba8d1bfc8afbf222d614 (diff)
downloadpostgresql-ff9dc96f370aa33a5c1c578c43c598473705d82f.tar.gz
postgresql-ff9dc96f370aa33a5c1c578c43c598473705d82f.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/tutorial/complex.source')
0 files changed, 0 insertions, 0 deletions