From 8e01f2eeebf38d53f4a86bca1cacc0e52af12531 Mon Sep 17 00:00:00 2001 From: XL_up <3066352084@qq.com> Date: Mon, 28 Aug 2023 23:11:19 +0800 Subject: [PATCH] Update keywords.cpp --- src/common/backend/parser/keywords.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/backend/parser/keywords.cpp b/src/common/backend/parser/keywords.cpp index 785635e25..c01845142 100644 --- a/src/common/backend/parser/keywords.cpp +++ b/src/common/backend/parser/keywords.cpp @@ -21,9 +21,11 @@ #define PG_KEYWORD(a, b, c) {a, b, c}, +// A table that stores keywords information. +// This table will be used in keyword-matching process. const ScanKeyword ScanKeywords[] = { #include "parser/kwlist.h" }; +// The number of table items, which is also the total number of keywords const int NumScanKeywords = lengthof(ScanKeywords); -