Thread: Manual record locking

Manual record locking

From
Josué Maldonado
Date:
Hello list,

Is there a way to manual/explicit lock a record from within a plpgsql
function?

Thanks in advance

Josué Maldonado



Re: Manual record locking

From
"Nigel J. Andrews"
Date:
On Mon, 8 Dec 2003, Josué Maldonado wrote:

> Hello list,
>
> Is there a way to manual/explicit lock a record from within a plpgsql
> function?


SELECT ... FOR UPDATE


--
Nigel Andrews