Mike Broers <mbro...@gmail.com> writes:
> This is 9.5, sorry I didnt mention that in the initial post.

Hmm, that's odd then.

> I am guessing the issue is that the secondary non-indexed criteria is a
> search through a jsonb column?

Doubt it; it should have considered the plan you are thinking of anyway.
Maybe it did, but threw it away on some bogus cost estimate.  If you could
produce a self-contained test case, I'd be willing to take a look.

                        regards, tom lane


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

Reply via email to