Re: [SQL] Date fields and libpq....

Поиск
Список
Период
Сортировка
От Colin Dick
Тема Re: [SQL] Date fields and libpq....
Дата
Msg-id Pine.LNX.3.96.980626161054.30350B-100000@ocis.ocis.net
обсуждение исходный текст
Ответ на Re: [SQL] Date fields and libpq....  (Kachun Lee <kachun@pathlink.com>)
Ответы Re: [SQL] Date fields and libpq....  (Kachun Lee <kachun@pathlink.com>)
Список pgsql-sql
> 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



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

Предыдущее
От: Kachun Lee
Дата:
Сообщение: Re: [SQL] Date fields and libpq....
Следующее
От: Kachun Lee
Дата:
Сообщение: Re: [SQL] Date fields and libpq....