| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Simplify coding in ProcessQuery |
| Date: | 2025-10-30 10:27:22 |
| Message-ID: | E1vEPsI-004EB6-23@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2025-10-30 13:18:20 | pgsql: Mark ItemPointer arguments as const throughout |
| Previous Message | Peter Eisentraut | 2025-10-30 10:26:05 | pgsql: Fix some confusing uses of const |