Re: proposal - new SPI cursor function - Mailing list pgsql-hackers

From Tom Lane
Subject Re: proposal - new SPI cursor function
Date
Msg-id 6897.1167865540@sss.pgh.pa.us
Whole thread Raw
In response to proposal - new SPI cursor function  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Responses Re: proposal - new SPI cursor function  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
List pgsql-hackers
"Pavel Stehule" <pavel.stehule@hotmail.com> writes:
> I need new function  
> SPI_cursor_fetch_with_direction(Portal portal, int direction, long count) 
> where is possible set direction of fetch statement.

Huh?  SPI_cursor_fetch already lets you specify forward or backward.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: proposal - new SPI cursor function
Next
From: "Jonah H. Harris"
Date:
Subject: Re: WITH support