aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication/logical/decode.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2023-04-12 11:00:37 -0700
committerAndres Freund <andres@anarazel.de>2023-04-12 11:00:37 -0700
commit5ec69b71f17c353b27754deb8d94bb1f5cf7a029 (patch)
treefa74af2a263905f96b2666344dade411821f4b9a /src/backend/replication/logical/decode.c
parent9ce04b50e120275afbc03ca0b80839dde3da8308 (diff)
downloadpostgresql-5ec69b71f17c353b27754deb8d94bb1f5cf7a029.tar.gz
postgresql-5ec69b71f17c353b27754deb8d94bb1f5cf7a029.zip
Improve error messages introduced in be87200efd9 and 0fdab27ad68
Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Discussion: https://postgr.es/m/20230411.120301.93333867350615278.horikyota.ntt@gmail.com Discussion: https://postgr.es/m/20230412174244.6njadz4uoiez3l74@awork3.anarazel.de
Diffstat (limited to 'src/backend/replication/logical/decode.c')
-rw-r--r--src/backend/replication/logical/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/logical/decode.c b/src/backend/replication/logical/decode.c
index 5508cc21777..beef399b429 100644
--- a/src/backend/replication/logical/decode.c
+++ b/src/backend/replication/logical/decode.c
@@ -177,7 +177,7 @@ xlog_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
Assert(RecoveryInProgress());
ereport(ERROR,
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
- errmsg("logical decoding on a standby requires wal_level to be at least logical on the primary")));
+ errmsg("logical decoding on standby requires wal_level >= logical on the primary")));
}
break;
}