pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: soni de <soni.de@gmail.com>
Cc: Ansgar -59cobalt- Wiechers <lists@planetcobalt.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: Regarding COPY command from Postgres 8.2.0
Date: Tue, 18 Sep 2007 10:04:52 -0500
Message-ID: <dcc563d10709180804q6655bdefna25a9b5a57089769@mail.gmail.com> (raw)
In-Reply-To: <9f2e40a90709172131g26d681a1pf030910a1793f791@mail.gmail.com>
References: <9f2e40a90709140321l11e6cdb5g91d8f8bf0a43fd01@mail.gmail.com>
	<20070914120321.GA2615@mail.planetcobalt.net>
	<9f2e40a90709172131g26d681a1pf030910a1793f791@mail.gmail.com>

On 9/17/07, soni de <soni.de@gmail.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.



view thread (5+ messages)

Message-ID: <dcc563d10709180804q6655bdefna25a9b5a57089769@mail.gmail.com>
Permalink:  ../dcc563d10709180804q6655bdefna25a9b5a57089769@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10709180804q6655bdefna25a9b5a57089769@mail.gmail.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: scott.marlowe@gmail.com, soni.de@gmail.com, lists@planetcobalt.net
  Subject: Re: Regarding COPY command from Postgres 8.2.0
  In-Reply-To: <dcc563d10709180804q6655bdefna25a9b5a57089769@mail.gmail.com>
  References: <9f2e40a90709140321l11e6cdb5g91d8f8bf0a43fd01@mail.gmail.com> <20070914120321.GA2615@mail.planetcobalt.net> <9f2e40a90709172131g26d681a1pf030910a1793f791@mail.gmail.com> <dcc563d10709180804q6655bdefna25a9b5a57089769@mail.gmail.com>

* 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