As per my understabding, current postgres server supports only three values for wal_level i.e. 'minimal' , 'replica' or 'logical'. But following error message brought to notice that there are various code spots that try to look for wal_level >= WAL_LEVEL_LOGICAL:
But above error message is not exactly consistent with this documentation. Would it make sense to keep the error message and the documentation consistent like the attached.