pgsql: Run check_keywords.pl anytime gram.c is rebuilt. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Run check_keywords.pl anytime gram.c is rebuilt.
Date
Msg-id E1TH4Wr-0006GS-C5@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Run check_keywords.pl anytime gram.c is rebuilt.

This script is a bit slow, but still it only takes a fraction of the time
the bison run does, so the overhead doesn't seem intolerable.  And we
definitely need some mechanical aid here, because people keep missing
the need to add new keywords to the appropriate keyword-list production.

While at it, I moved check_keywords.pl from src/tools into
src/backend/parser where it's actually used, and did some very minor
cleanup on the script.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/55c1687a97c3c2b6cbf7c1b45830b49f03641908

Modified Files
--------------
src/backend/parser/Makefile          |    5 +-
src/backend/parser/check_keywords.pl |  230 ++++++++++++++++++++++++++++++++
src/tools/check_keywords.pl          |  244 ----------------------------------
3 files changed, 231 insertions(+), 248 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: pg_upgrade test: Disable fsync in initdb and postgres calls
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Have pg_terminate/cancel_backend not ERROR on non-existent proce