Re: issue with an assembled date field - Mailing list pgsql-general

From Tom Lane
Subject Re: issue with an assembled date field
Date
Msg-id 11003.1204313638@sss.pgh.pa.us
Whole thread Raw
In response to Re: issue with an assembled date field  (Chris Bowlby <excalibur@accesswave.ca>)
List pgsql-general
Chris Bowlby <excalibur@accesswave.ca> writes:
> ERROR:  invalid input syntax for type date: "200W-01-01"

> the test data I am using for this example is as follows:

FWIW, I don't see any problem here using that test case.  Have you tried
looking directly at the output of the substring function, ie

select substring(ilch.lot_id::text, 5, 1) FROM my_lot_test ilch;

            regards, tom lane

pgsql-general by date:

Previous
From: "Martin Gainty"
Date:
Subject: Re: issue with an assembled date field
Next
From: Tom Lane
Date:
Subject: Re: Upgrade to 8.3.0?