}
/*
- * Reads a stopword file. Each word is run through 'wordop'
+ * Reads a stop-word file. Each word is run through 'wordop'
* function, if given. wordop may either modify the input in-place,
* or palloc a new version.
*/
if ((hin = AllocateFile(filename, "r")) == NULL)
ereport(ERROR,
(errcode(ERRCODE_CONFIG_FILE_ERROR),
- errmsg("could not open stopword file \"%s\": %m",
+ errmsg("could not open stop-word file \"%s\": %m",
filename)));
while ((line = t_readline(hin)) != NULL)
if (list_length(state.polstr) == 0)
{
ereport(NOTICE,
- (errmsg("tsearch query doesn't contain lexeme(s): \"%s\"",
+ (errmsg("text-search query doesn't contain lexemes: \"%s\"",
state.buffer)));
query = (TSQuery) palloc(HDRSIZETQ);
SET_VARSIZE(query, HDRSIZETQ);
if (result != V_UNKNOWN)
{
ereport(NOTICE,
- (errmsg("query contains only stopword(s) or doesn't contain lexeme(s), ignored")));
+ (errmsg("text-search query contains only stop words or doesn't contain lexemes, ignored")));
*len = 0;
return NULL;
}
if (config_attr_num == SPI_ERROR_NOATTRIBUTE)
ereport(ERROR,
(errcode(ERRCODE_UNDEFINED_COLUMN),
- errmsg("config column \"%s\" does not exist",
+ errmsg("configuration column \"%s\" does not exist",
trigger->tgargs[1])));
if (SPI_gettypeid(rel->rd_att, config_attr_num) != REGCONFIGOID)
ereport(ERROR,
if (isnull)
ereport(ERROR,
(errcode(ERRCODE_NULL_VALUE_NOT_ALLOWED),
- errmsg("config column \"%s\" must not be NULL",
+ errmsg("configuration column \"%s\" must not be null",
trigger->tgargs[1])));
cfgId = DatumGetObjectId(datum);
}
{"session_replication_role", PGC_SUSET, CLIENT_CONN_STATEMENT,
gettext_noop("Sets the sessions behavior for triggers and rewrite rules."),
gettext_noop("Each session can be either"
- " \"origin\", \"replica\" or \"local\".")
+ " \"origin\", \"replica\", or \"local\".")
},
&session_replication_role_string,
"origin", assign_session_replication_role, NULL
(errmsg("could not open file \"%s\": %s", fileName,
(err == ERROR_SHARING_VIOLATION)?_("sharing violation"):_("lock violation")),
errdetail("Continuing to retry for 30 seconds."),
- errhint("You may have antivirus, backup or similar software interfering with the database.")));
+ errhint("You may have antivirus, backup, or similar software interfering with the database system.")));
#endif
if (loops < 300)