| From: | Kachun Lee <kachun(at)pathlink(dot)com> |
|---|---|
| To: | Colin Dick <cdick(at)mail(dot)ocis(dot)net> |
| Cc: | pgsql-sql(at)postgreSQL(dot)org |
| Subject: | Re: [SQL] Date fields and libpq.... |
| Date: | 1998-06-26 23:45:54 |
| Message-ID: | 3.0.1.32.19980626164554.006ac384@rr.pathlink.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
At 04:17 PM 6/26/98 -0700, you wrote:
>> It should be:
>>
>> select date_part(datetime(start),'epoch') from timebase;
>
>Hi,
> What version of postgres are you running? I have tried the above
>query and get the following result:
>
>WARN:func_get_detail: function date_part(datetime, unknown) does not exist
>
>Is this perhaps something that has been written specifically for your
>postgres or is it included in the latest version? I am currently running
>version 6.1..... Thanks again for your fast responses.
>
>--
>Colin Dick
>On Call Internet Services
>cdick(at)mail(dot)ocis(dot)net
Oops! Should have checked the manual first, it should be:
select date_part('epoch', datetime(start)) from timebase
and I am using v6.3.2.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 1998-06-27 02:11:56 | Re: [SQL] isnull function] |
| Previous Message | Colin Dick | 1998-06-26 23:17:44 | Re: [SQL] Date fields and libpq.... |