@@ -183,7 +183,7 @@ ReplicationSlotValidateName(const char *name, int elevel)
183183(errcode (ERRCODE_INVALID_NAME ),
184184errmsg ("replication slot name \"%s\" contains invalid character" ,
185185name ),
186- errhint ("Replication slot names may only contain letters, numbers and the underscore character." )));
186+ errhint ("Replication slot names may only contain letters, numbers, and the underscore character." )));
187187return false;
188188}
189189}
@@ -454,7 +454,7 @@ ReplicationSlotDropAcquired(void)
454454
455455ereport (fail_softly ?WARNING :ERROR ,
456456(errcode_for_file_access (),
457- errmsg ("could not rename \"%s\" to \"%s\": %m" ,
457+ errmsg ("could not renamefile \"%s\" to \"%s\": %m" ,
458458path ,tmppath )));
459459}
460460
@@ -1041,7 +1041,7 @@ SaveSlotToPath(ReplicationSlot *slot, const char *dir, int elevel)
10411041{
10421042ereport (elevel ,
10431043(errcode_for_file_access (),
1044- errmsg ("could not rename \"%s\" to \"%s\": %m" ,
1044+ errmsg ("could not renamefile \"%s\" to \"%s\": %m" ,
10451045tmppath ,path )));
10461046return ;
10471047}
@@ -1092,7 +1092,7 @@ RestoreSlotFromDisk(const char *name)
10921092if (unlink (path )< 0 && errno != ENOENT )
10931093ereport (PANIC ,
10941094(errcode_for_file_access (),
1095- errmsg ("could notunlink file \"%s\": %m" ,path )));
1095+ errmsg ("could notremove file \"%s\": %m" ,path )));
10961096
10971097sprintf (path ,"pg_replslot/%s/state" ,name );
10981098