pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lennin Caro <lennin.caro@yahoo.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
To: Rafael Domiciano <rafael.domiciano@gmail.com>
Subject: Re: Time Type
Date: Mon, 28 Jul 2008 20:42:00 -0700 (PDT)
Message-ID: <322763.57072.qm@web59507.mail.ac4.yahoo.com> (raw)
In-Reply-To: <3a0028490807281116g4776d0c0sbaaaf8a372e11997@mail.gmail.com>

you try to do something like this

select '00:01'::time + interval '10 minutes'


--- On Mon, 7/28/08, Rafael Domiciano <rafael.domiciano@gmail.com> wrote:

> From: Rafael Domiciano <rafael.domiciano@gmail.com>
> Subject: [ADMIN] Time Type
> To: "pgsql-admin@postgresql.org" <pgsql-admin@postgresql.org>
> Date: Monday, July 28, 2008, 6:16 PM
> 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)

Message-ID: <322763.57072.qm@web59507.mail.ac4.yahoo.com>
Permalink:  ../322763.57072.qm@web59507.mail.ac4.yahoo.com/
Also on:    postgresql.org/message-id/322763.57072.qm@web59507.mail.ac4.yahoo.com

 · 

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: lennin.caro@yahoo.com, rafael.domiciano@gmail.com
  Subject: Re: Time Type
  In-Reply-To: <322763.57072.qm@web59507.mail.ac4.yahoo.com>

* 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