1
0
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:
Tom Lane
2003-07-22 19:00:12 +00:00
parent 277dbb0c34
commit b05d3ae1ed
21 changed files with 1254 additions and 815 deletions

View File

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