pgsql: Simplify coding in ProcessQuery
pgsql: Simplify coding in ProcessQuery
От:
Álvaro Herrera <alvherre@kurilemu.de>
Дата:
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(-)