From: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Andres Freund <andres(at)2ndquadrant(dot)com>, Fujii Masao <fujii(at)postgresql(dot)org>, pgsql-committers <pgsql-committers(at)postgresql(dot)org> |
Subject: | Re: pgsql: Allow units to be specified in relation option setting value. |
Date: | 2014-08-28 20:27:54 |
Message-ID: | CAHGQGwFhVS1ySwYN80gVZu3+W3fkTjftOrq+WoMVppOYmXZRXw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On Fri, Aug 29, 2014 at 4:34 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
>> On Thu, Aug 28, 2014 at 12:22 PM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>>> Another approach is to change pg_dump so that it encloses the relopt
>>> values with single quotes. This is the same approach as what
>>> pg_dumpall does for database or role-specific settings.
>
>> To me, this doesn't seem nearly important enough to justify breaking
>> pg_dump compatibility. AAUI, this is just a cosmetic improvement, so
>> we shouldn't break functional things for that.
>
> Indeed. I am not convinced that pg_dump is the only client-side code
> that would get broken, either.
>
>>> Further other approach is to change the reloptions code so that it
>>> always stores the plain value without the units (i.e., 1000 is stored
>>> if 1s is specified in autovacuum_vacuum_cost_delay)in pg_class.
>
>> This seems like the way to go.
Agreed.
>
> Yeah, it's the best idea I can think of either. It's a tad annoying but
> I think we don't want to take the compatibility risks of storing
> unit-ified values in reloptions.
>
> In the meantime, the buildfarm is still all red. Can we please revert
> this patch until a fixed version is ready?
OK, reverted.
Regards,
--
Fujii Masao
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-08-28 22:21:39 | pgsql: Fix citext upgrade script for disallowance of oidvector element |
Previous Message | Fujii Masao | 2014-08-28 20:26:57 | pgsql: Revert "Allow units to be specified in relation option setting v |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-08-28 20:28:40 | Re: Why data of timestamptz does not store value of timezone passed to it? |
Previous Message | ktm@rice.edu | 2014-08-28 19:46:16 | Re: Why data of timestamptz does not store value of timezone passed to it? |