该参数只能在postgresql.conf文件或服务器命令行中设置。 引用文档: https://www.postgresql.org/docs/16/runtime-config-logging.html