mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Improve error messages introduced in be87200efd
and 0fdab27ad6
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
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user