SELECT ... FOR UPDATE ...

From: Richard Emberson <emberson(at)phc(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: SELECT ... FOR UPDATE ...
Date: 2002-03-24 22:58:14
Message-ID: 3C9E5A05.E757AD93@phc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I looked through the documentation and attempted a search of the mailing
lists (one can submit a
search but never returns). I also looked at the titles of the sql
mailing list for the past year, but can
not find an example usage of the SELECT .. FOR UPDATE query.

Could someone please give me an example of how it is used. Does it take
two statements, the
SELECT ... FOR UPDATE statement followed by another UPDATE statement? or
does one
somehow do an update within the select statement.

Thanks.

Richard

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim Martinez 2002-03-24 23:42:39 Re: SELECT ... FOR UPDATE ...
Previous Message Richard Emberson 2002-03-24 22:26:37 PL/pgsql locking policy