![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
ERROR: invalid input syntax for integer: "" [from] INSERT INTO "users" VALUES (1,'xxxxxxxx','yyyyyyyy',0,'9999-12-12 00:00:00','2004-03-03 15:49:28.028026+02','xxxxxxxx','xxxxxxxxr','','',' ','','','','t',0,'t'); |
#3
| |||
| |||
|
|
ERROR: invalid input syntax for integer: "" [from] INSERT INTO "users" VALUES (1,'xxxxxxxx','yyyyyyyy',0,'9999-12-12 00:00:00','2004-03-03 15:49:28.028026+02','xxxxxxxx','xxxxxxxxr','','',' ','','','','t',0,'t'); |
#4
| |||
| |||
|
|
Hi, And thanks for the tip Tom. There was a slight contradiction in this: "country" integer DEFAULT '' NOT NULL, |
#5
| |||
| |||
|
|
Aarni Ruuhimäki wrote: There was a slight contradiction in this: "country" integer DEFAULT '' NOT NULL, How was possible for you create that table ? on 7.4.1 I get: test=# create table test ( b integer, a integer default '' not null ); ERROR: invalid input syntax for integer: "" |
![]() |
| Thread Tools | |
| Display Modes | |
| |