X-Original-To: pgsql-admin@postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id 2E2F592625C; Mon, 2 Jun 2003 03:16:44 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 07652-09; Mon, 2 Jun 2003 03:16:32 -0400 (EDT) Received: from lucidindia.net (unknown [61.11.73.194]) by developer.postgresql.org (Postfix) with ESMTP id AE2B4926240; Mon, 2 Jun 2003 03:16:24 -0400 (EDT) Received: from a4005 ([192.168.1.18]) by lucidindia.net (8.11.6/8.11.6) with SMTP id h527GCN26588; Mon, 2 Jun 2003 12:46:12 +0530 Message-ID: <00d201c328d6$d9c821f0$1201a8c0@a4005> From: "shreedhar" To: "Bodanapu, Sravan" , "PGSQL General (E-mail)" Cc: "PGSQL Admin (E-mail)" References: Subject: Re: Error while loading external data into Postgres table. Date: Mon, 2 Jun 2003 12:46:12 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00CF_01C32904.F2CF0F50" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Virus-Scanned: by amavisd-new X-Archive-Number: 200306/8 X-Sequence-Number: 8999 This is a multi-part message in MIME format. ------=_NextPart_000_00CF_01C32904.F2CF0F50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Error while loading external data into Postgres table.What is delimiter you= had given in you 'Copy' command. Is there any array field in your destinat= ion table. Sreedhar ----- Original Message -----=20 From: Bodanapu, Sravan=20 To: PGSQL General (E-mail)=20 Cc: PGSQL Admin (E-mail)=20 Sent: Monday, June 02, 2003 12:13 PM Subject: [ADMIN] Error while loading external data into Postgres table. Hi Gurus,=20 I was trying to load data ( from flat file ) to postgres table using "cop= y" utility in postgres. It throws out an error "ERROR: copy: line 1, array_= in: Need to specify dimension" and fails. I tried with couple of changes a= nd nothing worked. Please advice me accordingly. Thanks,=20 - Sravan.=20 This message, including any attachments, contains confidential informatio= n intended for a specific individual and purpose and is protected by law. = If you are not the intended recipient, please contact sender immediately by= reply e-mail and destroy all copies. You are hereby notified that any dis= closure, copying, or distribution of this message, or the taking of any act= ion based on it, is strictly prohibited. WARNING: Computer viruses can be transmitted via email. The recipient sho= uld check this email and any attachments for the presence of viruses. The s= ender accepts no liability for any damage caused by any virus transmitted b= y this email. E-mail transmission cannot be guaranteed to be secure or erro= r-free as information could be intercepted, corrupted, lost, destroyed, arr= ive late or incomplete, or contain viruses. The sender therefore does not a= ccept liability for any errors or omissions in the contents of this message= , which arise as a result of e-mail transmission. ------=_NextPart_000_00CF_01C32904.F2CF0F50 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Error while loading external data into Postgres table.</= TITLE> <META content=3D"text/html; charset=3Diso-8859-1" http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2>What is delimiter you had given in you 'Co= py'=20 command. Is there any array field in your destination table.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Sreedhar</FONT></DIV> <DIV> </DIV> <DIV></FONT>----- Original Message ----- </DIV></DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0p= x; PADDING-LEFT: 5px; PADDING-RIGHT: 0px"> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>Fro= m:</B>=20 <A href=3D"mailto:Sravan.Bodanapu@NextelPartners.com"=20 title=3DSravan.Bodanapu@NextelPartners.com>Bodanapu, Sravan</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20 href=3D"mailto:pgsql-general@postgresql.org"=20 title=3Dpgsql-general@postgresql.org>PGSQL General (E-mail)</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A=20 href=3D"mailto:pgsql-admin@postgresql.org"=20 title=3Dpgsql-admin@postgresql.org>PGSQL Admin (E-mail)</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, June 02, 2003 12:13= =20 PM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [ADMIN] Error while loadi= ng=20 external data into Postgres table.</DIV> <DIV><BR></DIV> <P><FONT face=3DArial size=3D2>Hi Gurus,</FONT> </P> <P><FONT face=3DArial size=3D2>I was trying to load data ( from flat file= ) to=20 postgres table using "copy" utility in postgres. It throws out an error= =20 "ERROR: copy: line 1, array_in: Need to specify dimension"  and fail= s. I=20 tried with couple of changes and nothing worked. Please advice me=20 accordingly.</FONT></P> <P><FONT face=3DArial size=3D2>Thanks,</FONT> </P> <P><FONT face=3DArial size=3D2>- Sravan.</FONT> </P><BR> <P><FONT face=3DArial size=3D2>This message, including any attachments, c= ontains=20 confidential information intended for a specific individual and purpose a= nd is=20 protected by law.  If you are not the intended recipient, please con= tact=20 sender immediately by reply e-mail and destroy all copies.  You are= =20 hereby notified that any disclosure, copying, or distribution of this mes= sage,=20 or the taking of any action based on it, is strictly prohibited.</FONT></= P> <P><FONT face=3DArial size=3D2>WARNING: Computer viruses can be transmitt= ed via=20 email. The recipient should check this email and any attachments for the= =20 presence of viruses. The sender accepts no liability for any damage cause= d by=20 any virus transmitted by this email. E-mail transmission cannot be guaran= teed=20 to be secure or error-free as information could be intercepted, corrupted= ,=20 lost, destroyed, arrive late or incomplete, or contain viruses. The sende= r=20 therefore does not accept liability for any errors or omissions in the=20 contents of this message, which arise as a result of e-mail=20 transmission.</FONT></P></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_00CF_01C32904.F2CF0F50--