mirror of
https://github.com/postgres/postgres.git
synced 2025-12-02 23:42:46 +03:00
Wording cleanup for error messages. Also change can't -> cannot.
Standard English uses "may", "can", and "might" in different ways:
may - permission, "You may borrow my rake."
can - ability, "I can lift that log."
might - possibility, "It might rain today."
Unfortunately, in conversational English, their use is often mixed, as
in, "You may use this variable to do X", when in fact, "can" is a better
choice. Similarly, "It may crash" is better stated, "It might crash".
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Copyright (c) 2002-2007, PostgreSQL Global Development Group
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/fmgr/funcapi.c,v 1.32 2007/01/05 22:19:43 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/fmgr/funcapi.c,v 1.33 2007/02/01 19:10:28 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -99,7 +99,7 @@ init_MultiFuncCall(PG_FUNCTION_ARGS)
|
||||
else
|
||||
{
|
||||
/* second and subsequent calls */
|
||||
elog(ERROR, "init_MultiFuncCall may not be called more than once");
|
||||
elog(ERROR, "init_MultiFuncCall cannot be called more than once");
|
||||
|
||||
/* never reached, but keep compiler happy */
|
||||
retval = NULL;
|
||||
|
||||
Reference in New Issue
Block a user