"Postgres User" <[EMAIL PROTECTED]> writes: > So I added the following code:
> <before opening cursor> ref_entry = 'c_entry'; > <after looping thru cursor> MOVE Backward All In c_entry; You have to use EXECUTE for the latter. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend