Re: timestamp() broken in 7.2.4?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: timestamp() broken in 7.2.4?
Дата
Msg-id 20030626161010.C56339-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на timestamp() broken in 7.2.4?  (Holger Marzen <holger@marzen.de>)
Ответы Solved: timestamp() broken in 7.2.4?  (Holger Marzen <holger@marzen.de>)
Список pgsql-general
On Fri, 27 Jun 2003, Holger Marzen wrote:

> In 7.1.3 I can use
>
>   select timestamp(date '2001-01-01', time '00:00');
>
> but in 7.2.4 I get
>
>   db1=# select timestamp(date '2001-01-01', time '00:00');
>   ERROR:  parser: parse error at or near "date"

To be closer to the standard, timestamp() became a reference to the
datatype with a given precision (given in the parens).  You can still get
at the functions with "timestamp"(...), but I think you can also use
date '2001-01-01' + time '00:00' as well.


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

Предыдущее
От: Ian Barwick
Дата:
Сообщение: Re: timestamp() broken in 7.2.4?
Следующее
От: Rory Campbell-Lange
Дата:
Сообщение: SELECT too complex?