Rod Taylor wrote:
You either have code issuing the commands and collecting the results making a standard select just as fast or you are using psql which already has multiple display types for SELECT data, including XML output, but another could easily be added for CSV style output.
We have CSV output now and it's produced by the server. psql's \copy is in fact just a very thin veneer over the server-side COPY. Besides, we might well be using another client - your assertion that if COPY output is going to the client it must be psql is simply wrong.
cheers andrew ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match