Vincenzo Romano <vincenzo.romano@xxxxxxxxxxx> writes: > I don't think so. Those variables should be evaluated with the USING > *before* the actual execution. > Thus my statements only contain columns and constants. Unfortunately, that's just wishful thinking, not how EXECUTE USING actually works. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general