Thread: pgsql/src backend/parser/gram.y backend/parser ...

pgsql/src backend/parser/gram.y backend/parser ...

From
tgl@postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    02/05/02 14:44:11

Modified files:
    src/backend/parser: gram.y keywords.c scan.l
    src/backend/utils/adt: ruleutils.c
    src/include/parser: keywords.h

Log message:
    Tweak scanner/grammar interface so that the keyword-as-identifier rules
    in gram.y can make use of the keywords.c string table, instead of having
    their own copies of the keyword strings.  This saves a few kilobytes and
    more importantly eliminates an opportunity for cut-and-paste errors.