pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kachun Lee <kachun@pathlink.com>
To: Colin Dick <cdick@mail.ocis.net>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Date fields and libpq....
Date: Fri, 26 Jun 1998 16:45:54 -0700
Message-ID: <3.0.1.32.19980626164554.006ac384@rr.pathlink.com> (raw)
In-Reply-To: <Pine.LNX.3.96.980626161054.30350B-100000@ocis.ocis.net>
References: <3.0.1.32.19980626150540.006ab3dc@rr.pathlink.com>

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.



view thread (7+ messages)

Message-ID: <3.0.1.32.19980626164554.006ac384@rr.pathlink.com>
Permalink:  ../3.0.1.32.19980626164554.006ac384@rr.pathlink.com/
Also on:    postgresql.org/message-id/3.0.1.32.19980626164554.006ac384@rr.pathlink.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: kachun@pathlink.com, cdick@mail.ocis.net
  Subject: Re: [SQL] Date fields and libpq....
  In-Reply-To: <3.0.1.32.19980626164554.006ac384@rr.pathlink.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox