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)