Received: from mc-qout2.whowhere.com (nytoday.whowhere.com [209.1.236.38]) by hub.org (8.10.1/8.10.1) with SMTP id e8L6Dxs60429 for ; Thu, 21 Sep 2000 02:14:00 -0400 (EDT) Received: from Unknown/Local ([?.?.?.?]) by shared1-mail.whowhere.com; Wed Sep 20 23:13:23 2000 To: pgsql-general@hub.org Date: Wed, 20 Sep 2000 23:13:23 -0700 From: "K Parker" Message-ID: Mime-Version: 1.0 X-Sent-Mail: off Reply-To: kparker@eudoramail.com X-Mailer: MailCity Service Subject: Re: sequences X-Sender-Ip: 209.191.185.54 Organization: QUALCOMM Eudora Web-Mail (http://www.eudoramail.com:80) Content-Type: text/plain; charset=us-ascii Content-Language: en Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/601 Edward Q. Bridges's detailed statement regarding sequences, of which I extract merely the most pessimistic part: > begin; > insert into foo (A,B) values (B); > select currval('foo_A_seq'); > commit; > > note that the transaction is key, without > which there's no guarantee that some other > statement will affect the value of the > sequence. quite clearly conflicts what what seems to me to be the plain meaning of the manual page for CREATE SEQUENCE which states, in part: > multiple backends are guaranteed to > allocate distinct sequence values Can some knowledgable person here save a bunch of us plain old user-programmers the trouble of trying to trace down what the source says and just clarify this issue? Thanks! > Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com