2
0

keywords.h 845 B

1234567891011121314151617181920212223242526272829
  1. /*-------------------------------------------------------------------------
  2. *
  3. * keywords.h
  4. * PostgreSQL's list of SQL keywords
  5. *
  6. *
  7. * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
  8. * Portions Copyright (c) 1994, Regents of the University of California
  9. *
  10. * src/include/common/keywords.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef KEYWORDS_H
  15. #define KEYWORDS_H
  16. #include "common/kwlookup.h"
  17. /* Keyword categories --- should match lists in gram.y */
  18. #define UNRESERVED_KEYWORD 0
  19. #define COL_NAME_KEYWORD 1
  20. #define TYPE_FUNC_NAME_KEYWORD 2
  21. #define RESERVED_KEYWORD 3
  22. extern PGDLLIMPORT const ScanKeywordList ScanKeywords;
  23. extern PGDLLIMPORT const uint8 ScanKeywordCategories[];
  24. extern PGDLLIMPORT const bool ScanKeywordBareLabel[];
  25. #endif /* KEYWORDS_H */