diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2025-04-17 12:56:40 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2025-04-17 12:56:40 -0400 |
commit | 0400ae4a68831250347407463453447daa9548df (patch) | |
tree | 9712433d9dc60b1e10226a75aa65a86328eea9dc /src/backend/executor/nodeModifyTable.c | |
parent | 0313c5dc627a1407344617fa8dd84ce1374ec915 (diff) | |
download | postgresql-0400ae4a68831250347407463453447daa9548df.tar.gz postgresql-0400ae4a68831250347407463453447daa9548df.zip |
Cache typlens of a SQL function's input arguments.
This gets rid of repetitive get_typlen calls in postquel_sub_params,
which show up as costing a few percent of the runtime in simple test
cases (more with more parameters).
In combination with the preceding patches, this gets us most of the
way back down to the amount of per-call overhead that functions.c
had before commit 0dca5d68d. There are some more things that could
be done, but this seems like an okay place to stop for v18.
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions