Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id A2571475A86 for ; Thu, 28 Mar 2002 09:40:58 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g2SEeZS25560; Thu, 28 Mar 2002 09:40:35 -0500 (EST) To: Andre Schubert Cc: "pgsql-admin@postgresql.org" Subject: Re: Last_Inserted Value In-reply-to: <3CA2CF1F.3451C5B4@km3.de> References: <3CA2CF1F.3451C5B4@km3.de> Comments: In-reply-to Andre Schubert message dated "Thu, 28 Mar 2002 09:06:55 +0100" Date: Thu, 28 Mar 2002 09:40:35 -0500 Message-ID: <25557.1017326435@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200203/333 X-Sequence-Number: 3867 Andre Schubert writes: > All three tables use the same sequence to increment their id. > I want to know if it is possible to find the id of the inserted value of > foo. Try "currval". regards, tom lane