summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2025-08-25 14:11:01 -0500
committerNathan Bossart <nathan@postgresql.org>2025-08-25 14:11:01 -0500
commit989b2e4d5c95f6b183e76f3eb06d2d360651ccf2 (patch)
tree9491376203a7976f8519c4a73ab304c3ef99359f /src
parent4e1e417330d42cb19c7d439cd50eea20f25c7518 (diff)
Use PqMsg_* macros in applyparallelworker.c.
Oversight in commit f4b54e1ed9. Author: Ranier Vilela <ranier.vf@gmail.com> Discussion: https://postgr.es/m/CAEudQAobFsHaLMypA6C96-9YExvF4AcU1xNPoPuNYRVm3mq4dg%40mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r--src/backend/replication/logical/applyparallelworker.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/replication/logical/applyparallelworker.c b/src/backend/replication/logical/applyparallelworker.c
index cd0e19176fd..31a92d1a24a 100644
--- a/src/backend/replication/logical/applyparallelworker.c
+++ b/src/backend/replication/logical/applyparallelworker.c
@@ -1007,7 +1007,7 @@ ProcessParallelApplyMessage(StringInfo msg)
switch (msgtype)
{
- case 'E': /* ErrorResponse */
+ case PqMsg_ErrorResponse:
{
ErrorData edata;
@@ -1044,11 +1044,11 @@ ProcessParallelApplyMessage(StringInfo msg)
/*
* Don't need to do anything about NoticeResponse and
- * NotifyResponse as the logical replication worker doesn't need
- * to send messages to the client.
+ * NotificationResponse as the logical replication worker doesn't
+ * need to send messages to the client.
*/
- case 'N':
- case 'A':
+ case PqMsg_NoticeResponse:
+ case PqMsg_NotificationResponse:
break;
default: