Re: generic reloptions improvement

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: generic reloptions improvement
Дата
Msg-id 11720.1230135393@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: generic reloptions improvement  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: generic reloptions improvement  (Alvaro Herrera <alvherre@commandprompt.com>)
Список 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 по дате отправления:

Предыдущее
От: "Jaime Casanova"
Дата:
Сообщение: Re: [idea] a copied relkind in pg_attribute
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Window-functions patch handling of aggregates