Using defines for protocol characters

From: Dave Cramer <davecramer(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: nathandbossart(at)gmail(dot)com
Subject: Using defines for protocol characters
Date: 2023-08-03 17:40:12
Message-ID: CADK3HHKbBmK-PKf1bPNFoMC+oBt+pD9PH8h5nvmBQskEHm-Ehw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greetings,

Attached is a patch which introduces a file protocol.h. Instead of using
the actual characters everywhere in the code this patch names the
characters and removes the comments beside each usage.

Dave Cramer

Attachment Content-Type Size
0001-Created-protocol.h.patch application/octet-stream 49.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2023-08-03 17:59:40 Re: Using defines for protocol characters
Previous Message Tristan Partin 2023-08-03 17:23:52 Re: [RFC] Clang plugin for catching suspicious typedef casting