From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Transform proconfig for faster execution.
Date: Thu, 10 Aug 2023 20:18:13 +0000
Message-ID: <E1qUC6m-001QHV-UU@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Transform proconfig for faster execution.
In-Reply-To: <E1qUC6m-001QHV-UU@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox