Skip site navigation (1) Skip section navigation (2)

pgsql: Remove plpgsql's separate lexer (finally!), in favor of using the

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove plpgsql's separate lexer (finally!), in favor of using the
Date: 2009-11-12 00:13:00
Message-ID: 20091112001301.35817753FB7@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Remove plpgsql's separate lexer (finally!), in favor of using the core lexer
directly.  This was a lot of trouble, but should be worth it in terms of
not having to keep the plpgsql lexer in step with core anymore.  In addition
the handling of keywords is significantly better-structured, allowing us to
de-reserve a number of words that plpgsql formerly treated as reserved.

Modified Files:
--------------
    pgsql/src/backend/parser:
        scan.l (r1.163 -> r1.164)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/scan.l?r1=1.163&r2=1.164)
        scansup.c (r1.37 -> r1.38)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/scansup.c?r1=1.37&r2=1.38)
    pgsql/src/bin/psql:
        psqlscan.l (r1.29 -> r1.30)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/psqlscan.l?r1=1.29&r2=1.30)
    pgsql/src/pl/plpgsql/src:
        .cvsignore (r1.2 -> r1.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/.cvsignore?r1=1.2&r2=1.3)
        Makefile (r1.34 -> r1.35)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/Makefile?r1=1.34&r2=1.35)
        gram.y (r1.134 -> r1.135)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/gram.y?r1=1.134&r2=1.135)
        nls.mk (r1.11 -> r1.12)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/nls.mk?r1=1.11&r2=1.12)
        pl_comp.c (r1.144 -> r1.145)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_comp.c?r1=1.144&r2=1.145)
        pl_funcs.c (r1.85 -> r1.86)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_funcs.c?r1=1.85&r2=1.86)
        plpgsql.h (r1.123 -> r1.124)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/plpgsql.h?r1=1.123&r2=1.124)
    pgsql/src/test/regress/expected:
        plpgsql.out (r1.80 -> r1.81)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/plpgsql.out?r1=1.80&r2=1.81)
    pgsql/src/test/regress/sql:
        plpgsql.sql (r1.67 -> r1.68)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/plpgsql.sql?r1=1.67&r2=1.68)
    pgsql/src/tools/msvc:
        Mkvcbuild.pm (r1.43 -> r1.44)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/msvc/Mkvcbuild.pm?r1=1.43&r2=1.44)
        Project.pm (r1.20 -> r1.21)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/msvc/Project.pm?r1=1.20&r2=1.21)
        clean.bat (r1.15 -> r1.16)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/msvc/clean.bat?r1=1.15&r2=1.16)
        pgflex.bat (r1.5 -> r1.6)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/msvc/pgflex.bat?r1=1.5&r2=1.6)

Added Files:
-----------
    pgsql/src/pl/plpgsql/src:
        pl_scanner.c (r1.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_scanner.c?rev=1.1&content-type=text/x-cvsweb-markup)

Removed Files:
-------------
    pgsql/src/pl/plpgsql/src:
        scan.l
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/scan.l)

pgsql-committers by date

Next:From: Tom LaneDate: 2009-11-12 01:13:12
Subject: pgsql: Remove pg_parse_string_token() --- not needed anymore.
Previous:From: Peter EisentrautDate: 2009-11-11 21:07:41
Subject: pgsql: In psql \du, separate the role attributes by comma instead of

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group