Thanks to visit codestin.com
Credit goes to postgrespro.com

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

From Tom Lane
Subject Re: casting interval to time
Date
Msg-id [email protected]
Whole thread Raw
In response to casting interval to time  (Tomasz Myrta <[email protected]>)
Responses Re: casting interval to time
List pgsql-sql
Tomasz Myrta <[email protected]> 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