summaryrefslogtreecommitdiff
path: root/contrib/basic_archive/basic_archive.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-07-20 09:50:12 +0900
committerMichael Paquier <michael@paquier.xyz>2022-07-20 09:50:12 +0900
commit12c254c99f6c6f0bbfc7997ee10ea73fee30dea2 (patch)
tree8fef3ccd28d896897f1298c9cad604b580cd1035 /contrib/basic_archive/basic_archive.c
parentecc84b916f8f36924e2b3de358045edfc3205e5a (diff)
Tweak detail and hint messages to be consistent with project policy
Detail and hint messages should be full sentences and should end with a period, but some of the messages newly-introduced in v15 did not follow that. Author: Justin Pryzby Reviewed-by: Álvaro Herrera Discussion: https://postgr.es/m/20220719120948.GF12702@telsasoft.com Backpatch-through: 15
Diffstat (limited to 'contrib/basic_archive/basic_archive.c')
-rw-r--r--contrib/basic_archive/basic_archive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/basic_archive/basic_archive.c b/contrib/basic_archive/basic_archive.c
index bba767c8f36..776a386e352 100644
--- a/contrib/basic_archive/basic_archive.c
+++ b/contrib/basic_archive/basic_archive.c
@@ -111,7 +111,7 @@ check_archive_directory(char **newval, void **extra, GucSource source)
*/
if (strlen(*newval) + 64 + 2 >= MAXPGPATH)
{
- GUC_check_errdetail("archive directory too long");
+ GUC_check_errdetail("Archive directory too long.");
return false;
}
@@ -122,7 +122,7 @@ check_archive_directory(char **newval, void **extra, GucSource source)
*/
if (stat(*newval, &st) != 0 || !S_ISDIR(st.st_mode))
{
- GUC_check_errdetail("specified archive directory does not exist");
+ GUC_check_errdetail("Specified archive directory does not exist.");
return false;
}