Igor, not seeing how quote_literal will quote *each element* of the csv. It
will quote the entire string, but not each element.
Pavel, Interesting but unfortunately my dynamic sql is very complex,
hundreds of lines, and a undetermined number of USING variables would be
needed.
Thanks!