Re: [PATCH] Store Extension Options - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [PATCH] Store Extension Options
Date
Msg-id 20140313012546.GC4744@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: [PATCH] Store Extension Options  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
Josh Berkus escribió:
> On 03/12/2014 03:58 PM, Robert Haas wrote:
> > I don't like the idea of using reloptions to let people attach
> > arbitrary unvalidated settings to tables.  I consider the way things
> > work with GUCs to be a bug, not a feature, and definitely not
> > something I want to propagate into every other area of the system
> > where the underlying storage format happens to allow it.
> 
> +1.  Relopts are one of the uglier warts we have.

I'm not sure what you're plus-oneing here, but I hope it's not the
ability to set custom reloptions altogether.  As I interpret what Robert
was saying, it was "let's not have *unvalidated* reloptions", with which
I'm fine --- it only means we need to make sure custom reloptions are
validated, in some way yet to be agreed.

I agree that it has gotten too late for this in 9.4, also.

I don't see what's so ugly about reloptions as they currently exist,
anyway.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Bug: Fix Wal replay of locking an updated tuple (WAS: Re: 9a57858f1103b89a5674f0d50c5fe1f756411df6)
Next
From: Stephen Frost
Date:
Subject: Re: 9a57858f1103b89a5674f0d50c5fe1f756411df6