aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regexec.c
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2023-04-25 13:54:10 +0200
committerDaniel Gustafsson <dgustafsson@postgresql.org>2023-04-25 13:54:10 +0200
commit0e8e5e856cc37cfcd8ac458dddd71f89d516fc27 (patch)
treefaa59031e113ee277fa86566e5ebd5dbc01b2e08 /src/backend/regex/regexec.c
parent4cc56f8edbe6c00ecb66d6b2c775eaf3268706e3 (diff)
downloadpostgresql-0e8e5e856cc37cfcd8ac458dddd71f89d516fc27.tar.gz
postgresql-0e8e5e856cc37cfcd8ac458dddd71f89d516fc27.zip
Fix vacuum_cost_delay check for balance calculation.
Commit 1021bd6a89 excluded autovacuum workers from cost-limit balance calculations when per-relation options were set. The code checks for limit and cost_delay being greater than zero, but since cost_delay can be set to -1 the test needs to check for greater than or zero. Backpatch to all supported branches since 1021bd6a89 was backpatched all the way at the time. Author: Masahiko Sawada <sawada.mshk@gmail.com> Reviewed-by: Melanie Plageman <melanieplageman@gmail.com> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://postgr.es/m/CAD21AoBS7o6Ljt_vfqPQPf67AhzKu3fR0iqk8B=vVYczMugKMQ@mail.gmail.com Backpatch-through: v11 (all supported branches)
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions