summaryrefslogtreecommitdiff
path: root/src/backend/replication/slot.c
diff options
context:
space:
mode:
authorPeter Eisentraut2014-11-12 01:00:58 +0000
committerPeter Eisentraut2014-11-12 01:02:30 +0000
commit8339f33d68e08d24eb316971a0ac73af162d52b3 (patch)
tree2b0b5855c3a00935c928f95522ed5b4155f067bc /src/backend/replication/slot.c
parentf1abd78be7c7dc6fce7edaf9262998f3ca3d14be (diff)
Message improvements
Diffstat (limited to 'src/backend/replication/slot.c')
-rw-r--r--src/backend/replication/slot.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c
index 2c3ea555d09..7817ad8659e 100644
--- a/src/backend/replication/slot.c
+++ b/src/backend/replication/slot.c
@@ -797,8 +797,7 @@ CheckPointReplicationSlots(void)
{
int i;
- ereport(DEBUG1,
- (errmsg("performing replication slot checkpoint")));
+ elog(DEBUG1, "performing replication slot checkpoint");
/*
* Prevent any slot from being created/dropped while we're active. As we
@@ -834,8 +833,7 @@ StartupReplicationSlots(void)
DIR *replication_dir;
struct dirent *replication_de;
- ereport(DEBUG1,
- (errmsg("starting up replication slots")));
+ elog(DEBUG1, "starting up replication slots");
/* restore all slots by iterating over all on-disk entries */
replication_dir = AllocateDir("pg_replslot");