Re: lastval()

From: Neil Conway <neilc(at)samurai(dot)com>
To: Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: lastval()
Date: 2005-05-11 00:55:37
Message-ID: 42815809.9070804@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Dennis Bjorklund wrote:
> Here is a small patch that implements a function lastval() that
> works just like currval() except that it give the current
> value of the last sequence used by nextval().

What do people think of this idea? (Tom seems opposed, I'm just
wondering if there are other opinions out there.)

I like the concept, but I haven't looked at the code -- I'd be happy to
review the implementation, although I won't waste my time if most people
are opposed to the idea itself.

-Neil

In response to

  • lastval() at 2005-05-08 17:00:15 from Dennis Bjorklund

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2005-05-11 01:16:04 Re: lastval()
Previous Message David Fetter 2005-05-11 00:26:42 Re: Oracle Style packages on postgres

Browse pgsql-patches by date

  From Date Subject
Next Message Joshua D. Drake 2005-05-11 01:16:04 Re: lastval()
Previous Message Bruce Momjian 2005-05-10 22:28:19 Re: [PATCHES] Cleaning up unreferenced table files