Module mz_sql_lexer::lexer
source · Expand description
SQL lexer.
This module lexes SQL according to the rules described in the “Lexical Structure” section of the PostgreSQL documentation. The description is intentionally not replicated here. Please refer to that chapter as you read the code in this module.
Where the PostgreSQL documentation is unclear, refer to their flex source instead, located in the backend/parser/scan.l file in the PostgreSQL Git repository.
Structs§
Enums§
Constants§
- Maximum allowed identifier length in bytes.
Functions§
- Lexes a SQL query.
Type Aliases§
- Newtype that limits the length of identifiers.