Re: SELECT ... FOR UPDATE performance costs? alternatives? - Mailing list pgsql-general

From Tom Lane
Subject Re: SELECT ... FOR UPDATE performance costs? alternatives?
Date
Msg-id 27902.1187324069@sss.pgh.pa.us
Whole thread Raw
In response to Re: SELECT ... FOR UPDATE performance costs? alternatives?  ("D. Dante Lorenso" <dante@lorenso.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Strange inconsistency with UPDATE
Next
From: "Phoenix Kiula"
Date:
Subject: Re: Strange inconsistency with UPDATE