Re: casting interval to time - Mailing list pgsql-sql

From Tom Lane
Subject Re: casting interval to time
Date
Msg-id 2971.1055775231@sss.pgh.pa.us
Whole thread Raw
In response to casting interval to time  (Tomasz Myrta <jasiek@klaster.net>)
Responses Re: casting interval to time
List pgsql-sql
Tomasz Myrta <jasiek@klaster.net> writes:
> psql (PostgreSQL) 7.3.2
> SELECT cast(cast('1 day 12 hours' as interval) as time);
>    time
> ----------
>   00:00:00
> (1 row)

I get 12:00:00 here, using 7.3.3 ... platform-specific problem maybe?
        regards, tom lane


pgsql-sql by date:

Previous
From: Manfred Koizar
Date:
Subject: Re: Let join syntax
Next
From: Tomasz Myrta
Date:
Subject: Re: casting interval to time