Don't end error messages with a period.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 16 Jan 2015 14:30:43 +0000 (16:30 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 16 Jan 2015 14:30:43 +0000 (16:30 +0200)
src/bin/pg_rewind/filemap.c
src/bin/pg_rewind/pg_rewind.c

index 5324f27a427fb9f84223633e76526ccaeb59aef4..10f2499963b41a01c23b4790fb57a3e9a4618e61 100644 (file)
@@ -117,7 +117,7 @@ process_remote_file(const char *path, file_type_t type, size_t newsize,
                        if (exists && !S_ISDIR(statbuf.st_mode))
                        {
                                /* it's a directory in target, but not in source. Strange.. */
-                               pg_fatal("\"%s\" is not a directory.\n", localpath);
+                               pg_fatal("\"%s\" is not a directory\n", localpath);
                        }
 
                        if (!exists)
@@ -137,7 +137,7 @@ process_remote_file(const char *path, file_type_t type, size_t newsize,
                                )
                        {
                                /* it's a symbolic link in target, but not in source. Strange.. */
-                               pg_fatal("\"%s\" is not a symbolic link.\n", localpath);
+                               pg_fatal("\"%s\" is not a symbolic link\n", localpath);
                        }
 
                        if (!exists)
@@ -149,7 +149,7 @@ process_remote_file(const char *path, file_type_t type, size_t newsize,
 
                case FILE_TYPE_REGULAR:
                        if (exists && !S_ISREG(statbuf.st_mode))
-                               pg_fatal("\"%s\" is not a regular file.\n", localpath);
+                               pg_fatal("\"%s\" is not a regular file\n", localpath);
 
                        if (!exists || !isRelDataFile(path))
                        {
index 350747e849c12d128895b4e0ef4dcc81d0351c49..ba8eab3234473b1c0748134c7867b07567057ac6 100644 (file)
@@ -196,7 +196,7 @@ main(int argc, char **argv)
         * to do.
         */
        if (ControlFile_target.checkPointCopy.ThisTimeLineID == ControlFile_source.checkPointCopy.ThisTimeLineID)
-               pg_fatal("source and target cluster are on the same timeline.\n");
+               pg_fatal("source and target cluster are on the same timeline\n");
 
        findCommonAncestorTimeline(&divergerec, &lastcommontli);
        printf("The servers diverged at WAL position %X/%X on timeline %u.\n",