Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> In helping someome on IRC it has become apparent that unless I am
> mistaken "COPY foo from 'filename'" is reading the file according to the
> client encoding.
> Is that the expected behaviour?
Yes, it is. Not sure if it's adequately documented.
regards, tom lane