The following bug has been logged on the website:
Bug reference: 15940
Logged by: Jaroslav Sivy
Email address: yarexeray(at)gmail(dot)com
PostgreSQL version: 11.2
Operating system: freebsd
Description:
Following query works fine in previous freebsd versions
SELECT
id_item
FROM json_populate_recordset(null::record, '[{"id_item":776}]')
AS
(
id_item int
);