Remove COMMAND_TAG_NEXTTAG from enum CommandTag.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 13 May 2024 17:52:17 +0000 (13:52 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 13 May 2024 17:52:17 +0000 (13:52 -0400)
commit1f7452fa598ee5f1ed32f1fcce101c63c6f1933f
tree4b2ebce1efee290921469ae810d60d6a27577f81
parent11c1984cccad1d41f461d3bb00f9e662332d002b
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
src/backend/tcop/cmdtag.c
src/include/tcop/cmdtag.h