Re: feature request - update nowait

Поиск
Список
Период
Сортировка
От pasman pasmański
Тема Re: feature request - update nowait
Дата
Msg-id CAOWY8=bSt-hzN3eSJOGJuWbztmO1pzkex7ipjEmc6G_781NBUA@mail.gmail.com
обсуждение исходный текст
Ответ на feature request - update nowait  (Eduardo Piombino <drakorg@gmail.com>)
Ответы Re: feature request - update nowait
Список pgsql-general
Try a command LOCK NOWAIT

2011/9/8, Eduardo Piombino <drakorg@gmail.com>:
> Hi, would it be possible to implement a *nowait *modifier to the
> *update*statement in order to tell it not to wait and raise an error
> -just like a
> select for update nowait would-, instead of defaulting to waiting forever
> until the lock becomes available?
>
> The lack of such a modifier nowadays forces me to do a select for update
> before every update on which I need the fastest response possible, and it
> would be great if it could be integrated into the command itself.
>
> Just an idea.
>
> Best regards,
> Eduardo.
>


--
------------
pasman

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

Предыдущее
От: Miguel Angel Hernandez Moreno
Дата:
Сообщение: Re: problems with pg_restore and java
Следующее
От: Eduardo Piombino
Дата:
Сообщение: Re: feature request - update nowait