Transform proconfig for faster execution.
authorJeff Davis <[email protected]>
Thu, 10 Aug 2023 19:43:53 +0000 (12:43 -0700)
committerJeff Davis <[email protected]>
Thu, 10 Aug 2023 19:43:53 +0000 (12:43 -0700)
commit5765cfe18c595b5d8a7df3a62d253f60a00718ce
tree10c9845c3c3b5ba873800a008b574f091d65dc98
parentbee263b0878cacec5e3d888ab666000edc3219de
Transform proconfig for faster execution.

Store function config settings in lists to avoid the need to parse and
allocate for each function execution.

Speedup is modest but significant. Additionally, this change also
seems cleaner and supports some other performance improvements under
discussion.

Discussion: https://postgr.es/m/04c8592dbd694e4114a3ed87139a7a04e4363030[email protected]
Reviewed-by: Nathan Bossart
src/backend/utils/fmgr/fmgr.c
src/backend/utils/misc/guc.c
src/include/utils/guc.h