Re: Global Sequences

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Global Sequences
Дата
Msg-id CA+U5nMLLr=U-SDSzOuG+JF8Z3LGRpJY97nt6oMsyH9uhptgBCQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Global Sequences  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 16 October 2012 18:29, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Or maybe better, invent a level of indirection like a "sequence access
> method" (comparable to index access methods) that provides a compatible
> set of substitute functions for sequence operations.  If you want to
> override nextval() for a sequence, don't you likely also need to
> override setval(), currval(), etc?  Not to mention overriding ALTER
> SEQUENCE's behavior.

Agreed, though with exact API as discussed on portion of thread with Markus.

-- Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Global Sequences
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: [RFC] CREATE QUEUE (log-only table) for londiste/pgQ ccompatibility