Skip site navigation (1) Skip section navigation (2)

Error in using copy command

From: Sindile Bidla <sindile(dot)bidla(at)gmail(dot)com>
To: pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Error in using copy command
Date: 2011-05-11 12:09:17
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
I get the following error on running COPY - array value must start with "{"
or dimension information CONTEXT: copy tablename, line 1, column field1:

the structure of the csv file is: "1","1","BLOEMSMOND SETTLEMENT
AGRICULTURAL HOLDING","00000","","","T618/1943","6.3870 H","NORTHERN

my copy command looks is: COPY tablename FROM myfile DELIMITER ',';


pgsql-novice by date

Next:From: Michael WoodDate: 2011-05-11 12:28:16
Subject: Re: Error in using copy command
Previous:From: JORGE MALDONADODate: 2011-05-10 22:30:43
Subject: Recommendation for writing a select statement.

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group