X-Original-To: pgsql-hackers@postgresql.org Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 66C5F474E44 for ; Fri, 21 Mar 2003 10:54:21 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h2LFsIf29529; Fri, 21 Mar 2003 10:54:18 -0500 (EST) From: Bruce Momjian Message-Id: <200303211554.h2LFsIf29529@candle.pha.pa.us> Subject: Re: Roadmap for FE/BE protocol redesign In-Reply-To: <13159.1048261794@sss.pgh.pa.us> To: Tom Lane Date: Fri, 21 Mar 2003 10:54:18 -0500 (EST) Cc: Dave Cramer , PostgreSQL Development X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200303/914 X-Sequence-Number: 37160 Tom Lane wrote: > Dave Cramer writes: > > I am wondering if it would be possible to return the value of the first > > serial field in the row that was incremented on an insert ? > > That's a language issue, not a protocol issue, and no I'm not taking it > on for 7.4. What I was wondering is if we could create a currval() call that takes no arguments, and returns the most recent sequence id assigned. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073