They were all missing punctuation, one was missing initial capital.
Per our message style guidelines.
No back, to avoid breaking existing translations.
if (*newval % SLRU_BANK_SIZE == 0)
return true;
- GUC_check_errdetail("\"%s\" must be a multiple of %d", name,
+ GUC_check_errdetail("\"%s\" must be a multiple of %d.", name,
SLRU_BANK_SIZE);
return false;
}
if (tm2timestamp(tm, fsec, &tz, ×tamp) != 0)
{
- GUC_check_errdetail("timestamp out of range: \"%s\"", str);
+ GUC_check_errdetail("Timestamp out of range: \"%s\".", str);
return false;
}
}
return true;
/* Value does not fall within any allowable range */
- GUC_check_errdetail("\"vacuum_buffer_usage_limit\" must be 0 or between %d kB and %d kB",
+ GUC_check_errdetail("\"%s\" must be 0 or between %d kB and %d kB.",
+ "vacuum_buffer_usage_limit",
MIN_BAS_VAC_RING_SIZE_KB, MAX_BAS_VAC_RING_SIZE_KB);
return false;
if (!slot)
{
- GUC_check_errdetail("replication slot \"%s\" does not exist",
+ GUC_check_errdetail("Replication slot \"%s\" does not exist.",
name);
ok = false;
break;
if (!SlotIsPhysical(slot))
{
- GUC_check_errdetail("\"%s\" is not a physical replication slot",
+ GUC_check_errdetail("\"%s\" is not a physical replication slot.",
name);
ok = false;
break;
if (syncrep_parse_error_msg)
GUC_check_errdetail("%s", syncrep_parse_error_msg);
else
- GUC_check_errdetail("\"synchronous_standby_names\" parser failed");
+ GUC_check_errdetail("\"%s\" parser failed.",
+ "synchronous_standby_names");
return false;
}
if (!SplitGUCList(rawstring, ',', &elemlist))
{
- GUC_check_errdetail("Invalid list syntax in parameter \"%s\"",
+ GUC_check_errdetail("Invalid list syntax in parameter \"%s\".",
"debug_io_direct");
pfree(rawstring);
list_free(elemlist);
flags |= IO_DIRECT_WAL_INIT;
else
{
- GUC_check_errdetail("Invalid option \"%s\"", item);
+ GUC_check_errdetail("Invalid option \"%s\".", item);
result = false;
break;
}
#if XLOG_BLCKSZ < PG_IO_ALIGN_SIZE
if (result && (flags & (IO_DIRECT_WAL | IO_DIRECT_WAL_INIT)))
{
- GUC_check_errdetail("\"%s\" is not supported for WAL because %s is too small",
+ GUC_check_errdetail("\"%s\" is not supported for WAL because %s is too small.",
"debug_io_direct", "XLOG_BLCKSZ");
result = false;
}
#if BLCKSZ < PG_IO_ALIGN_SIZE
if (result && (flags & IO_DIRECT_DATA))
{
- GUC_check_errdetail("\"%s\" is not supported for WAL because %s is too small",
+ GUC_check_errdetail("\"%s\" is not supported for WAL because %s is too small.",
"debug_io_direct", "BLCKSZ");
result = false;
}
", \n\t");
if (validlen != newvallen)
{
- GUC_check_errdetail("Invalid character");
+ GUC_check_errdetail("Invalid character.");
return false;
}