]> granicus.if.org Git - postgresql/commit
Avoid passing zero as a value for vacuum_cost_limit, because it's not a valid
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 8 Jun 2007 21:09:49 +0000 (21:09 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 8 Jun 2007 21:09:49 +0000 (21:09 +0000)
commit2b438c12cca443fe69852e9b0c678893c8686ac0
tree697d7b7402b592b52b30c428d148dd9dcb829f29
parent4213e5f0dbed36d7452f385782eeaa2c8a866173
Avoid passing zero as a value for vacuum_cost_limit, because it's not a valid
value for the vacuum code.  Instead, make zero signify getting the value from a
higher level configuration facility, just like -1 in the original coding.  We
still document that -1 is the value that disables the feature, to avoid
confusing the user unnecessarily.

Reported by Galy Lee in <200705310914.l4V9E6JA094603@wwwmaster.postgresql.org>;
per subsequent discussion.
doc/src/sgml/catalogs.sgml
src/backend/postmaster/autovacuum.c