postgresql – 无法识别的配置参数“custom_variable_classes”

我在系统更新后收到此消息:

unrecognized configuration parameter "custom_variable_classes" in file "/var/lib/pgsql/data/postgresql.conf" line 501

是否不再支持自定义变量类?

解决方法

从版本9.2开始,不再需要此声明:

http://www.postgresql.org/docs/current/interactive/release-9-2.html#AEN111020

只需删除或取消注释该行:

#custom_variable_classes = 'foo'             # list of custom variable class names
foo.bar=0

相关文章

项目需要,有个数据需要导入,拿到手一开始以为是mysql,结果...
本文小编为大家详细介绍“怎么查看PostgreSQL数据库中所有表...
错误现象问题原因这是在远程连接时pg_hba.conf文件没有配置正...
因本地资源有限,在公共测试环境搭建了PGsql环境,从数据库本...
wamp 环境 这个提示就是说你的版本低于10了。 先打印ph...
psycopg2.OperationalError: SSL SYSCALL error: EOF detect...