Re: Transaction-scope advisory locks

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Transaction-scope advisory locks
Дата
Msg-id 4D06D4B5.1000305@agliodbs.com
обсуждение исходный текст
Ответ на Re: Transaction-scope advisory locks  (Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>)
Список pgsql-hackers
> Oh, I forgot to mention.  The patch doesn't change any existing
> behaviour; the new behaviour can be invoked only by adding a new boolean
> argument:
> 
> SELECT pg_advisory_lock(1, false);
> 
> The lock space is the same though, but I don't feel strongly about it.

I could use this, and I think a lot more people would use advisory locks
with it.  Put it in the next CF and remind me to test it.

--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: hstores in pl/python
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Transaction-scope advisory locks