pgsql: Remove MsgType type - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Remove MsgType type
Date
Msg-id E1vZd3k-0031i6-1a@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove MsgType type

Presumably, the C type MsgType was meant to hold the protocol message
type in the pre-version-3 era, but this was never fully developed even
then, and the name is pretty confusing nowadays.  It has only one
vestigial use for cancel requests that we can get rid of.  Since a
cancel request is indicated by a special protocol version number, we
can use the ProtocolVersion type, which MsgType was based on.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/505e76cb-0ca2-4e22-ba0f-772b5dc3f230%40eisentraut.org

Branch
------
master

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

Modified Files
--------------
src/include/libpq/pqcomm.h       | 3 +--
src/interfaces/libpq/fe-cancel.c | 4 ++--
src/tools/pgindent/typedefs.list | 1 -
3 files changed, 3 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: Add oauth_validator_libraries to variable_is_guc_list_quote
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: Fix incorrectly spelled city name