Re: Roadmap for FE/BE protocol redesign

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Dave Cramer <dave(at)fastcrypt(dot)com>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Roadmap for FE/BE protocol redesign
Date: 2003-03-21 15:54:18
Message-ID: 200303211554.h2LFsIf29529@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

Tom Lane wrote:
> Dave Cramer <dave(at)fastcrypt(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-03-21 15:58:24 Re: A bad behavior under autocommit off mode
Previous Message Bruce Momjian 2003-03-21 15:53:05 Re: Nested transactions: low level stuff

Browse pgsql-interfaces by date

  From Date Subject
Next Message Dave Cramer 2003-03-21 16:06:14 Re: Roadmap for FE/BE protocol redesign
Previous Message Tom Lane 2003-03-21 15:49:54 Re: Roadmap for FE/BE protocol redesign