Hello.
Many SQL commands do not support parameters in queries, for example:
COPY (SELECT * FROM t WHERE id = $1 ) TO STDOUT;
CREATE VIEW AS SELECT * FROM t WHERE id = $1;
I plan to implement my own function, serialize the values by described SQL string, and substitute them into the SQL string.
Maybe there is a better solution?
Thanks.