Cannot set wal_level = logical on PostgreSQL 10

Build link:

Hello there,

I’m testing against PostgreSQL 10 on Bionic, and I’d like to run ALTER SYSTEM SET wal_level = 'logical'; to use logical replication on the server. The command runs fine, but when restarting the server (this setting requires a restart of Postgres), it hangs for a long time and never restarts.


Thank you!