Sean Shanny <shannyconsulting@earthlink.net> writes:
> As you can see I had to reduce the number of arguments in the IN clause
> to even get the explain.
You mean you get an out-of-memory error just from EXPLAIN (without
ANALYZE)?? That makes even less sense ... the hash table we identified
before should not be created or filled during EXPLAIN.
regards, tom lane