Re: passing parameters to CREATE INDEX

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: passing parameters to CREATE INDEX
Дата
Msg-id 2898.1152106503@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: passing parameters to CREATE INDEX  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
Teodor Sigaev <teodor@sigaev.ru> writes:
> can add to pg_opclass's definition method/parameter name and create some API 
> (may be, index specific) to propagate parameter's to module's interface 
> functions to index.

Huh?  You can get them from the index's Relation structure.  I don't
think there's anything missing in the API.  About all you need is an
extended struct definition for rd_options, and to provide your own code
substituting for default_reloptions().  An index AM can do both of those
locally to itself.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: passing parameters to CREATE INDEX
Следующее
От: Phil Frost
Дата:
Сообщение: set search_path in dump output considered harmful