Re: Regarding COPY command from Postgres 8.2.0

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "soni de" <soni(dot)de(at)gmail(dot)com>
Cc: "Ansgar -59cobalt- Wiechers" <lists(at)planetcobalt(dot)net>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Regarding COPY command from Postgres 8.2.0
Date: 2007-09-18 15:04:52
Message-ID: dcc563d10709180804q6655bdefna25a9b5a57089769@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 9/17/07, soni de <soni(dot)de(at)gmail(dot)com> wrote:
> We have upgraded postgres from 7.2.4 to 8.2.0.
> We have program which executes COPY command and our new database is changed
> having some extra columns in some tables.
> Because of this, COPY commands are failing.
> So, we wanted the option to COPY the data without specifying column names.

Can't you just edit the import to have the newer 8.2.x syntax of

COPY table (field1, field2, field3, field4) FROM stdin;

???

And please tell me you aren't running 8.2.0, but 8.2.4 or now that it
just came out, 8.2.5. Those minor point releases contain a lot of bug
fixes, and you're just asking for trouble by running a .0 release.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Bill Moran 2007-09-18 16:18:45 Re: R: DELETE queries slow down
Previous Message Evan Carroll 2007-09-18 14:53:28 Re: Regarding COPY command from Postgres 8.2.0