CVSROOT: /cvsroot
Module name: pgsql
Changes by: petere(at)postgresql(dot)org 02/04/20 17:56:15
Modified files:
src/backend/parser: Makefile parse_type.c parser.c scan.l
src/backend/tcop: postgres.c
src/include/parser: gramparse.h parser.h
src/include/tcop: tcopprot.h
Log message:
Scanner performance improvements
Use flex flags -CF. Pass the to-be-scanned string around as StringInfo
type, to avoid querying the length repeatedly. Clean up some code and
remove lex-compatibility cruft. Escape backslash sequences inline. Use
flex-provided yy_scan_buffer() function to set up input, rather than using
myinput().