Documentation for postgres has hstore - hstore which delete matching pairs from left operand. Installed postgres extensions.
When I try
select public.hstore('"x"=>"30", "y"=>"c"') -
public.hstore('"x"=>"30","y"=>"fred"')
is error-ing with following
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.
'x=>30, y=>"c"'::hstore - 'x=>30, y=>"fred"'::hstore- Roman Pekar