]> granicus.if.org Git - postgresql/commit
Fix oversight in data-type change for autovacuum_vacuum_cost_delay.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Mar 2019 17:32:30 +0000 (13:32 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Mar 2019 17:32:38 +0000 (13:32 -0400)
commit7c366ac969ce060c4080fbdfe74a0131ae4bf6bb
treeef63f556f125a7d4d063bd3be29805b923ae761c
parent1d21ba8a9b8cb784f927a2c9c5818f8ff6779c0b
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
src/backend/access/common/reloptions.c