Remove MsgType type - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Remove MsgType type
Date
Msg-id 505e76cb-0ca2-4e22-ba0f-772b5dc3f230@eisentraut.org
Whole thread Raw
Responses Re: Remove MsgType type
List pgsql-hackers
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.  (If this is 
also found confusing, we could also use uint32 directly.)

Attachment

pgsql-hackers by date:

Previous
From: preTham
Date:
Subject: Re: [PATCH] Why is_admin_of_role() uses ROLERECURSE_MEMBERS rather than ROLERECURSE_PRIVS?
Next
From: "Zhijie Hou (Fujitsu)"
Date:
Subject: RE: [bug fix] prepared transaction might be lost when max_prepared_transactions is zero on the subscriber