diff --git a/src/backend/replication/logical/message.c b/src/backend/replication/logical/message.c index dac27cb6a3e..807af67f333 100644 --- a/src/backend/replication/logical/message.c +++ b/src/backend/replication/logical/message.c @@ -147,7 +147,7 @@ wallog_file(char const* path, uint64_t limit) { ereport(LOG, (errcode_for_file_access(), - errmsg("could not create file \"%s\": %m", path))); + errmsg("could not open file \"%s\": %m", path))); } else {