Andreas Seltenreich <seltenreich@gmx.de> writes:
> Tom Lane writes:
>> On 08/01/2015 05:59 PM, Tom Lane wrote:
>>> Well, I certainly think all of these represent bugs:
>>> 1 | ERROR: could not find pathkey item to sort
>> Hmm ... I see no error with these queries as of today's HEAD or
>> back-branch tips. I surmise that this was triggered by one of the other
>> recently-fixed bugs, though the connection isn't obvious offhand.
> I still see this error in master as of b8cbe43, but the queries are
> indeed a pita to reproduce. The one below is the only one so far that
> is robust against running ANALYZE on the regression db, and also
> reproduces when I run it as an EXTRA_TEST with make check.
Got that one, thanks! But we've seen this error message before in all
sorts of weird situations, so I wouldn't assume that all the cases you've
come across had the same cause.
regards, tom lane