Re: Error code returned by lock_timeout

Поиск
Список
Период
Сортировка
От Boszormenyi Zoltan
Тема Re: Error code returned by lock_timeout
Дата
Msg-id 51CC5644.7050909@cybertec.at
обсуждение исходный текст
Ответ на Re: Error code returned by lock_timeout  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
2013-06-27 17:03 keltezéssel, Fujii Masao írta:
> On Thu, Jun 27, 2013 at 2:22 PM, Boszormenyi Zoltan <zb@cybertec.at> wrote:
>> Hi,
>>
>> I just realized that in the original incarnation of lock_timeout,
>> I used ERRCODE_LOCK_NOT_AVAILABLE (to be consistent with NOWAIT)
>> but the patch that was accepted into 9.3 contained ERRCODE_QUERY_CANCELED
>> which is the same as for statement_timeout.
>>
>> Which would be more correct?
> ISTM that ERRCODE_LOCK_NOT_AVAILABLE is more suitable...

I think, too. Can someone commit this one-liner to master and 9.3?

Best regards,
Zoltán Bsöszörményi

--
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de
      http://www.postgresql.at/


Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Improvement of checkpoint IO scheduler for stable transaction responses
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [PATCH] add --progress option to pgbench (submission 3)