postgres 的文档有 hstore - hstore 从左操作数中删除匹配对。安装了 postgres 扩展。
当我尝试
select public.hstore('"x"=>"30", "y"=>"c"') -
public.hstore('"x"=>"30","y"=>"fred"')
以下错误
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.