Re: [GENERAL] can't cast hstore to json

2014-03-13 Thread Joe Van Dyk
On Thu, Mar 13, 2014 at 12:15 PM, Joe Van Dyk wrote: > I've got a postgresql 9.3.2 server, compiled from scratch. Getting this > error: > > # select hstore('a', 'b')::json; > ERROR: cannot cast type hstore to json > LINE 1: select hstore('a', 'b')::json; >^ > # se

Re: [GENERAL] can't cast hstore to json

2014-03-13 Thread Tom Lane
Joe Van Dyk writes: > I've got a postgresql 9.3.2 server, compiled from scratch. Getting this > error: > # select hstore('a', 'b')::json; > ERROR: cannot cast type hstore to json Probably need to update the hstore extension to 1.2. regards, tom lane -- Sent via pgsql

[GENERAL] can't cast hstore to json

2014-03-13 Thread Joe Van Dyk
I've got a postgresql 9.3.2 server, compiled from scratch. Getting this error: # select hstore('a', 'b')::json; ERROR: cannot cast type hstore to json LINE 1: select hstore('a', 'b')::json; ^ # select array_to_json(array[hstore('a', 'b')]); array_to_json -