diff options
author | Jeff Davis <jdavis@postgresql.org> | 2023-12-04 17:19:16 -0800 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2023-12-04 17:19:16 -0800 |
commit | a86c61c9eefaba7dcf375cd60c875c871ed60945 (patch) | |
tree | 54bd14ca13ca03336980c9bd5e6e34cf090d7c7a /contrib/postgres_fdw/postgres_fdw.c | |
parent | b14b1eb4da4c97afec24cf8956e842b98ebb2a51 (diff) | |
download | postgresql-a86c61c9eefaba7dcf375cd60c875c871ed60945.tar.gz postgresql-a86c61c9eefaba7dcf375cd60c875c871ed60945.zip |
Optimize SearchPathCache by saving the last entry.
Repeated lookups are common, so it's worth it to check the last entry
before doing another hash lookup.
Discussion: https://postgr.es/m/04c8592dbd694e4114a3ed87139a7a04e4363030.camel%40j-davis.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions