David Fetter <david@fetter.org> writes:
> Per discussion on IRC and some test code, COPY can't take parameters
> in a PREPARE, which feature would make it even more useful.
Uh, what?
regression=# prepare foo as copy c from stdin;
ERROR: syntax error at or near "copy"
LINE 1: prepare foo as copy c from stdin; ^
Passing parameters into a utility statement of any stripe is a pretty
considerable project, IIRC; the infrastructure isn't there.
regards, tom lane