X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4BC9B535F9 for ; Wed, 4 May 2005 10:32:46 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 55870-06 for ; Wed, 4 May 2005 13:32:39 +0000 (GMT) Received: from vlo.olsztyn.pl (tranquillity.vlo.olsztyn.pl [80.55.168.86]) by svr1.postgresql.org (Postfix) with ESMTP id DEB1E52A6B for ; Wed, 4 May 2005 10:32:38 -0300 (ADT) Received: by vlo.olsztyn.pl (Postfix, from userid 1000) id 815336766A; Wed, 4 May 2005 15:33:12 +0200 (CEST) Date: Wed, 4 May 2005 15:33:12 +0200 From: Pawel Bernat To: pgsql-php@postgresql.org Subject: Re: last value[Scanned] Message-ID: <20050504153312.A24041@vlo> References: <6FE0AEF8FBBD124D8CF3DD26064A096A1222E6@MMDELL.mm.local> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <6FE0AEF8FBBD124D8CF3DD26064A096A1222E6@MMDELL.mm.local>; from Simon.Hewitt@mailmatters.co.uk on Wed, May 04, 2005 at 02:23:31PM +0100 X-Flush: asmleet X-Discalimer: Of course! X-Operating-System: unix 32bit i686 X-Opinion-About-Mailer: =?iso-8859-2?Q?Mutt_-_jedyny_s=B3uszny?= X-Opinion-About-Header-Reader: 313373 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200505/9 X-Sequence-Number: 3123 On Wed, May 04, 2005 at 02:23:31PM +0100, Simon Hewitt wrote: > Hi Pawel, (...) > Note that this returns the latest value in *your* database session. i.e. If someone has inserted a row between your insert and retrieving the sequence number you will still receive *your* value And it's exact value, that Rony needs. p. -- Paweł Bernat; uselessness' lover; select''as email; Slowly and surely the unix crept up on the Nintendo user ...