]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Use PqMsg_Progress macro in HandleParallelMessage().
authorNathan Bossart <nathan@postgresql.org>
Fri, 14 Feb 2025 18:57:13 +0000 (12:57 -0600)
committerNathan Bossart <nathan@postgresql.org>
Fri, 14 Feb 2025 18:57:13 +0000 (12:57 -0600)
Commit a99cc6c6b4 introduced the PqMsg_Progress macro but missed
updating HandleParallelMessage() accordingly.

Backpatch-through: 17

src/backend/access/transam/parallel.c

index 4bc91826e78266cd44b5a935eac588ef7c4dfb83..d0ad0bd4280cd77c328218224078611dfa4282d4 100644 (file)
@@ -1208,7 +1208,7 @@ HandleParallelMessage(ParallelContext *pcxt, int i, StringInfo msg)
                                break;
                        }
 
-               case 'P':                               /* Parallel progress reporting */
+               case PqMsg_Progress:
                        {
                                /*
                                 * Only incremental progress reporting is currently supported.