尝试在PostgreSQL中插入时间戳值时出错?

尝试在PostgreSQL中插入时间戳值时出错?,postgresql,sql-insert,Postgresql,Sql Insert,我正在尝试插入以下值 ('PA', 'Hilda Blainwood', 3, 10.7, 4308.20, '9/8/1974', '9:00', '07/03/1996 10:30:00'); 进入表具有以下结构的所有类型 create table alltypes( state CHAR(2), name CHAR(30), children INTEGER, distance FLOAT, budget NUMERIC(16,2), checkin TIME, started TIME

我正在尝试插入以下值

('PA', 'Hilda Blainwood', 3, 10.7, 4308.20, '9/8/1974', '9:00', '07/03/1996 10:30:00');
进入表具有以下结构的所有类型

create table alltypes( state CHAR(2), name CHAR(30), children INTEGER, distance FLOAT,
budget NUMERIC(16,2), checkin TIME, started TIMESTAMP);
弹出以下错误

test=# insert into alltypes VALUES('PA', 'Hilda Blainwood', 3, 10.7, 4308.20, '9/8/1974',
'9:00', '07/03/1996 10:30:00');
ERROR:  INSERT has more expressions than target columns
LINE 1: ...Blainwood', 3, 10.7, 4308.20, '9/8/1974', '9:00', '07/03/199...

错误消息是不言自明的:您试图插入更多表中有列的值。表有七列,但值表达式有八个值

顺便说一句,插入时应始终指定列:

insert into alltypes (state, name, children, distance, budget, checkin, started)
values (...)