From 482e6936fa2063cd18824f15b3edd2b383cc0009 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 31 Jan 2007 21:03:37 +0000 Subject: Revert error message change for may/can/might --- needs discussion. --- doc/src/sgml/sources.sgml | 4 ++-- doc/src/sgml/typeconv.sgml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/sources.sgml b/doc/src/sgml/sources.sgml index e225deb138d..b8dcace3143 100644 --- a/doc/src/sgml/sources.sgml +++ b/doc/src/sgml/sources.sgml @@ -1,4 +1,4 @@ - + PostgreSQL Coding Conventions @@ -95,7 +95,7 @@ ereport(ERROR, func_signature_string(funcname, nargs, actual_arg_types)), errhint("Unable to choose a best candidate function. " - "You might need to add explicit typecasts."))); + "You may need to add explicit typecasts."))); This illustrates the use of format codes to embed run-time values into a message text. Also, an optional hint message is provided. diff --git a/doc/src/sgml/typeconv.sgml b/doc/src/sgml/typeconv.sgml index fe8163a74ea..3745b937f0c 100644 --- a/doc/src/sgml/typeconv.sgml +++ b/doc/src/sgml/typeconv.sgml @@ -1,4 +1,4 @@ - + Type Conversion @@ -447,7 +447,7 @@ try a similar case with ~, we get: SELECT ~ '20' AS "negation"; ERROR: operator is not unique: ~ "unknown" -HINT: Could not choose a best candidate operator. You might need to add explicit +HINT: Could not choose a best candidate operator. You may need to add explicit type casts. This happens because the system can't decide which of the several -- cgit v1.2.3