1
0
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:
Tom Lane
2003-04-29 03:21:30 +00:00
parent 6a17d226b5
commit 4a5f38c4e6
18 changed files with 379 additions and 316 deletions

View File

@@ -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

View File

@@ -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;