Re: timespan_part()?

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Cornelia Boenigk <c(at)cornelia-boenigk(dot)de>
Cc: tony <tony(at)animaproductions(dot)com>, postgres list <pgsql-general(at)postgresql(dot)org>
Subject: Re: timespan_part()?
Date: 2002-02-11 13:47:17
Message-ID: 20020211144717.M25488@zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Feb 11, 2002 at 02:35:21PM +0100, Cornelia Boenigk wrote:
> Hello
>
> In a script I found a query
>
> SELECT timespan_part( ... ) FROM table;
>
> Is this a valid PostgreSQL-function? In the documentation I didn't
> find any hint.
> If yes, does PostgreSQL 7.1 support this function?

Rather use date_part().

Karel

--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/

C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Denis Perchine 2002-02-11 13:55:50 Index on timestamp field, and now()
Previous Message Bruno Wolff III 2002-02-11 13:46:11 Re: getting currval from a sequence