但是,在这个过程中,我必须用这个语句手动设置文件名(filepath =filePath=‘/Users/linu/下载/log’‘),如果文件名不同,它就不能工作。我尝试过这样使用(filepath =filePath=‘/Users/linu/下载/*..txt’),但是得到了以下错误:
Error while fetching data from PostgreSQL[Errno 2] No such file or directory: '/Users
我使用下面的命令将本地系统中的CSV文件导入到远程服务器中的一个表中。 但是我得到了下面的错误。NOTICE: table "temp_table" does not exist, skipping
ERROR: could not open file "/Users/linu/downloadsCONTEXT: SQL statement "copy temp_table from '/Users/linu/downloa