Re: pgsql: Allow units to be specified in relation option setting value. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Allow units to be specified in relation option setting value.
Date
Msg-id 25150.1409235293@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Allow units to be specified in relation option setting value.  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: pgsql: Allow units to be specified in relation option setting value.
List pgsql-committers
Michael Paquier <michael.paquier@gmail.com> writes:
> The patch attached fixes pg_upgrade by putting quotes when generating
> reloptions and it passes check-world. I imagine that having quotes by
> default in the value of reloptions in pg_class is the price to pay for
> supporting units. If this is not considered as a correct approach,
> then reverting the patch would be wiser I guess.

Ugh.  I'm not sure what the best solution is, but I don't think I like
that one.

Given that this patch broke both pg_dump and pg_upgrade, I think it should
be reverted for the time being, rather than applying a hasty hack.
Obviously more thought and testing is needed.

            regards, tom lane


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Allow units to be specified in relation option setting value.
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Allow units to be specified in relation option setting value.