pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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 10:53:51 -0400
Message-ID: <2971.1055775231@sss.pgh.pa.us> (raw)
In-Reply-To: <3EEDCB67.4090504@klaster.net>
References: <3EEDCB67.4090504@klaster.net>

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



view thread (8+ messages)  latest in thread

Message-ID: <2971.1055775231@sss.pgh.pa.us>
Permalink:  ../2971.1055775231@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2971.1055775231@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, jasiek@klaster.net
  Subject: Re: casting interval to time
  In-Reply-To: <2971.1055775231@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