Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fATIX3m89206 for ; Thu, 29 Nov 2001 13:33:03 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id fATIWpk19594; Thu, 29 Nov 2001 13:32:52 -0500 (EST) To: Peralta Miguel-MPERALT1 cc: pgsql-admin@postgresql.org Subject: Re: Bad Date field In-reply-to: <698AE46F861FD51182CB0002B328C3720243DEB1@IL75EXM05> References: <698AE46F861FD51182CB0002B328C3720243DEB1@IL75EXM05> Comments: In-reply-to Peralta Miguel-MPERALT1 message dated "Thu, 29 Nov 2001 10:42:01 -0600" Date: Thu, 29 Nov 2001 13:32:51 -0500 Message-ID: <19591.1007058771@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200111/174 X-Sequence-Number: 2699 Peralta Miguel-MPERALT1 writes: > COPY release_data FROM '/home/mperalta/release_data' USING DELIMITERS '|' > When I issue this command, the response afte a while is the following: > ERROR; Bad date external representation '9' > The external file is rather large and I've tried finding this bad date > manually with no success. How old is your Postgres? The last several releases include line numbers when complaining about COPY problems. In the meantime, I like the other person's suggestion about importing into a temp table and then working with the temp table to clean up the data. regards, tom lane