| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Remove MsgType type |
| Date: | 2025-12-22 08:46:13 |
| Message-ID: | 505e76cb-0ca2-4e22-ba0f-772b5dc3f230@eisentraut.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 | Content-Type | Size |
|---|---|---|
| 0001-Remove-MsgType-type.patch | text/plain | 3.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Zhijie Hou (Fujitsu) | 2025-12-22 09:01:19 | RE: [bug fix] prepared transaction might be lost when max_prepared_transactions is zero on the subscriber |
| Previous Message | preTham | 2025-12-22 08:22:29 | Re: [PATCH] Why is_admin_of_role() uses ROLERECURSE_MEMBERS rather than ROLERECURSE_PRIVS? |