Re: [SQL] Date fields and libpq....
| От | Kachun Lee |
|---|---|
| Тема | Re: [SQL] Date fields and libpq.... |
| Дата | |
| Msg-id | 3.0.1.32.19980626164554.006ac384@rr.pathlink.com обсуждение исходный текст |
| Ответ на | Re: [SQL] Date fields and libpq.... (Colin Dick <cdick@mail.ocis.net>) |
| Список | 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@mail.ocis.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.
В списке pgsql-sql по дате отправления: