mirror of
https://github.com/postgres/postgres.git
synced 2025-12-12 02:37:31 +03:00
Code review for holdable-cursors patch. Fix error recovery, memory
context sloppiness, some other things. Includes Neil's mopup patch of 22-Apr.
This commit is contained in:
@@ -675,7 +675,7 @@ CLOSE foo9;
|
||||
CLOSE foo10;
|
||||
CLOSE foo11;
|
||||
CLOSE foo12;
|
||||
-- is there a reason why we don't close the rest of the open cursors?
|
||||
-- leave some cursors open, to test that auto-close works.
|
||||
END;
|
||||
--
|
||||
-- NO SCROLL disallows backward fetching
|
||||
|
||||
@@ -166,7 +166,7 @@ CLOSE foo11;
|
||||
|
||||
CLOSE foo12;
|
||||
|
||||
-- is there a reason why we don't close the rest of the open cursors?
|
||||
-- leave some cursors open, to test that auto-close works.
|
||||
|
||||
END;
|
||||
|
||||
@@ -217,4 +217,4 @@ DECLARE foo26 CURSOR WITH HOLD FOR SELECT * FROM tenk1;
|
||||
ROLLBACK;
|
||||
|
||||
-- should fail
|
||||
FETCH FROM foo26;
|
||||
FETCH FROM foo26;
|
||||
|
||||
Reference in New Issue
Block a user