Обсуждение: pgsql: Remove COMMAND_TAG_NEXTTAG from enum CommandTag.

Поиск
Список
Период
Сортировка

pgsql: Remove COMMAND_TAG_NEXTTAG from enum CommandTag.

От
Tom Lane
Дата:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1f7452fa598ee5f1ed32f1fcce101c63c6f1933f

Modified Files
--------------
src/backend/tcop/cmdtag.c | 2 +-
src/include/tcop/cmdtag.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)