Re: sequence locking

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: sequence locking
Дата
Msg-id CAHyXU0xXqwnAjPnv=nyh=LTay=UV0=tqOQiypzc5da2dchrRLA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: sequence locking  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: sequence locking
Список pgsql-hackers
On Wed, Sep 21, 2011 at 11:51 AM, Kevin Grittner
<Kevin.Grittner@wicourts.gov> wrote:
> Andres Freund <andres@anarazel.de> wrote:
>
>> - Its impossible to emulate proper locking yourself because
>> locking is not allowed for sequences
>
>> Any arguments against allowing it again? It seems to have been
>> allowed in prehistoric times.
>
> It would be nice to allow it.  I've had to create a dummy table just
> to use for locking a sequence (by convention).

another (better?) way is advisory locks...

merlin


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Remastering using streaming only replication?
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: unite recovery.conf and postgresql.conf