Re: Any reason not to return row_count in cursor of plpgsql? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Any reason not to return row_count in cursor of plpgsql?
Date
Msg-id 200812152342.mBFNgtM27630@momjian.us
Whole thread Raw
In response to Any reason not to return row_count in cursor of plpgsql?  (laser <laserlist@pgsqldb.com>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: TODO item: Have psql show current values for a sequence
Next
From: Bruce Momjian
Date:
Subject: Re: Patch to eliminate duplicate b64 code from pgcrypto