Re: [SQL] problem converting strings to timestamps with time zone

2010-04-29 Thread DM
Could you please post the exact string how you did? Thanks Deepak On Thu, Apr 29, 2010 at 12:59 AM, Edward Ross wrote: > Tom Lane wrote: > >> Edward Ross writes: >> >>> Here is a sandbox example of what I mean. >>> >> >> CREATE TABLE test_0 >>> ( >>>string_value varchar(2047), >>>time

Re: [SQL] problem converting strings to timestamps with time zone

2010-04-29 Thread Edward Ross
Tom Lane wrote: Edward Ross writes: Here is a sandbox example of what I mean. CREATE TABLE test_0 ( string_value varchar(2047), timestamp_value timestamp with time zone ); insert into test_0 (string_value) values ('2010-03-12 17:06:21-0800'), ('2009-08-14

Re: [SQL] problem converting strings to timestamps with time zone

2010-04-28 Thread Tom Lane
Edward Ross writes: > Here is a sandbox example of what I mean. > CREATE TABLE test_0 > ( > string_value varchar(2047), > timestamp_value timestamp with time zone > ); > insert into test_0 >(string_value) > values >('2010-03-12 17:06:21-0800'), >('2009-08-14 1

[SQL] problem converting strings to timestamps with time zone

2010-04-28 Thread Edward Ross
Hi, I have a table with varchar and timestamp with time zone columns, among others. Insertions into this table are usually done by a java program; and there are many tens of thousands of records in the table. Recently, after changes in the java software, many timestamps values inadvertently