dbTalk Databases Forums  

Re: [BUGS] BUG #1916: selection criteria from one outer join

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] BUG #1916: selection criteria from one outer join in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kevin Grittner
 
Posts: n/a

Default Re: [BUGS] BUG #1916: selection criteria from one outer join - 09-28-2005 , 10:08 AM






I agree that it looks like "overenthusiastic propagation
of implied equalities." (Nicely put.) I haven't tested
whether this fails in any other version (we've moved all
our instances to 8.1beta2 to pound it the best we can),
but I see that Klint Gore has reported the test case fails
in 7.4.7 and 8.0.0.
=20
Any idea on when a fix might be available, or what
conditions must exist in a query for this failure to occur?
If this is too big to fix in 8.1, we would want to try to
identify vulnerable queries proactively, to work around
it somehow.
=20
-Kevin
=20
=20
Quote:
Tom Lane <tgl (AT) sss (DOT) pgh.pa.us> 09/27/05 11:34 PM
"Kevin Grittner" <kevin.grittner (AT) wicourts (DOT) gov> writes:
Obviously, adding an outer join to a query which is already returning rows
should never reduce the number of rows returned.
I think this is a case of overenthusiastic propagation of implied
equalities. Do you know offhand if it fails in 8.0.* or earlier
branches?

regards, tom lane


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.