Re: [PATCH] Refactor pqformat.{c,h} and protocol.h

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: [PATCH] Refactor pqformat.{c,h} and protocol.h
Дата
Msg-id ZpavFHpMHdY9fJFc@nathan
обсуждение исходный текст
Ответ на Re: [PATCH] Refactor pqformat.{c,h} and protocol.h  (Aleksander Alekseev <aleksander@timescale.com>)
Ответы Re: [PATCH] Refactor pqformat.{c,h} and protocol.h
Список pgsql-hackers
I took a closer look at 0001.

diff --git a/src/include/libpq/protocol.h b/src/include/libpq/protocol.h
index 4b8d440365..8c0f095edf 100644
--- a/src/include/libpq/protocol.h
+++ b/src/include/libpq/protocol.h
@@ -47,6 +47,7 @@
 #define PqMsg_EmptyQueryResponse    'I'
 #define PqMsg_BackendKeyData        'K'
 #define PqMsg_NoticeResponse        'N'
+#define PqMsg_Progress              'P'
 #define PqMsg_AuthenticationRequest 'R'
 #define PqMsg_ParameterStatus        'S'
 #define PqMsg_RowDescription        'T'

As discussed elsewhere [0], we can add the leader/worker protocol
characters to protocol.h, but they should probably go in a separate
section.  I'd recommend breaking that part out to a separate patch, too.

[0] https://postgr.es/m/20230829161555.GB2136737%40nathanxps13

-- 
nathan



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

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: [PATCH] Refactor pqformat.{c,h} and protocol.h
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: Restrict EXPLAIN (ANALYZE) for RLS and security_barrier views