Use PqMsg_* macros in more places.
authorNathan Bossart <nathan@postgresql.org>
Wed, 17 Jul 2024 15:51:00 +0000 (10:51 -0500)
committerNathan Bossart <nathan@postgresql.org>
Wed, 17 Jul 2024 15:51:00 +0000 (10:51 -0500)
commita99cc6c6b4bf083d72fb1e8adfb665a449b7a37f
tree65d23b9e0ed431f8ad963027dd038afe40be40cf
parentf2a0d5808c246e556efbe3df0fb2be7841e3c988
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
src/backend/access/common/printtup.c
src/backend/commands/explain.c
src/backend/replication/walsender.c
src/backend/tcop/postgres.c
src/backend/utils/activity/backend_progress.c
src/include/libpq/protocol.h