pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use PqMsg_* macros in more places.
Date: Wed, 17 Jul 2024 15:52:36 +0000
Message-ID: <E1sU6xI-0000lT-3s@gemulon.postgresql.org> (raw)

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(-)



view thread (2+ messages)

Message-ID: <E1sU6xI-0000lT-3s@gemulon.postgresql.org>
Permalink:  ../E1sU6xI-0000lT-3s@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sU6xI-0000lT-3s@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use PqMsg_* macros in more places.
  In-Reply-To: <E1sU6xI-0000lT-3s@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox