pgsql: Transform proconfig for faster execution.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Transform proconfig for faster execution.
Date: 2023-08-10 20:18:13
Message-ID: E1qUC6m-001QHV-UU@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.camel@j-davis.com
Reviewed-by: Nathan Bossart

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5765cfe18c595b5d8a7df3a62d253f60a00718ce

Modified Files
--------------
src/backend/utils/fmgr/fmgr.c | 29 +++++++++++++++++++---------
src/backend/utils/misc/guc.c | 45 ++++++++++++++++++++++++++++++++++++-------
src/include/utils/guc.h | 2 ++
3 files changed, 60 insertions(+), 16 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-08-11 11:49:03 pgsql: Fix code indentation violations introduced by recent commit
Previous Message Jeff Davis 2023-08-10 17:44:29 pgsql: Remove test from commit fa2e874946.