From: | Larry Rosenman <ler(at)lerctr(dot)org> |
---|---|
To: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Hrm. interval() function? |
Date: | 2003-03-14 02:50:40 |
Message-ID: | 49730000.1047610240@lerlaptop.lerctr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
--On Friday, March 14, 2003 10:49:28 +0800 Christopher Kings-Lynne
<chriskl(at)familyhealth(dot)com(dot)au> wrote:
>> 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=#
>
> Try:
>
> select "interval"('6 months');
>
That works, but is non-intuitive. I assume this is a reserved word issue?
Can it be fixed?
LER
> Chris
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2003-03-14 02:51:24 | Re: Upgrading the backend's error-message infrastructure |
Previous Message | Christopher Kings-Lynne | 2003-03-14 02:49:28 | Re: Hrm. interval() function? |