Fix oversight in data-type change for autovacuum_vacuum_cost_delay.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 7c366ac969ce060c4080fbdfe74a0131ae4bf6bb
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-03-26T17:32:38Z
Releases: 12.0
Fix oversight in data-type change for autovacuum_vacuum_cost_delay.

Commit caf626b2c missed that the relevant reloptions entry needs
to be moved from the intRelOpts[] array to realRelOpts[].
Somewhat surprisingly, it seems to work anyway, perhaps because
the desired default and limit values are all integers.  We ought
to have either a simpler data structure or better cross-checking
here, but that's for another patch.

Nikolay Shaplov

Discussion: https://postgr.es/m/4861742.12LTaSB3sv@x200m

Files

PathChange+/−
src/backend/access/common/reloptions.c modified +9 −9

Discussion