postgresql - 无法识别的配置参数 "custom_variable_classes"

标签 postgresql

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

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

关于postgresql - 无法识别的配置参数 "custom_variable_classes",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18144309/

相关文章:

mysql - 将 MySQL CREATE TABLE 语法转换为 Postgresql

postgresql - pg_restore 在没有数据库时询问数据库密码

python - 在 postgres 脚本中使用变量

postgresql - 使用 Hasura 在 postgresql 中搜索 jsonb 字段

sql - 进行内部连接时,索引顺序很慢

objective-c - iPhone 应用程序中的数据库连接

postgresql - Typhon IDE 上的 TZQuery 只返回 6 个字段,而它应该返回 8 个字段

postgresql - 如何从 Ansible 获取 postgresql_query 结果

sql - 如何在 PostgreSQL 查询中对不同的元组进行排序

python - Flask-Migrate 在表修改时挂起