summaryrefslogtreecommitdiff
path: root/src/backend/tcop
diff options
context:
space:
mode:
authorAndres Freund2022-05-12 16:19:04 +0000
committerAndres Freund2022-05-12 19:39:33 +0000
commit09cd33f47bb32f904c32b5aabe607a5125159cc4 (patch)
tree4d2cdd2622cda583543546694ae2212b8a131294 /src/backend/tcop
parent905c020bef99e16b37529203084cd93932e73805 (diff)
Add 'static' to file-local variables missing it.
Noticed when comparing the set of exported symbols without / with -fvisibility=hidden after adding PGDLLIMPORT to intentionally exported symbols. Discussion: https://postgr.es/m/20220512164513.vaheofqp2q24l65r@alap3.anarazel.de
Diffstat (limited to 'src/backend/tcop')
-rw-r--r--src/backend/tcop/cmdtag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/tcop/cmdtag.c b/src/backend/tcop/cmdtag.c
index a83bab14f4c..262484f561f 100644
--- a/src/backend/tcop/cmdtag.c
+++ b/src/backend/tcop/cmdtag.c
@@ -28,7 +28,7 @@ typedef struct CommandTagBehavior
#define PG_CMDTAG(tag, name, evtrgok, rwrok, rowcnt) \
{ name, evtrgok, rwrok, rowcnt },
-const CommandTagBehavior tag_behavior[COMMAND_TAG_NEXTTAG] = {
+static const CommandTagBehavior tag_behavior[COMMAND_TAG_NEXTTAG] = {
#include "tcop/cmdtaglist.h"
};