diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-07-16 16:55:24 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-07-16 16:55:24 +0000 |
commit | 6563e9e2e8b15350e4cb99b86f2f7dec54722155 (patch) | |
tree | 312342db5f13289768a09d3dca49fc1bf9c2b0da /src/backend/commands/dbcommands.c | |
parent | 895a4bccb6663ad04b02905fcbf128e64d30abd9 (diff) | |
download | postgresql-6563e9e2e8b15350e4cb99b86f2f7dec54722155.tar.gz postgresql-6563e9e2e8b15350e4cb99b86f2f7dec54722155.zip |
Add a "provariadic" column to pg_proc to eliminate the remarkably expensive
need to deconstruct proargmodes for each pg_proc entry inspected by
FuncnameGetCandidates(). Fixes function lookup performance regression
caused by yesterday's variadic-functions patch.
In passing, make pg_proc.probin be NULL, rather than a dummy value '-',
in cases where it is not actually used for the particular type of function.
This should buy back some of the space cost of the extra column.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions