相关疑难解决方法(0)

Substract 2 hstore,您可能需要添加显式类型转换

postgres的文档有hstore - hstore,它从左操作数中删除匹配的对.安装了postgres扩展.

当我尝试

select public.hstore('"x"=>"30", "y"=>"c"') - 
       public.hstore('"x"=>"30","y"=>"fred"')
Run Code Online (Sandbox Code Playgroud)

正在跟随错误

ERROR:  operator does not exist: public.hstore - public.hstore
LINE 3:  select public.hstore('"x"=>"30", "y"=>"c"') - public.hstore...
                                                     ^
HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.
Run Code Online (Sandbox Code Playgroud)

postgresql post postgresql-9.1 psql

0
推荐指数
1
解决办法
3115
查看次数

标签 统计

post ×1

postgresql ×1

postgresql-9.1 ×1

psql ×1