Re: Re: postgres TODO

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Re: postgres TODO
Дата
Msg-id 200007101325.JAA26878@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Re: postgres TODO  (Alessio Bragadini <alessio@albourne.com>)
Список 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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: postmaster errors with index on temp table?
Следующее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: AW: more corruption