index ac662549e90979abad55160bded296e8e271cca4..19d19e5f396a8adb212c0ba23d4f43db539a1557 100644 (file)
@@ -672,7 +672,7 @@ transformTableLikeClause(CreateStmtContext *cxt, TableLikeClause *table_like_cla
if (cxt->isforeign)
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("LIKE is not supported for foreign tables")));
+ errmsg("LIKE is not supported for creating foreign tables")));
relation = relation_openrv(table_like_clause->relation, AccessShareLock);
index 1cfebed51ca081b3970fab977e79ba3455a52c42..20e3c321abd2cd8a81dc25dff59fabc57106523f 100644 (file)
@@ -174,7 +174,7 @@ InternalIpcMemoryCreate(IpcMemoryKey memKey, Size size)
"memory configuration.") : 0,
(errno == ENOMEM) ?
errhint("This error usually means that PostgreSQL's request for a shared "
- "memory segment exceeded your kernel's SHMALL parameter. You may need "
+ "memory segment exceeded your kernel's SHMALL parameter. You might need "
"to reconfigure the kernel with larger SHMALL.\n"
"The PostgreSQL documentation contains more information about shared "
"memory configuration.") : 0,
index 5ed422999c3e9a03a87567dbf5101144b7bbd0e1..19a1398d8ab78904feedca18045280b39d13d194 100644 (file)
/* Log it! */
ereport(LOG,
- (errmsg("registering background worker: %s",
+ (errmsg("registering background worker \"%s\"",
rw->rw_worker.bgw_name)));
slist_push_head(&BackgroundWorkerList, &rw->rw_lnode);
@@ -284,7 +284,7 @@ ForgetBackgroundWorker(slist_mutable_iter *cur)
slot->in_use = false;
ereport(LOG,
- (errmsg("unregistering background worker: %s",
+ (errmsg("unregistering background worker \"%s\"",
rw->rw_worker.bgw_name)));
slist_delete_current(cur);
@@ -368,7 +368,7 @@ RegisterBackgroundWorker(BackgroundWorker *worker)
if (!IsUnderPostmaster)
ereport(LOG,
- (errmsg("registering background worker: %s", worker->bgw_name)));
+ (errmsg("registering background worker \"%s\"", worker->bgw_name)));
if (!process_shared_preload_libraries_in_progress)
{
index 5a816a2d3a78e2f5332f75e92f32d2b3db5356f6..afdb53f9b553c0cb558ab3463e1eb82a14f04546 100644 (file)
@@ -5224,7 +5224,7 @@ BackgroundWorkerInitializeConnection(char *dbname, char *username)
/* it had better not gotten out of "init" mode yet */
if (!IsInitProcessingMode())
ereport(ERROR,
- (errmsg("invalid processing mode in bgworker")));
+ (errmsg("invalid processing mode in background worker")));
SetProcessingMode(NormalProcessing);
}
index 78a194539d150adc9a942400bd7a9167d81b25c7..2cbe83200f1fafd0c9239c4ecf29337301412e30 100644 (file)
@@ -1836,7 +1836,7 @@ populate_recordset_array_element_start(void *state, bool isnull)
_state->lex->token_type != JSON_TOKEN_OBJECT_START)
ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
- errmsg("must call populate_recordset on an array of objects")));
+ errmsg("must call json_populate_recordset on an array of objects")));
}
static void
index 2b753f81d76689c5cff045d70c5f7bac2a152208..047dfd126936976bb12a70e547748a1a2050f40a 100644 (file)
{
{"wal_receiver_timeout", PGC_SIGHUP, REPLICATION_STANDBY,
- gettext_noop("Sets the maximum wait time to receive data from master."),
+ gettext_noop("Sets the maximum wait time to receive data from the primary."),
NULL,
GUC_UNIT_MS
},