summaryrefslogtreecommitdiff
path: root/contrib/jsonb_plpython/sql/jsonb_plpython.sql
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2023-12-18 10:34:33 -0600
committerNathan Bossart <nathan@postgresql.org>2023-12-18 10:34:33 -0600
commit0d1adae6f739273046705acaf5314384e8a73a18 (patch)
tree41fd6fda8833012ed1822beb93237190d912cb8d /contrib/jsonb_plpython/sql/jsonb_plpython.sql
parent4908c5872059c409aa647bcde758dfeffe07996e (diff)
Micro-optimize datum_to_json_internal() some more.
Commit dc3f9bc549 mainly targeted the JSONTYPE_NUMERIC code path. This commit applies similar optimizations (e.g., removing unnecessary runtime calls to strlen() and palloc()) to nearby code. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/20231208203708.GA4126315%40nathanxps13
Diffstat (limited to 'contrib/jsonb_plpython/sql/jsonb_plpython.sql')
0 files changed, 0 insertions, 0 deletions