Remove COMMAND_TAG_NEXTTAG from enum CommandTag.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1f7452fa598ee5f1ed32f1fcce101c63c6f1933f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2024-05-13T17:52:17Z
Releases: 17.0
Remove COMMAND_TAG_NEXTTAG from enum CommandTag.

COMMAND_TAG_NEXTTAG isn't really a valid command tag.  Declaring it
as if it were one prompts complaints from Coverity and perhaps other
static analyzers.  Our only use of it is in an entirely-unnecessary
array sizing declaration, so let's just drop it.

Ranier Vilela

Discussion: https://postgr.es/m/CAEudQAoY0xrKuTAX7W10zsjjUpKBPFRtdCyScb3Z0FB2v6HNmQ@mail.gmail.com

Files

PathChange+/−
src/backend/tcop/cmdtag.c modified +1 −1
src/include/tcop/cmdtag.h modified +0 −1

Discussion