PostgreSQL返回无法识别的配置错误

时间:2019-06-18 07:44:11

标签: sql postgresql

我不确定为什么PostgreSQL对于我的脚本之一返回低于错误的值,而对于第二个脚本却不返回:

  

错误:无法识别的配置参数“ context_info” SQL状态:   42704

工作脚本中唯一的区别是,我从 IN 函数中删除了一个元素。

工作

select distinct(t2.graph_id) from quad_text_no_ga t2 where t2.subject = t2.graph_id and t2.
subject_type in ('http://www.example.com/application/schema.owl#industry','
http://www.example.com/application/products/products-schema.owl#xraypanelsize','
http://www.example.com/application/schema.owl#countryregion','
http://www.example.com/application/schema.owl#productgroup','
http://www.example.com/application/schema.owl#report','
http://www.example.com/application/schema.owl#salesdocumentstatus','
http://www.example.com/application/schema.owl#erppriceitemwhitelist',
'http://www.example.com/application/schema.owl#approvalrule',
'http://www.example.com/application/schema.owl#triggeraction',
'http://www.example.com/application/schema.owl#productmrptype',
'http://www.example.com/application/products/products-schema.owl#processingtype',
'http://www.example.com/application/schema.owl#productmaterialgroup',
'http://www.example.com/application/products/products-schema.owl#digitaldetectorresolution')

不工作

select distinct(t2.graph_id) from quad_text_no_ga t2 where t2.subject = t2.graph_id and t2.
subject_type in ('http://www.example.com/application/schema.owl#industry','
http://www.example.com/application/products/products-schema.owl#xraypanelsize','
http://www.example.com/application/schema.owl#countryregion','
http://www.example.com/application/schema.owl#productgroup','
http://www.example.com/application/schema.owl#report','
http://www.example.com/application/schema.owl#salesdocumentstatus','
http://www.example.com/application/schema.owl#erppriceitemwhitelist',
'http://www.example.com/application/schema.owl#approvalrule',
'http://www.example.com/application/schema.owl#triggeraction',
'http://www.example.com/application/schema.owl#productmrptype',
'http://www.example.com/application/products/products-schema.owl#processingtype',
'http://www.example.com/application/schema.owl#productmaterialgroup',
'http://www.example.com/application/products/products-schema.owl#digitaldetectorresolution',
'http://www.example.com/application/products/products-schema.owl#xraypanel')

不工作的解释

enter image description here

0 个答案:

没有答案