Hi,
I ran this test.
DROP TABLE IF EXISTS long_json_as_text;
CREATE TABLE long_json_as_text AS
with long as (
select repeat(description, 11)
from pg_description
)
select (select json_agg(row_to_json(long))::text as t from long) from
generate_series(1, 100);
VACUUM FREEZE long_json_as_text;
select 1 from long_json_as_text where t::json is null;
head:
Time: 161,741ms
v5:
Time: 270,298 ms
ubuntu 64 bits
gcc 9.4.0
Am I missing something?
regards,
Ranier Vilela