Re: two minor issues with date time types

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: two minor issues with date time types
Дата
Msg-id 20030814194550.Q2302-100000@megazone.bigpanda.com
обсуждение исходный текст
Ответ на two minor issues with date time types  ("scott.marlowe" <scott.marlowe@ihs.com>)
Ответы Re: two minor issues with date time types  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Thu, 14 Aug 2003, scott.marlowe wrote:

> Just two minor issues with timestamps:
>
> Error message is currently:
>
> create table test (ts timestamp);
> -- insert an illegal date:
> insert into test values ('20021131');
> invalid input syntax for timestamp: "20021131"
>
> SQL92 and 99 say it should be:
>
> data exception-datetime field overflow
>
> No big deal, and it doesn't matter to me if it gets changed or not really,
> just FYI.

I don't think that's intended to be the textual error message.
I believe that's supposed to indicate which SQLSTATE is generated.

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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: two minor issues with date time types
Следующее
От: Tom Lane
Дата:
Сообщение: Re: two minor issues with date time types