Re: select for update with left outer joins?

From: Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my>
To: (Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>)
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: select for update with left outer joins?
Date: 2003-01-05 11:14:46
Message-ID: 5.1.0.14.1.20030105185853.00a71d10@mbox.jaring.my
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 11:09 AM 1/4/03 -0500, Tom Lane wrote:

>Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my> writes:
> > Is it expected that select for update doesn't work with left outer joins?
>
>What would you consider the semantics to be? I am not sure how to lock
>the absence of a matching row ...

How about rows returned from the "left" table and those returned from the
"right" table excluding nulls?

Have I got some concept wrong (SQL or other)? e.g. If I got it right I
wouldn't be asking this :).

Happy New Year!
Link.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Timur Irmatov 2003-01-05 11:20:09 foreign key locks
Previous Message Oliver Vecernik 2003-01-05 10:11:57 refcursor