mirror of
https://github.com/postgres/postgres.git
synced 2025-12-12 02:37:31 +03:00
Error message editing in backend/libpq, backend/postmaster, backend/tcop.
Along the way, fix some logic problems in pgstat_initstats, notably the bogus assumption that malloc returns zeroed memory.
This commit is contained in:
@@ -689,8 +689,8 @@ FETCH 1 FROM foo24;
|
||||
(1 row)
|
||||
|
||||
FETCH BACKWARD 1 FROM foo24; -- should fail
|
||||
ERROR: Cursor can only scan forward
|
||||
Declare it with SCROLL option to enable backward scan
|
||||
ERROR: cursor can only scan forward
|
||||
HINT: Declare it with SCROLL option to enable backward scan.
|
||||
END;
|
||||
--
|
||||
-- Cursors outside transaction blocks
|
||||
|
||||
Reference in New Issue
Block a user