wildfire=> \d c Table "public.c" Column | Type | Modifiers -----------+-----------------------------+------------------------------------------------------- id | integer | not null default nextval('cdr_yate_id_seq'::regclass) time | timestamp without time zone | duration | time without time zone | direction | text | status | text | reason | text | ended | boolean | LOG: statement: begin LOG: statement: PREPARE dbdpg_1 AS insert into c(time, duration, direction, status, reason) values(to_timestamp($1), $2, $3, $4, $5) LOG: statement: ERROR: invalid input syntax for type time: "0.000000"