PostgreSQL's Parser Implementation with Flex and Bison

Understanding PostgreSQL's Parser Architecture When examining PostgreSQL's source code, one might notice that the conventional Bison parser function yyparse is replaced by base\_yyparse(). This modification is part of PostgreSQL's customized implementation of Flex and Bison for its SQL parsing needs. The PostgreSQL parser configuration in gram. ...

Posted on Tue, 23 Jun 2026 16:50:25 +0000 by jstarkweather

MySQL SQL Parser Architecture: Understanding Flex and Bison Integration

MySQL SQL Parser Architecture: Understanding Flex and Bison Integration This technical overview examines how MySQL 8.0.34 implements SQL query parsing using bison-generated parser code. The analysis focuses on key implementation details and customizations that differ from standard bison usage patterns. Grammar Definition Location MySQL stores i ...

Posted on Sun, 10 May 2026 01:26:46 +0000 by Plagel