Re: issue with an assembled date field

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: issue with an assembled date field
Дата
Msg-id 11003.1204313638@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: issue with an assembled date field  (Chris Bowlby <excalibur@accesswave.ca>)
Список 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 по дате отправления:

Предыдущее
От: "Martin Gainty"
Дата:
Сообщение: Re: issue with an assembled date field
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Upgrade to 8.3.0?