mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
Apply more quoting to GUC names in messages
This is a continuation of 17974ec259
. More quotes are applied to
GUC names in error messages and hints, taking care of what seems to be
all the remaining holes currently in the tree for the GUCs.
Author: Peter Smith
Discussion: https://postgr.es/m/CAHut+Pv-kSN8SkxSdoHano_wPubqcg5789ejhCDZAcLFceBR-w@mail.gmail.com
This commit is contained in:
@ -2356,7 +2356,7 @@ struct config_int ConfigureNamesInt[] =
|
||||
{
|
||||
{"commit_timestamp_buffers", PGC_POSTMASTER, RESOURCES_MEM,
|
||||
gettext_noop("Sets the size of the dedicated buffer pool used for the commit timestamp cache."),
|
||||
gettext_noop("Specify 0 to have this value determined as a fraction of shared_buffers."),
|
||||
gettext_noop("Specify 0 to have this value determined as a fraction of \"shared_buffers\"."),
|
||||
GUC_UNIT_BLOCKS
|
||||
},
|
||||
&commit_timestamp_buffers,
|
||||
@ -2411,7 +2411,7 @@ struct config_int ConfigureNamesInt[] =
|
||||
{
|
||||
{"subtransaction_buffers", PGC_POSTMASTER, RESOURCES_MEM,
|
||||
gettext_noop("Sets the size of the dedicated buffer pool used for the subtransaction cache."),
|
||||
gettext_noop("Specify 0 to have this value determined as a fraction of shared_buffers."),
|
||||
gettext_noop("Specify 0 to have this value determined as a fraction of \"shared_buffers\"."),
|
||||
GUC_UNIT_BLOCKS
|
||||
},
|
||||
&subtransaction_buffers,
|
||||
@ -2422,7 +2422,7 @@ struct config_int ConfigureNamesInt[] =
|
||||
{
|
||||
{"transaction_buffers", PGC_POSTMASTER, RESOURCES_MEM,
|
||||
gettext_noop("Sets the size of the dedicated buffer pool used for the transaction status cache."),
|
||||
gettext_noop("Specify 0 to have this value determined as a fraction of shared_buffers."),
|
||||
gettext_noop("Specify 0 to have this value determined as a fraction of \"shared_buffers\"."),
|
||||
GUC_UNIT_BLOCKS
|
||||
},
|
||||
&transaction_buffers,
|
||||
@ -2942,7 +2942,7 @@ struct config_int ConfigureNamesInt[] =
|
||||
{
|
||||
{"wal_buffers", PGC_POSTMASTER, WAL_SETTINGS,
|
||||
gettext_noop("Sets the number of disk-page buffers in shared memory for WAL."),
|
||||
gettext_noop("Specify -1 to have this value determined as a fraction of shared_buffers."),
|
||||
gettext_noop("Specify -1 to have this value determined as a fraction of \"shared_buffers\"."),
|
||||
GUC_UNIT_XBLOCKS
|
||||
},
|
||||
&XLOGbuffers,
|
||||
@ -3068,7 +3068,7 @@ struct config_int ConfigureNamesInt[] =
|
||||
{"log_min_duration_sample", PGC_SUSET, LOGGING_WHEN,
|
||||
gettext_noop("Sets the minimum execution time above which "
|
||||
"a sample of statements will be logged."
|
||||
" Sampling is determined by log_statement_sample_rate."),
|
||||
" Sampling is determined by \"log_statement_sample_rate\"."),
|
||||
gettext_noop("Zero logs a sample of all queries. -1 turns this feature off."),
|
||||
GUC_UNIT_MS
|
||||
},
|
||||
|
Reference in New Issue
Block a user