From: hmf@alkheme.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6317: sequence error for pg_dump
Date: Fri, 02 Dec 2011 09:48:01 +0000
Message-ID: <E1RWPir-0003bE-8Z@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 6317
Logged by: hua ming fei
Email address: hmf@alkheme.com
PostgreSQL version: 9.0.1
Operating system: Centos 5.5
Description:
use pg_dump when didn't close the application , weird things occured . the
current value of one sequence is more slower than the max number of one
primary key base on the sequence . So, I looked into the dump file , found
command"
SELECT pg_catalog.setval('attrnamemaster_attrnameid_seq', 3009, true);" to
set sequence values number , but the import data, there are many lines with
number larger than the sequence value :
3012 38 2147483647 t 10041 material material
material 1004.10041 4.1 f
3013 38 2147483647 t 10042 disable
1004.10042 4.2 f
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-bugs@postgresql.org
Cc: hmf@alkheme.com
Subject: Re: BUG #6317: sequence error for pg_dump
In-Reply-To: <E1RWPir-0003bE-8Z@wrigleys.postgresql.org>
References: <E1RWPir-0003bE-8Z@wrigleys.postgresql.org>
* 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