Using defines for protocol characters

Dave Cramer <davecramer@gmail.com>

From: Dave Cramer <davecramer@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: nathandbossart@gmail.com
Date: 2023-08-03T17:40:12Z
Lists: pgsql-hackers

Attachments

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

Commits

  1. Introduce macros for protocol characters.

  2. Remove configure check for z_streamp