Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 39846475936 for ; Mon, 20 May 2002 12:32:00 -0400 (EDT) Received: from localhost (pD9E4FBD8.dip.t-dialin.net [217.228.251.216]) by postgresql.org (Postfix) with ESMTP id 7580E4762B0 for ; Mon, 20 May 2002 12:10:31 -0400 (EDT) Received: from eckhard by localhost with local (Exim 3.35 #1 (Debian)) id 179pk4-0002K5-00 for ; Mon, 20 May 2002 18:10:36 +0200 Date: Mon, 20 May 2002 18:10:36 +0200 From: Eckhard Hoeffner To: pgsql-sql@postgresql.org Subject: Re: Using LASTOID in one query Message-ID: <20020520161036.GB8708@fifoost.org> Mail-Followup-To: pgsql-sql@postgresql.org References: <20020520140835.GA6211@fifoost.org> <20020520235859.A95E.RK73@sea.plala.or.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20020520235859.A95E.RK73@sea.plala.or.jp> User-Agent: Mutt/1.3.28i X-Archive-Number: 200205/207 X-Sequence-Number: 7842 * Masaru Sugawara [20 05 02 17:31]: >On Mon, 20 May 2002 16:08:36 +0200 >Eckhard Hoeffner wrote: > >> Is there a possibility to use the last OID from PHP within one >> query? I have two tables like the following:=20 > >You might find something interesting here. > >http://www.postgresql.org/idocs/index.php?plpgsql-statements.html >23.5.5. Obtaining result status Thanks, but Joel already gave me a very good hint for my question.=20 --=20 --//--\\-- Eckhard Hoeffner e-hoeffner@fifoost.org Tal 44=20 D-80331 M=FCnchen