Amit Kapila writes: > Earlier problems were due to the reason that some unsafe/restricted > expressions were pushed below Gather node as part of target list whereas in > the plan6, it seems some unsafe node is pushed below Gather node. It will > be helpful if you can share the offending query?
plan6 corresponds to this query: select pg_catalog.anyarray_out( cast((select most_common_vals from pg_catalog.pg_stats limit 1 offset 41) as anyarray)) as c0 from public.quad_point_tbl as ref_0 where ref_0.p ~= ref_0.p; regards, Andreas -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers