Re: Hrm. interval() function?

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Larry Rosenman" <ler(at)lerctr(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Hrm. interval() function?
Date: 2003-03-14 02:49:28
Message-ID: 0d8d01c2e9d4$54f0f010$6500a8c0@fhp.internal
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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');

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2003-03-14 02:50:40 Re: Hrm. interval() function?
Previous Message Larry Rosenman 2003-03-14 02:48:18 Re: Upgrading the backend's error-message infrastructure