Re: generic reloptions improvement - Mailing list pgsql-hackers

From Tom Lane
Subject Re: generic reloptions improvement
Date
Msg-id 11720.1230135393@sss.pgh.pa.us
Whole thread Raw
In response to Re: generic reloptions improvement  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: generic reloptions improvement  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Peter Eisentraut wrote:
>> I'm not sure how important this is, but if you are enumerating the access 
>> methods (RELOPT_KIND_BTREE, etc.), how will this work with user-defined 
>> access methods?

> It is important.

> I'm intending to have a new routine which would reserve a value at
> runtime.  This value would be later be passed by the AM to create new
> options on the table.

What do you mean by "at runtime"?  Surely the value would have to remain
stable across database restarts, since it's going to relate to stuff
that is in catalog entries.

I'd feel more comfortable with a scheme that used the AM's pg_am OID.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jaime Casanova"
Date:
Subject: Re: [idea] a copied relkind in pg_attribute
Next
From: Tom Lane
Date:
Subject: Re: Window-functions patch handling of aggregates