Simplify coding in ProcessQuery
authorÁlvaro Herrera <alvherre@kurilemu.de>
Thu, 30 Oct 2025 10:26:06 +0000 (11:26 +0100)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Thu, 30 Oct 2025 10:26:35 +0000 (11:26 +0100)
commita27c40bfe8ab1834c45d657844df3a84cbb292ac
treec039dffb6d3c0873d3b82437e9d021a4230fd240
parent8ce795fcb70df7a8fdf3303eec0cfcd703b0d122
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
src/backend/tcop/pquery.c