From: lt <lt@basecity.com>
To: pgsql-admin@postgresql.org
Subject: copy error?
Date: Mon, 8 Oct 2001 23:13:24 +0800
Message-ID: <9psfue$tjp$1@news.tht.net> (raw)
Hi all,
Database: 7.1.3 (RPM)
OS: Redhat 7.1
Table: Create table jquserdata (
Username varchar(20) not null, primary
key,
¡)
Copy some corrupted data from a 7.1.3 (Encoding ASCII) with pg_dump, then
copy them (psql ¨Ce gamedb <data) to a new database(Encoding EUC_CN), some
error reported (duplicate primary key), I erased these rows and re-execute,
finally all data copied, next ,vaccum ¨Cz gamedb, this error still reported:
Cannot insert a duplicate key into unique index jquserdata_pkey !
Why? Everything is Ok when I use 7.0.2, but after I upgraded my database to
7.1.2 (next 7.1.3), things goes wrong. If no one can answer this question,
the only thing I can do is go back to 7.0.2. But how to downgrade a database
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-admin@postgresql.org
Cc: lt@basecity.com
Subject: Re: copy error?
In-Reply-To: <9psfue$tjp$1@news.tht.net>
References: <9psfue$tjp$1@news.tht.net>
* 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