From 693aad413b16aac85fb9a4e792d84cd87778aa9e Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 24 Aug 2003 21:02:43 +0000 Subject: Change warnings for non-existing or pre-existing cursors to errors. --- doc/src/sgml/ref/close.sgml | 6 +++--- doc/src/sgml/ref/declare.sgml | 7 +++---- doc/src/sgml/ref/fetch.sgml | 4 ++-- 3 files changed, 8 insertions(+), 9 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/close.sgml b/doc/src/sgml/ref/close.sgml index c86e945a3dc..63b2f15d16c 100644 --- a/doc/src/sgml/ref/close.sgml +++ b/doc/src/sgml/ref/close.sgml @@ -1,5 +1,5 @@ @@ -70,10 +70,10 @@ CLOSE cursor - WARNING: PerformPortalClose: portal "cursor" not found + ERROR: cursor "cursor" does not exist - This warning is given if cursor is not declared or has already been closed. diff --git a/doc/src/sgml/ref/declare.sgml b/doc/src/sgml/ref/declare.sgml index 0aaf0dde43d..14ce71f4a66 100644 --- a/doc/src/sgml/ref/declare.sgml +++ b/doc/src/sgml/ref/declare.sgml @@ -1,5 +1,5 @@ @@ -202,11 +202,10 @@ DECLARE cursorname [ BINARY ] [ INS - WARNING: Closing pre-existing portal "cursorname" + ERROR: cursor "cursorname" already exists - This message is reported if a cursor with the same name already - exists. The previous definition is discarded. + This error occurs if a cursor with the same name already exists. diff --git a/doc/src/sgml/ref/fetch.sgml b/doc/src/sgml/ref/fetch.sgml index 305e5fc02cc..05960eb2e0f 100644 --- a/doc/src/sgml/ref/fetch.sgml +++ b/doc/src/sgml/ref/fetch.sgml @@ -1,5 +1,5 @@ @@ -281,7 +281,7 @@ where direction can be empty or one - WARNING: PerformPortalFetch: portal "cursor" not found + ERROR: cursor "cursor" does not exist There is no cursor with the specified name. -- cgit v1.2.3