Re: Using defines for protocol characters

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Using defines for protocol characters
Дата
Msg-id 110573.1691598848@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Using defines for protocol characters  (Dave Cramer <davecramer@gmail.com>)
Ответы Re: Using defines for protocol characters  (Dave Cramer <davecramer@gmail.com>)
Список pgsql-hackers
Dave Cramer <davecramer@gmail.com> writes:
> On Wed, 9 Aug 2023 at 09:19, Peter Eisentraut <peter@eisentraut.org> wrote:
>> 3. IMO, the names of the protocol messages in protocol.sgml are
>> canonical.  Your patch appends "Request" and "Response" in cases where
>> that is not part of the actual name.  Also, some messages are documented
>> to go both ways, so this separation doesn't make sense strictly
>> speaking.  Please use the names as in protocol.sgml without augmenting
>> them.

> I've changed this a number of times. I do not mind changing it again, but
> can we reach a consensus ?

I agree with Peter: let's use the names in the protocol document
with a single prefix.  I've got mixed feelings about whether that prefix
should have an underscore, though.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dmitry Dolgov
Дата:
Сообщение: Re: [RFC] Clang plugin for catching suspicious typedef casting
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Using defines for protocol characters