Re: Roadmap for FE/BE protocol redesign

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Roadmap for FE/BE protocol redesign
Дата
Msg-id 200303211554.h2LFsIf29529@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Roadmap for FE/BE protocol redesign  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Roadmap for FE/BE protocol redesign  (Dave Cramer <dave@fastcrypt.com>)
Re: Roadmap for FE/BE protocol redesign  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Dave Cramer <dave@fastcrypt.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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Nested transactions: low level stuff
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: A bad behavior under autocommit off mode