pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Álvaro Herrera <alvherre@kurilemu.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Simplify coding in ProcessQuery
Date: Thu, 30 Oct 2025 10:27:22 +0000
Message-ID: <E1vEPsI-004EB6-23@gemulon.postgresql.org> (raw)

Simplify coding in ProcessQuery

The original is pretty baroque for no apparent reason; arguably, commit
2f9661311b83 should have done this.  Noted while reviewing related code
for bug #18984.  This is cosmetic (though I'm surprised that my compiler
generates shorter assembly this way), so no backpatch.

Discussion: https://postgr.es/m/18984-0f4778a6599ac3ae@postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a27c40bfe8ab1834c45d657844df3a84cbb292ac

Modified Files
--------------
src/backend/tcop/pquery.c | 37 ++++++++++++++++---------------------
1 file changed, 16 insertions(+), 21 deletions(-)



Message-ID: <E1vEPsI-004EB6-23@gemulon.postgresql.org>
Permalink:  ../E1vEPsI-004EB6-23@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vEPsI-004EB6-23@gemulon.postgresql.org

 · 

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: pgsql-committers@postgresql.org
  Cc: alvherre@kurilemu.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Simplify coding in ProcessQuery
  In-Reply-To: <E1vEPsI-004EB6-23@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