Search Postgresql Archives

json query problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



trying to select a row of json type returning the entire json record

table users  id, jsondata
jsondata has {"username":"jdoe", ....}

select json_to_row from users where jsondata->"username" = "jdoe";
   fails on operator -> unknown

using debian testing with postgresql backport ppa
psql:  9.3.2   server 9.2.6

do I need a higher server version ? is there a 9.3 server available for debian ?



--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux