Re: Select for update with outer join broken? - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Select for update with outer join broken?
Date
Msg-id 200610020925.46077.josh@agliodbs.com
Whole thread Raw
In response to Re: Select for update with outer join broken?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Select for update with outer join broken?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom,

> Josh, you don't know what you're talking about.  The backend's
> capabilities for this have not moved an inch since 8.1 (transient bugs
> in its error checking do not represent an advance in capability),

Hmmm ... was this an unapplied patch?  We certainly had it working on the 
benchmark machine. 

Researching ...

> and furthermore I'm not seeing anyplace in the SQL spec that suggests
> the nullable side of an outer join should be updatable.

Oh, no, what should happen is that the outer join portion of the query doesn't 
get locked, rather than a fatal exception.  That behavior is expected by the 
J2EE certification, so it's at least somewhat industry-standard.

-- 
Josh Berkus
PostgreSQL @ Sun
San Francisco


pgsql-hackers by date:

Previous
From: "Strong, David"
Date:
Subject: Re: Faster StrNCpy
Next
From: Tom Lane
Date:
Subject: Re: Select for update with outer join broken?