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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/tcop/pquery.c | modified | +16 −21 |
Discussion
- BUG #18984: Empty prepared statement from psql \parse triggers assert in PortalRunMulti 21 messages · 2025-07-14 → 2025-07-17