pgsql: Simplify coding in ProcessQuery - Mailing list pgsql-committers

From Álvaro Herrera
Subject pgsql: Simplify coding in ProcessQuery
Date
Msg-id E1vEPsI-004EB6-23@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Fix some confusing uses of const
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Mark ItemPointer arguments as const throughout