1、在postgreSQL执行insert语句时报错如下:
2、原因及解决办法:
插入的列比目标多,检查insert语句即可。
比如:
INSERT INTO file_log(
file_name, file_type)
VALUES ("a.txt",'txt','2020');
应该改为:
INSERT INTO file_log(
file_name, file_type,file_date)
VALUES ("a.txt",'txt','2020');