Re: Bug #866 related problem (ATTN Tom Lane) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug #866 related problem (ATTN Tom Lane)
Date
Msg-id 8579.1045092421@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bug #866 related problem (ATTN Tom Lane)  (Florian Wunderlich <fwunderlich@devbrain.de>)
List pgsql-bugs
Florian Wunderlich <fwunderlich@devbrain.de> writes:
> So can I be sure that every non-aggregate SELECT on tables joined with
> unique indexes works, independent of the WHERE or ORDER BY?

I would think that backwards scan on a join mostly doesn't work, but
haven't tried it in any detail.

A plan with a SORT node at the top *will* work, no matter what's under
the SORT, so ORDER BY might mask problems in some cases.

> Is anybody working on implementing this functionality?

Not me... although I have thought about at least adding enough code to
report an error in the cases that will give wrong answers.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: cvs (7/2/2003) broken?
Next
From: Tom Lane
Date:
Subject: Re: Constraints not check indexes existence on creation.