Re: lastval()

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>, pgsql-patches(at)postgresql(dot)org
Subject: Re: lastval()
Date: 2005-05-11 01:16:04
Message-ID: 42815CD4.9070203@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Neil Conway wrote:
> 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.

I can't speak to the code but lastval is something that has been
requested by my customers many times.

Sincerely,

Joshua D. Drake

>
> -Neil
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-05-11 01:48:32 Re: LEFT JOIN used in psql describe.c
Previous Message Neil Conway 2005-05-11 00:55:37 Re: lastval()

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2005-05-11 01:17:51 minor contrib/btree_gist cleanup
Previous Message Neil Conway 2005-05-11 00:55:37 Re: lastval()