public inbox for [email protected]
help / color / mirror / Atom feedFrom: Julien Rouhaud <[email protected]>
To: Dong Wook Lee <[email protected]>
Cc: [email protected]
Subject: Re: pg_stat_statements: remove redundant function call in pg_stat_statements_internal
Date: Sun, 27 Feb 2022 19:55:26 +0800
Message-ID: <20220227115526.vhpfhlinbruax5ky@jrouhaud> (raw)
In-Reply-To: <CAAcBya+szDd1Y6dJU4_dbH_Ye3=G=8O1oQGG01kv3Tpie7wELQ@mail.gmail.com>
References: <CAAcBya+szDd1Y6dJU4_dbH_Ye3=G=8O1oQGG01kv3Tpie7wELQ@mail.gmail.com>
Hi,
On Sun, Feb 27, 2022 at 08:45:13PM +0900, Dong Wook Lee wrote:
>
> I found some redundant function calls in
> pg_stat_statements.c/pg_stat_statements_internal(),
> There is no need to call GetUserId() again because the value was
> previously obtained.
Indeed. I doubt it will make any real difference but it doesn't hurt to fix
it.
Patch looks good to me.
view thread (4+ messages) latest in thread
reply
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: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pg_stat_statements: remove redundant function call in pg_stat_statements_internal
In-Reply-To: <20220227115526.vhpfhlinbruax5ky@jrouhaud>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox