Re: ERROR: tuplestore_gettuple: invalid state - Mailing list pgsql-novice

From Joe Conway
Subject Re: ERROR: tuplestore_gettuple: invalid state
Date
Msg-id 3EFCD16A.6080606@joeconway.com
Whole thread Raw
In response to ERROR: tuplestore_gettuple: invalid state  (Nabil Sayegh <postgresql@e-trolley.de>)
Responses Re: ERROR: tuplestore_gettuple: invalid state  (Nabil Sayegh <postgresql@e-trolley.de>)
List pgsql-novice
Nabil Sayegh wrote:
> Any idea what
>
> ERROR:  tuplestore_gettuple: invalid state
>
> could mean ?
>
> I took the tablefunc from 7.3.3 and installed it on a 7.3.2 system.
>

The message itself comes from tuplestore_gettuple(), which isn't even
originated from within tablefunc.so. See
src/backend/utils/sort/tuplestore.c about half way down the file.

I don't see any changes between 7.3.2 and 7.3.3 that would cause that,
but I'd guess you should recompile contrib/tablefunc in a 7.3.2 source
tree.

Joe


pgsql-novice by date:

Previous
From: Rory Campbell-Lange
Date:
Subject: Re: SELECT too complex?
Next
From: Joe Conway
Date:
Subject: Re: connectby_reverselookup()