Re: Using YY-MM-DD date input

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Using YY-MM-DD date input
Дата
Msg-id 21100.1059423391@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Using YY-MM-DD date input  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I assume that the datestyle has to be set to YMD for this to work as
> outlined above, right, and that 97-01-01 will throw an error unless the
> datestyle is YMD.

Right, no more heuristics (other than assuming YYYY-MM-DD if the first
field is written with four digits).  With 2-digit fields, the field
order will be taken to be whatever datestyle says it is.

> Yes, second one is most recent version.

Thanks, I'll work from that.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Using YY-MM-DD date input
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: CREATE TABLE with REFERENCE