pc2phone=# COPY * from t_prepaid_history h where to_char(h.fcall_start_time,'YYYYMMDD')='20070218' to '/home/postgres/c.txt' with csv;
ERROR:  syntax error at or near "*"
LINE 1: COPY * from t_prepaid_history h where to_char(h.fcall_start_...我想将2007年2月18日的记录以csv的格式拷贝到/home/postgres/c.txt文件中,但是报错,请问错在哪里?谢谢.