Hrm. interval() function?

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Hrm. interval() function?
Дата
Msg-id 40080000.1047609663@lerlaptop.lerctr.org
обсуждение исходный текст
Список pgsql-hackers
While doing the previous post, I found that the following fails, should it?

PG 7.3.2 on FreeBSD:


ler=# \df interval                        List of functionsResult data type |   Schema   |   Name   |  Argument data
types
------------------+------------+----------+------------------------interval         | pg_catalog | interval |
reltimeinterval        | pg_catalog | interval | textinterval         | pg_catalog | interval | time without time zone
 
(3 rows)

ler=# select interval('6 months');
ERROR:  parser: parse error at or near "'6 months'" at character 17
ler=# select interval('6 months'::text);
ERROR:  parser: parse error at or near "'6 months'" at character 17
ler=#
-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749





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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: Roadmap for FE/BE protocol redesign
Следующее
От: Neil Conway
Дата:
Сообщение: Re: Upgrading the backend's error-message infrastructure