Remove COMMAND_TAG_NEXTTAG from enum CommandTag.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/tcop/cmdtag.c | modified | +1 −1 |
| src/include/tcop/cmdtag.h | modified | +0 −1 |
Discussion
- Fix out-of-bounds in the function GetCommandTagName 10 messages · 2024-04-14 → 2024-05-13