Hello,
and thanks for your reply.
SET from_collapse_limit=1;
did no difference, I’m afraid.
I ran both VACUUM and ANALYZE before I posted, and there was no noticable difference from either of them.
Regards,
/Viktor
> On 27 apr 2017, at 15:54, pinker <pinker@onet.eu> wrote:
>
> Try to change from_collapse_limit values at first, for instance run SET
> from_collapse_limit = 1; and then your query in the same session.
> have you ran analyze lately?
>
>
>
> --
> View this message in context: http://www.postgresql-archive.org/Query-which-never-terminates-tp5958734p5958736.html
> Sent from the PostgreSQL - general mailing list archive at Nabble.com.
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general