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 EBF0E52952 for ; Wed, 4 May 2005 10:09:08 -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 51840-01 for ; Wed, 4 May 2005 13:09:04 +0000 (GMT) Received: from vlo.olsztyn.pl (tranquillity.vlo.olsztyn.pl [80.55.168.86]) by svr1.postgresql.org (Postfix) with ESMTP id 5E2B853489 for ; Wed, 4 May 2005 10:09:01 -0300 (ADT) Received: by vlo.olsztyn.pl (Postfix, from userid 1000) id E94E167667; Wed, 4 May 2005 15:09:33 +0200 (CEST) Date: Wed, 4 May 2005 15:09:33 +0200 From: Pawel Bernat To: pgsql-php@postgresql.org Subject: Re: last value Message-ID: <20050504150933.A23938@vlo> References: 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: ; from rwarken@gmail.com on Wed, May 04, 2005 at 09:18:12AM -0300 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/7 X-Sequence-Number: 3121 On Wed, May 04, 2005 at 09:18:12AM -0300, Roni Warken wrote: > How can I do that? Or if you have a better idea of how to get the last > value and insert in the other table, please tell me. CURRVAL() p. -- Paweł Bernat; uselessness' lover; select''as email; Slowly and surely the unix crept up on the Nintendo user ...