Re: Sequence Access Method WIP

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Sequence Access Method WIP
Дата
Msg-id 66776.1454106247@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Sequence Access Method WIP  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Ответы Re: Sequence Access Method WIP
Список pgsql-hackers
Alexander Korotkov <a.korotkov@postgrespro.ru> writes:
> On Fri, Jan 29, 2016 at 6:36 PM, Alvaro Herrera <alvherre@2ndquadrant.com>
> wrote:
>> I'm thinking we'd do CREATE ACCESS METHOD foobar TYPE INDEX or something
>> like that.

> I would prefer "CREATE {INDEX | SEQUENCE | ... } ACCESS METHOD name HANDLER
> handler;", but I don't insist.

I think that Alvaro's idea is less likely to risk future grammar
conflicts.  We've had enough headaches from CREATE [ UNIQUE ] INDEX
[ CONCURRENTLY ] to make me really wary of variables in the statement-name
part of the syntax.
        regards, tom lane



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