Re: [SQL] Outer Join with For Update

2002-09-03 Thread Tom Lane
"alexandre :: aldeia digital" <[EMAIL PROTECTED]> writes: > SELECT A.id, B.desc from A left join B ON B.id=A.id FOR UPDATE OF A,B > If I have a null rellation in B, the error in postgres is: > "SELECT FOR UPDATE cannot be applied to the nullable side of an OUTER JOIN" Yup. > DB2 simply ignore th

[SQL] Outer Join with For Update

2002-09-03 Thread alexandre :: aldeia digital
Hi all, I work with a case tool named Genexus. This tool generate the applications in VB, VFox, Java, C, etc. in DB2, Oracle, M$ SQL and now supports postgresql in VB and JAVA generator, making a good job (excepting when it use a "optimize for", "/*fastfirstrows*/" or "fast(n)" for the other 3 DB