Re: WIP: Rework access method interface

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема Re: WIP: Rework access method interface
Дата
Msg-id CAPpHfdsyDVrwCAc+-fkM3UB-sEz9CjNLFhKb8CwHib0MxkN=tw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: WIP: Rework access method interface  (Petr Jelinek <petr@2ndquadrant.com>)
Список pgsql-hackers
On Mon, Aug 10, 2015 at 6:36 PM, Petr Jelinek <petr@2ndquadrant.com> wrote:
On 2015-08-10 16:58, Alexander Korotkov wrote:
That should work, thanks! Also we can have SQL-visible functions to get
amsupport and amstrategies and use them in the regression tests.


SQL-visible functions would be preferable to storing it in pg_am as keeping the params in pg_am would limit the extensibility of pg_am itself.

I actually meant just two particular functions (not per AM) which both get AM oid as argument. They should call amhandler and return amsupport and amstrategies correspondingly.
These functions can be used in regression tests to check opclass and opfamilies correctness.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company 

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

Предыдущее
От: Petr Jelinek
Дата:
Сообщение: Re: WIP: Rework access method interface
Следующее
От: Tom Lane
Дата:
Сообщение: Re: WIP: Rework access method interface