"Pavel Stehule" <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match