can confirm the patch's jsonb_object_field_numeric is faster than pg_catalog."numeric"(jsonb).
This function is not easy to find out... select jsonb_numeric(jsonb'{"a":11}'->'a'); --fail
select "numeric"('{"a":11}'::jsonb->'a'); --ok
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных