Re: Any reason not to return row_count in cursor of plpgsql?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Any reason not to return row_count in cursor of plpgsql?
Дата
Msg-id 200812152342.mBFNgtM27630@momjian.us
обсуждение исходный текст
Ответ на Any reason not to return row_count in cursor of plpgsql?  (laser <laserlist@pgsqldb.com>)
Список pgsql-hackers
laser wrote:
> hi all,
> 
>  I read the code that it seems easy for the cursor in plpgsql to return 
> ROW_COUNT after
>  MOVE LAST etc. The SPI_processed variable already there, but didn't put 
> it into estate
>  structure, any reason for that?

[ Sorry for the delay.]

Would some tests how Oracle behaves in this case?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: TODO item: Have psql show current values for a sequence
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Patch to eliminate duplicate b64 code from pgcrypto