X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 7AE9BD1B52A for ; Fri, 12 Sep 2003 14:16:27 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 86796-07 for ; Fri, 12 Sep 2003 11:16:19 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 4EB89D1B53A for ; Fri, 12 Sep 2003 11:16:15 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h8CEGGAn010732; Fri, 12 Sep 2003 10:16:16 -0400 (EDT) To: Markus Espenhain Cc: Postgres Subject: Re: Problem with Sequences In-reply-to: <20030912113022.GA8859@intranet.etes.de> References: <20030912113022.GA8859@intranet.etes.de> Comments: In-reply-to Markus Espenhain message dated "Fri, 12 Sep 2003 13:30:22 +0200" Date: Fri, 12 Sep 2003 10:16:16 -0400 Message-ID: <10731.1063376176@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/209 X-Sequence-Number: 10297 Markus Espenhain writes: > On user who works with the Database create an new record and save this. > Here the record becomes an ID and another Number from an two sequences. > One other user ist in this moment working with the database and create an new record, too. > Now he becomes in some circumstances the same ID like the first saved record from the other user with the effect, that the other record is nolong in the database. > Is this problem possible? Not unless you're failing to use the sequences correctly. Show us the SQL queries being issued by each application, please. regards, tom lane