Re: Roadmap for FE/BE protocol redesign

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Dave Cramer <dave@fastcrypt.com>, PostgreSQL Development <pgsql-hackers@postgresql.org>
Date: 2003-03-21T15:54:18Z
Lists: pgsql-hackers
Tom Lane wrote:
> Dave Cramer <dave@fastcrypt.com> 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