Error con el COPY ???????????

From: MIGUEL CANCHAS <mcanchas(at)tsr(dot)com(dot)pe>
To: "'pgsql-es-ayuda(at)postgresql(dot)org'" <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Error con el COPY ???????????
Date: 2008-03-12 16:25:38
Message-ID: 410117BB01F4D611B73A00010331DD2403B589DF@tsnt.tsr.com.pe
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

ERROR: date/time field value out of range: "27/12/2001"
HINT: Perhaps you need a different "datestyle" setting.
CONTEXT: COPY vihilos1, line 1, column fecha_emision: "27/12/2001"

Lo que hago es esto :

sig=#COPY vihilos1 FROM 'C:\\vi.txt' DELIMITER '\t';

y la primera linea de mi archivo de texto es :
1 02 27/12/2001 00000
27/12/2001 A015 L101 A015 / /

a que se debe ? como se puede setear ?

Gracias.....

Miguel Canchas

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Alvaro Herrera 2008-03-12 16:29:46 Re: CREATE FUNCTION QUE RETORNA UNA TABLA
Previous Message Alvaro Herrera 2008-03-12 16:19:17 Re: usar raise notice con sqlstate