Gavin Henry <gavin.henry@gmail.com> writes:
> ERROR: function jsonb_build_object(text, jsonb) does not exist
Hm ... if the server knows jsonb but not jsonb_build_object(),
it must be 9.4.x, which is pretty old. 9.4.x will be EOL in
November, if memory serves. You should think about upgrading.
regards, tom lane