Improve some GUC description strings
authorAlvaro Herrera
Wed, 21 Sep 2022 10:29:38 +0000 (12:29 +0200)
committerAlvaro Herrera
Wed, 21 Sep 2022 10:29:38 +0000 (12:29 +0200)
It is not our usual style to use "we" in messages.  Also, remove some
noise words.  Backpatch to 15.

Noted by Kyotaro Horiguchi.

Discussion: https://postgr.es/m/20220914.111507.13049297635620898[email protected]

src/backend/utils/misc/guc.c

index 297e51e5ff70d8d8746972fca8ee0673ab9e0d47..be7bf9d218a576a44c5cff0558d2fbdc1a85c008 100644 (file)
@@ -2838,7 +2838,7 @@ static struct config_int ConfigureNamesInt[] =
    {
        {"wal_decode_buffer_size", PGC_POSTMASTER, WAL_RECOVERY,
            gettext_noop("Buffer size for reading ahead in the WAL during recovery."),
-           gettext_noop("This controls the maximum distance we can read ahead in the WAL to prefetch referenced data blocks."),
+           gettext_noop("Maximum distance to read ahead in the WAL to prefetch referenced data blocks."),
            GUC_UNIT_BYTE
        },
        &wal_decode_buffer_size,
@@ -3495,7 +3495,7 @@ static struct config_int ConfigureNamesInt[] =
    {
        {"tcp_keepalives_count", PGC_USERSET, CONN_AUTH_SETTINGS,
            gettext_noop("Maximum number of TCP keepalive retransmits."),
-           gettext_noop("This controls the number of consecutive keepalive retransmits that can be "
+           gettext_noop("Number of consecutive keepalive retransmits that can be "
                         "lost before a connection is considered dead. A value of 0 uses the "
                         "system default."),
        },