>> As per the documentation[1], the COPY command requires the output filename
>> to be single-quoted.
...
>> Note that using the \copy command instead works fine, as filenames do not
>> need to be quoted in that case.
>Yeah, it seems like a bad idea to override the user's choice to write
>a quote, even if one is not formally necessary. I propose the attached.
Thanks for taking a look at this. It will save me (and I hope many others) from much frustration!
But, to be clear, for the COPY command the single quotes *are* formally necessary, so at the moment tab-completion is
turninga valid (partial) invocation into an invalid one.
Best,
Steve.