-6ren">
gpt4 book ai didi

sql - pg_bulkload 错误 : "FATAL: unrecognized configuration parameter "wal_level""

转载 作者:行者123 更新时间:2023-11-29 12:34:20 29 4
gpt4 key购买 nike

我正在尝试给 pg_bulkload 一个机会。

当我尝试使用它提供的 postgresql 可执行文件时,出现以下错误:

/usr/local/src/pg_bulkload-3.0.1/bin> ./postgresql start -D /pg_data
server starting
/usr/local/src/pg_bulkload-3.0.1/bin>
FATAL: unrecognized configuration parameter "wal_level"

当有人使用 9.0 版本的 psql 在 Postgres 8.4 实例上运行脚本时,Google 发现了这个错误的精确匹配。我看不出这与我的案例有什么关系——我有两个版本的 Postgres,但我确定我指向的是正确的目录……欢迎提出任何想法。

最佳答案

据我从文档中得知,PostgreSQL 9.x 支持名为“wal_level”的配置参数,但 8.4 版不支持。我的 9.0.something 服务器的 postgresql.conf 文件有那个参数;我的 8.4 服务器没有。

您的错误消息表明您正在运行 8.4 版,但它正在读取 9.x 服务器的配置文件。检查您的 postgresql.conf 和安装过程。我认为 pg_bulkload 可能以您没有预料到的方式“帮助”了您。

关于sql - pg_bulkload 错误 : "FATAL: unrecognized configuration parameter "wal_level"",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5915887/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com