title: function json_object_agg(text, bigint) does not exist postgres 9.2.4
body: <p>Below Query are running in the local server postgress 9.6.6 but in the server postgres 9.2.4 ,below query is not working </p>
  
  <pre><code>select case_type,
  (obj-&gt;&gt; 'S')::int AS single,
  (obj-&gt;&gt; 'D')::int AS division,
  (obj-&gt;&gt; 'F')::int AS full
  FROM (SELECT case_type, json_object_agg(bench,disposals) AS obj
        FROM jws_ctype
        GROUP BY case_type
       )X
  </code></pre>
  
  <p>Error Below </p>
  
  <pre class="lang-none prettyprint-override"><code>ERROR:  function json_object_agg(text, bigint) does not exist
  LINE 5: FROM (SELECT case_type, json_object_agg(bench,disposals) AS ...
                                  ^
  HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
  
  ********** Error **********
  
  ERROR: function json_object_agg(text, bigint) does not exist
  SQL state: 42883
  Hint: No function matches the given name and argument types. You might need to add explicit type casts.
  Character: 133
  </code></pre>