Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TuoGO-0008KU-IW for pgsql-bugs@arkaria.postgresql.org; Mon, 14 Jan 2013 17:56:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TuoGN-0005CA-7v for pgsql-bugs@arkaria.postgresql.org; Mon, 14 Jan 2013 17:55:59 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TugTr-00082M-Bn for pgsql-bugs@postgresql.org; Mon, 14 Jan 2013 09:37:23 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TugTq-0006LQ-GR for pgsql-bugs@postgresql.org; Mon, 14 Jan 2013 09:37:22 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TugTq-000320-Cz for pgsql-bugs@postgresql.org; Mon, 14 Jan 2013 09:37:22 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1TugTq-0001fT-5Z for pgsql-bugs@postgresql.org; Mon, 14 Jan 2013 09:37:22 +0000 Date: Mon, 14 Jan 2013 09:37:22 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7805: Inconsistency, multiple versions To: pgsql-bugs@postgresql.org From: gerydeft@gmail.com X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 7805 Logged by: Gery Deft Email address: gerydeft@gmail.com PostgreSQL version: 9.2.2 Operating system: Windows Server, Windows 7,Ubuntu linux Description:=20=20=20=20=20=20=20=20 Hi, Versions: 9.2.*,8.4.* Our project uses PostgreSQL as main database system, but recently we found that PG have serious inconsistency problems. We have about 60 connections to the database, reading and writing it most of the time. It does not matter if we use inline SQL, stored procedures or pg_advisory_lock, after a few hundreds of thousand records the database will contain duplication in a key field. Example: CREATE TABLE ( id serial NOT NULL, name character varying(100), ... CONSTRAINT domain_pkey PRIMARY KEY (id), CONSTRAINT domain_name_key UNIQUE (name) --------------------------------- SELECT id, name,length(name) FROM
where name like 'samedata%'; 3161132;"samedata";8 7821530;"samedata";8 1962653;"samedata";8 I made ASCII comparison and they are identical. This bug corrupts the workflow of our project, please fix it as soon as possible. Thanks, Gery =20 --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs