Re: SELECT ... FOR UPDATE performance costs? alternatives?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SELECT ... FOR UPDATE performance costs? alternatives?
Дата
Msg-id 27902.1187324069@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SELECT ... FOR UPDATE performance costs? alternatives?  ("D. Dante Lorenso" <dante@lorenso.com>)
Список pgsql-general
"D. Dante Lorenso" <dante@lorenso.com> writes:
> Tom Lane wrote:
>> "D. Dante Lorenso" <dante@lorenso.com> writes:
>>> I am calling a stored proc from PHP.  Since I do not begin a
>>> transaction, I assume that my call is automatically committed
>>> immediately after invocation.
>>
>> Have you actually verified that, or are you just assuming it?

> Just assuming.  I'm not really sure HOW to verify it, though.

Enable query logging on the server and look for BEGIN commands?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Strange inconsistency with UPDATE
Следующее
От: "Phoenix Kiula"
Дата:
Сообщение: Re: Strange inconsistency with UPDATE