Re: SPI bug. - Mailing list pgsql-hackers

From Neil Conway
Subject Re: SPI bug.
Date
Msg-id 42747071.2060303@samurai.com
Whole thread Raw
In response to SPI bug.  (Tzahi Fadida <tzahi_ml@myrealbox.com>)
Responses Re: SPI bug.
List pgsql-hackers
Tzahi Fadida wrote:
> I think the solution can be either changing the FETCH_ALL to
> INT_MAX or changing the interface parameter count and subsequent usages
> to long.

I think changing SPI_cursor_fetch() and SPI_cursor_move() to take a 
"long" for the "count" parameter is the right fix for HEAD. It would 
probably not be wise to backport, though, as it is probably not worth 
breaking ABI compatibility for SPI during a stable release series.

-Neil


pgsql-hackers by date:

Previous
From: Robert Treat
Date:
Subject: Re: [pgsql-advocacy] Increased company involvement
Next
From: "Sander Steffann"
Date:
Subject: Re: Feature freeze date for 8.1