pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kenneth Marshall <ktm@rice.edu>
To: Rafael Domiciano <rafael.domiciano@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Time Type
Date: Mon, 28 Jul 2008 13:28:13 -0500
Message-ID: <20080728182813.GC12016@it.is.rice.edu> (raw)
In-Reply-To: <3a0028490807281116g4776d0c0sbaaaf8a372e11997@mail.gmail.com>
References: <3a0028490807281116g4776d0c0sbaaaf8a372e11997@mail.gmail.com>

What exactly are you hoping for? I do not think that adding two
times makes sense. Maybe you want one to be an interval?

Ken

On Mon, Jul 28, 2008 at 03:16:12PM -0300, Rafael Domiciano wrote:
> Hi there,
> 
> I'm trying to do some as following and I couldn't:
> select '00:01:00'::time + '00:10:00'::time
> ERROR:  operator is not unique: time without time zone + time without time
> zone at character 127
> HINT:  Could not choose a best candidate operator. You might need to add
> explicit type casts.
> 
> Postgres version: 8.3.3
> 
> Anyone knows anything?
> 
> Regards,
> 
> Rafael Domiciano



view thread (4+ messages)  latest in thread

Message-ID: <20080728182813.GC12016@it.is.rice.edu>
Permalink:  ../20080728182813.GC12016@it.is.rice.edu/
Also on:    postgresql.org/message-id/20080728182813.GC12016@it.is.rice.edu

 · 

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-admin@postgresql.org
  Cc: ktm@rice.edu, rafael.domiciano@gmail.com
  Subject: Re: Time Type
  In-Reply-To: <20080728182813.GC12016@it.is.rice.edu>

* 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