Another small guc.c fix

Started by Daniel Westermann (DWE)almost 5 years ago2 messages
#1Daniel Westermann (DWE)
daniel.westermann@dbi-services.com
1 attachment(s)

Hi,

all "short_desc" end with a dot, except these:

- Prefetch referenced blocks during recovery
- Prefetch blocks that have full page images in the WAL

Attached patch adds a dot to these as well.

Regards
Daniel

Attachments:

guc.c.add-dots.patchtext/x-patch; name=guc.c.add-dots.patchDownload
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index 46f1d6406f..6b126740df 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -1298,7 +1298,7 @@ static struct config_bool ConfigureNamesBool[] =
 	},
 	{
 		{"recovery_prefetch", PGC_SIGHUP, WAL_SETTINGS,
-			gettext_noop("Prefetch referenced blocks during recovery"),
+			gettext_noop("Prefetch referenced blocks during recovery."),
 			gettext_noop("Read ahead of the current replay position to find uncached blocks.")
 		},
 		&recovery_prefetch,
@@ -1307,7 +1307,7 @@ static struct config_bool ConfigureNamesBool[] =
 	},
 	{
 		{"recovery_prefetch_fpw", PGC_SIGHUP, WAL_SETTINGS,
-			gettext_noop("Prefetch blocks that have full page images in the WAL"),
+			gettext_noop("Prefetch blocks that have full page images in the WAL."),
 			gettext_noop("On some systems, there is no benefit to prefetching pages that will be "
 						 "entirely overwritten, but if the logical page size of the filesystem is "
 						 "larger than PostgreSQL's, this can be beneficial.  This option has no "
#2Thomas Munro
thomas.munro@gmail.com
In reply to: Daniel Westermann (DWE) (#1)
Re: Another small guc.c fix

On Fri, Apr 9, 2021 at 11:53 PM Daniel Westermann (DWE)
<daniel.westermann@dbi-services.com> wrote:

all "short_desc" end with a dot, except these:

- Prefetch referenced blocks during recovery
- Prefetch blocks that have full page images in the WAL

Pushed, thanks.