The attached patch implements Tom's recent suggestion to abandon the undocumented psql support for ancient copy syntax. If there's no objection I will apply before long.
cheers
andrew