From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tomasz Myrta <jasiek@klaster.net>
Cc: PGSQL-SQL <pgsql-sql@postgresql.org>
Subject: Re: casting interval to time
Date: Mon, 16 Jun 2003 11:17:11 -0400
Message-ID: <3222.1055776631@sss.pgh.pa.us> (raw)
In-Reply-To: <3EEDDB8D.5080401@klaster.net>
References: <3EEDCB67.4090504@klaster.net>
<2971.1055775231@sss.pgh.pa.us>
<3EEDDB8D.5080401@klaster.net>
Tomasz Myrta <jasiek@klaster.net> writes:
> Dnia 2003-06-16 16:53, U¿ytkownik Tom Lane napisa³:
>> 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?
> Default Debian package. I got the same result even on a 7.3.3 Debian
> package.
What do you get from "pg_config --configure"? What's the hardware
platform --- i386, or something else? Can anyone else reproduce this,
on any platform?
regards, tom lane
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: tgl@sss.pgh.pa.us, jasiek@klaster.net
Subject: Re: casting interval to time
In-Reply-To: <3222.1055776631@sss.pgh.pa.us>
* 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