wal_level :
pg10版本中,待选的值为minimal、replica、logical。
minimal --不能通过基础备份和wal日志恢复数据库。
replica = 9.6版本以前的archive和hot_standby --该级别支持wal归档和复制。
logical --在replica级别的基础上添加了支持逻辑解码所需的信息
wal_level sets the permissions for streaming replication, finds the configuration file postgresql.conf, and my path is /var/lib/pgsql/10/data
Modify wal_level = logical
Restart the database
systemctl restart postgresql-10