Re: Problema con TIME

From: Alvaro Herrera <alvherre(at)surnet(dot)cl>
To: Luis Guevara <luis(dot)a(dot)guevara(at)gmail(dot)com>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Problema con TIME
Date: 2005-07-04 16:15:05
Message-ID: 20050704161505.GA17714@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Mon, Jul 04, 2005 at 11:10:24AM -0500, Luis Guevara wrote:
> Hola Amigos:
>
> Trabajo con el siguiente ambiente:
>
> Servidor: Linux Suxe ....
> Postgres:8.0.3
> Cliente:EMS POstgres (Desde Windows XP)
>
> Al hacer un INSERT obtengo el siguiente error:
>
> /* Error : "ERROR: invalid input syntax for type time: "09:20:13 a.m."" */

Quitale los puntos a "a.m." :

alvherre=# select '09:20:13 a.m.'::time;
ERROR: la sintaxis de entrada no es válida para tipo time: «09:20:13 a.m.»
alvherre=# select '09:20:13 am'::time;
time
----------
09:20:13
(1 fila)

--
Alvaro Herrera (<alvherre[a]surnet.cl>)
"The first of April is the day we remember what we are
the other 364 days of the year" (Mark Twain)

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Alvaro Herrera 2005-07-04 16:34:15 Re: Problema con TIME
Previous Message Luis Guevara 2005-07-04 16:10:24 Problema con TIME