mirror of
https://github.com/postgres/postgres.git
synced 2025-11-22 12:22:45 +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:
@@ -235,11 +235,11 @@ caterr(char *s)
|
||||
strcat(errbuf, "to many errors");
|
||||
break;
|
||||
case L_ERROR_NOLIB:
|
||||
strcat(errbuf, "can't load library");
|
||||
strcat(errbuf, "cannot load library");
|
||||
strcat(errbuf, p);
|
||||
break;
|
||||
case L_ERROR_UNDEF:
|
||||
strcat(errbuf, "can't find symbol");
|
||||
strcat(errbuf, "cannot find symbol");
|
||||
strcat(errbuf, p);
|
||||
break;
|
||||
case L_ERROR_RLDBAD:
|
||||
|
||||
Reference in New Issue
Block a user