Use PqMsg_* macros in more places.
Nathan Bossart <nathan@postgresql.org>
Use PqMsg_* macros in more places. Commit f4b54e1ed9, which introduced macros for protocol characters, missed updating a few places. It also did not introduce macros for messages sent from parallel workers to their leader processes. This commit adds a new section in protocol.h for those. Author: Aleksander Alekseev Discussion: https://postgr.es/m/CAJ7c6TNTd09AZq8tGaHS3LDyH_CCnpv0oOz2wN1dGe8zekxrdQ%40mail.gmail.com Backpatch-through: 17
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/printtup.c | modified | +3 −2 |
| src/backend/commands/explain.c | modified | +2 −1 |
| src/backend/replication/walsender.c | modified | +1 −1 |
| src/backend/tcop/postgres.c | modified | +1 −2 |
| src/backend/utils/activity/backend_progress.c | modified | +2 −2 |
| src/include/libpq/protocol.h | modified | +4 −0 |
Discussion
- [PATCH] Refactor pqformat.{c,h} and protocol.h 11 messages · 2024-07-16 → 2024-07-17