gooderp18绿色标准版
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

42 行
1.1KB

  1. /*-------------------------------------------------------------------------
  2. *
  3. * parser.h
  4. * Definitions for the "raw" parser (flex and bison phases only)
  5. *
  6. * This is the external API for the raw lexing/parsing functions.
  7. *
  8. * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
  9. * Portions Copyright (c) 1994, Regents of the University of California
  10. *
  11. * src/include/parser/parser.h
  12. *
  13. *-------------------------------------------------------------------------
  14. */
  15. #ifndef PARSER_H
  16. #define PARSER_H
  17. #include "nodes/parsenodes.h"
  18. typedef enum
  19. {
  20. BACKSLASH_QUOTE_OFF,
  21. BACKSLASH_QUOTE_ON,
  22. BACKSLASH_QUOTE_SAFE_ENCODING
  23. } BackslashQuoteType;
  24. /* GUC variables in scan.l (every one of these is a bad idea :-() */
  25. extern int backslash_quote;
  26. extern bool escape_string_warning;
  27. extern PGDLLIMPORT bool standard_conforming_strings;
  28. /* Primary entry point for the raw parsing functions */
  29. extern List *raw_parser(const char *str);
  30. /* Utility functions exported by gram.y (perhaps these should be elsewhere) */
  31. extern List *SystemFuncName(char *name);
  32. extern TypeName *SystemTypeName(char *name);
  33. #endif /* PARSER_H */
上海开阖软件有限公司 沪ICP备12045867号-1