From: toni hernández <toni@sigte.udg.edu>
To: pgsql-admin@postgresql.org
Subject: copy command and column attribute
Date: Mon, 30 Mar 2009 16:39:59 +0200
Message-ID: <49D0D9BF.20407@sigte.udg.edu> (raw)
hi all,
I've been trying to import some data from a csv file to my database.
I have some fields of the table that I want to keep so I typed
copy mytable (column
Affidabilita_stratigrafica,Ambiente,Anno,Componenti_geologici) FROM
E'c://export_us_sg4.csv' with delimiter ',' csv quote as '"';
This way I expect some fields to remain with the default value, but an
error appears near "column"
Am I typing it wrong?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: toni@sigte.udg.edu
Subject: Re: copy command and column attribute
In-Reply-To: <49D0D9BF.20407@sigte.udg.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox