On Tue, May 23, 2017 at 8:08 AM, Neha Khatri <nehakhatri5@gmail.com> wrote: > The Logical Decoding example in the documentation says: > > "Before you can use logical decoding, you must set wal_level to logical > and max_replication_slots to at least 1." > > 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.
There is no wal_level higher than logical, so the current sense looks perfectly fine to me.
If there is no wal_level higher than logical, should the following error message indicate to set it >= logical.
select * from pg_create_logical_replication_slot('regression_slot','test_decoding');