pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix oversight in data-type change for autovacuum_vacuum_cost_del
Date: Tue, 26 Mar 2019 17:32:53 +0000
Message-ID: <E1h8pwT-00079c-Jr@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1h8pwT-00079c-Jr@gemulon.postgresql.org>
Permalink:  ../E1h8pwT-00079c-Jr@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1h8pwT-00079c-Jr@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix oversight in data-type change for autovacuum_vacuum_cost_del
  In-Reply-To: <E1h8pwT-00079c-Jr@gemulon.postgresql.org>
  References: <E1h8pwT-00079c-Jr@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox