Andrew Dunstan <andrew@xxxxxxxxxxxx> writes: > He's using EXECUTE ... USING. Does that plan with the used parameter? Yeah, it's supposed to. One of the open possibilities is that that's malfunctioning for some reason, but without a test case to trace through I wouldn't jump to that as the most likely possibility. regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance