Re: Re: postgres TODO

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Alessio Bragadini <alessio(at)albourne(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, " =?iso-8859-1?Q?Xos=C9=20V=E1zquez?=" <xose(at)wanadoo(dot)es>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: postgres TODO
Date: 2000-07-10 13:25:51
Message-ID: 200007101325.JAA26878@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Peter Eisentraut wrote:
>
> > Bruce Momjian writes:
> >
> > > * Add function to return primary key value on INSERT
> >
> > I don't get the point of this. Don't you know what you inserted? For
> > sequences there's curval()
>
> Mmmhhh... it means that we can assume no update to the sequence value
> between the insert and the curval selection?

No curval() is per-backend value that is not affected by other users.
My book has a mention of that issue, and so does the FAQ.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB 2000-07-10 13:27:13 AW: AW: more corruption
Previous Message Philip Warner 2000-07-10 13:21:46 Re: postmaster errors with index on temp table?