[PATCH] Reorganize pqcomm.h a bit

Поиск
Список
Период
Сортировка
От Jacob Champion
Тема [PATCH] Reorganize pqcomm.h a bit
Дата
Msg-id CAOYmi+=6zg4oXXOQtifrVao_YKiujTDa3u6bxnU08r0FsSig4g@mail.gmail.com
обсуждение исходный текст
Ответы Re: [PATCH] Reorganize pqcomm.h a bit
Список pgsql-hackers
Hi,

I was reviewing a patchset by Jelte [1] and decided that pqcomm.h has
gotten hard to read/organize.

Attached is a patch that groups the magic PG_PROTOCOL() codes, adds a
comment to a typedef that was orphaned when protocol.h arrived, and
tweaks some whitespace to make the "paragraphs" easier to scan (IMHO).
I did have some misgivings about separating CANCEL_REQUEST_CODE from
its packet struct, but I think it's a net improvement.

WDYT?

--Jacob

[1] https://postgr.es/m/DDPR5BPWH1RJ.1LWAK6QAURVAY@jeltef.nl

Вложения

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