pgsql: Fix oversight in data-type change for autovacuum_vacuum_cost_del

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix oversight in data-type change for autovacuum_vacuum_cost_del
Date: 2019-03-26 17:32:53
Message-ID: E1h8pwT-00079c-Jr@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7c366ac969ce060c4080fbdfe74a0131ae4bf6bb

Modified Files
--------------
src/backend/access/common/reloptions.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2019-03-26 18:00:10 Re: pgsql: Get rid of backtracking in jsonpath_scan.l
Previous Message Tom Lane 2019-03-26 17:19:14 Re: pgsql: Get rid of backtracking in jsonpath_scan.l