pgsql: Use PqMsg_* macros in more places.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use PqMsg_* macros in more places.
Date: 2024-07-17 15:52:36
Message-ID: E1sU6xI-0000lT-3s@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a99cc6c6b4bf083d72fb1e8adfb665a449b7a37f

Modified Files
--------------
src/backend/access/common/printtup.c | 5 +++--
src/backend/commands/explain.c | 3 ++-
src/backend/replication/walsender.c | 2 +-
src/backend/tcop/postgres.c | 3 +--
src/backend/utils/activity/backend_progress.c | 4 ++--
src/include/libpq/protocol.h | 4 ++++
6 files changed, 13 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-07-17 19:18:08 pgsql: Doc: fix minor syntax error in example.
Previous Message Andrew Dunstan 2024-07-17 14:46:33 pgsql: Avoid error in recovery test if history file is not yet present