PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
keywords.c File Reference
#include "c.h"
#include "common/keywords.h"
#include "kwlist_d.h"
#include "parser/kwlist.h"
Include dependency graph for keywords.c:

Go to the source code of this file.

Macros

#define PG_KEYWORD(kwname, value, category, collabel)   category,
 
#define PG_KEYWORD(kwname, value, category, collabel)   collabel,
 
#define BARE_LABEL   true
 
#define AS_LABEL   false
 

Variables

const uint8 ScanKeywordCategories [SCANKEYWORDS_NUM_KEYWORDS]
 
const bool ScanKeywordBareLabel [SCANKEYWORDS_NUM_KEYWORDS]
 

Macro Definition Documentation

◆ AS_LABEL

#define AS_LABEL   false

Definition at line 40 of file keywords.c.

◆ BARE_LABEL

#define BARE_LABEL   true

Definition at line 39 of file keywords.c.

◆ PG_KEYWORD [1/2]

#define PG_KEYWORD (   kwname,
  value,
  category,
  collabel 
)    category,

Definition at line 37 of file keywords.c.

◆ PG_KEYWORD [2/2]

#define PG_KEYWORD (   kwname,
  value,
  category,
  collabel 
)    collabel,

Definition at line 37 of file keywords.c.

Variable Documentation

◆ ScanKeywordBareLabel

const bool ScanKeywordBareLabel[SCANKEYWORDS_NUM_KEYWORDS]
Initial value:
= {
}

Definition at line 42 of file keywords.c.

Referenced by pg_get_keywords().

◆ ScanKeywordCategories

const uint8 ScanKeywordCategories[SCANKEYWORDS_NUM_KEYWORDS]
Initial value:
= {
}

Definition at line 29 of file keywords.c.

Referenced by fmtId(), pg_get_keywords(), and quote_identifier().