Introduce macros for protocol characters.

Nathan Bossart <nathan@postgresql.org>

Commit: f4b54e1ed9853ab9aff524494866823f951b1e7f
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2023-08-23T02:16:12Z
Releases: 17.0
Introduce macros for protocol characters.

This commit introduces descriptively-named macros for the
identifiers used in wire protocol messages.  These new macros are
placed in a new header file so that they can be easily used by
third-party code.

Author: Dave Cramer
Reviewed-by: Alvaro Herrera, Tatsuo Ishii, Peter Smith, Robert Haas, Tom Lane, Peter Eisentraut, Michael Paquier
Discussion: https://postgr.es/m/CADK3HHKbBmK-PKf1bPNFoMC%2BoBt%2BpD9PH8h5nvmBQskEHm-Ehw%40mail.gmail.com

Files

Discussion