Hi Tom,
Thanks for the input, but I specifically can't use SELECT.. FOR UPDATE as the
SELECT won't match any rows (it isnt supposed to, there's an explanation as
to in a post I've just sent).
I had thought about ACCESS EXCLUSIVE MODE; but it looks like it'll block all
other readers as well, which isn't necessary.
Thanks
--
Shane
On Monday 18 Feb 2002 3:42 pm, Tom Lane wrote:
> I think you want just LOCK TABLE tab IN SHARE ROW EXCLUSIVE MODE
> or LOCK TABLE tab IN EXCLUSIVE MODE. The latter would lock out
> SELECT FOR UPDATE, the former wouldn't.
>
> regards, tom lane