X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 026E9F0001; Fri, 6 Jun 2003 14:52:27 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 20489-09; Fri, 6 Jun 2003 14:52:22 +0000 (GMT) Received: from www.postgresql.com (www.postgresql.com [64.117.225.209]) by svr1.postgresql.org (Postfix) with ESMTP id 33D78F01B1; Fri, 6 Jun 2003 14:48:03 +0000 (GMT) Received: from localhost.localdomain (unknown [65.217.53.66]) by www.postgresql.com (Postfix) with ESMTP id EF207CF8388; Thu, 5 Jun 2003 21:42:59 +0000 (GMT) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id h55MXoM3032600; Thu, 5 Jun 2003 18:33:50 -0400 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [192.168.3.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id h55LfsL02738; Thu, 5 Jun 2003 17:41:55 -0400 Received: from camel.mmrd.com ([172.25.5.213]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id M1ZDHQPY; Thu, 5 Jun 2003 17:41:54 -0400 Subject: Re: Error while loading external data into Postgres table From: Robert Treat To: "Bodanapu, Sravan" Cc: "PGSQL General (E-mail)" , "PGSQL Admin (E-mail)" In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 05 Jun 2003 17:41:54 -0400 Message-Id: <1054849314.29944.164.camel@camel> Mime-Version: 1.0 X-Archive-Number: 200306/46 X-Sequence-Number: 9037 Perhaps you can post the first 10 lines or so of your input file and the schema in which you are trying to import? Robert Treat On Mon, 2003-06-02 at 10:23, Bodanapu, Sravan wrote: > NO. I dont have any arrays in the table. > > - Sravan. > > -----Original Message----- > From: shreedhar [mailto:shreedhar@lucidindia.net] > Sent: Monday, June 02, 2003 2:16 AM > To: Bodanapu, Sravan; PGSQL General (E-mail) > Cc: PGSQL Admin (E-mail) > Subject: Re: [ADMIN] 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 destination table. > > Sreedhar > > ----- Original Message ----- > > From: Bodanapu, Sravan > To: PGSQL General (E-mail) > Cc: PGSQL Admin (E-mail) > Sent: Monday, June 02, 2003 12:13 PM > Subject: [ADMIN] Error while loading external data into Postgres table. > > > Hi Gurus, > > I was trying to load data ( from flat file ) to postgres table using > "copy" 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 and nothing worked. Please advice me accordingly. > > Thanks, > > - Sravan. > -- Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL