我想使用psql"\copy"命令将数据从制表符分隔的文件拉入Postgres.我正在使用这个命令:
\copy cm_state from 'state.data' with delimiter '\t' null as ;
但我得到了这个警告(这个表实际上加载得很好):
WARNING: nonstandard use of escape in a string literal
LINE 1: COPY cm_state FROM STDIN DELIMITER '\t' NULL AS ';'
HINT: Use the escape string syntax for escapes, e.g., E'\r\n'.
如果"\t"不正确,如何指定选项卡?