Re: Call for objections: revision of keyword classification - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Call for objections: revision of keyword classification
Date
Msg-id 200111091914.fA9JEL112903@candle.pha.pa.us
Whole thread Raw
In response to Re: Call for objections: revision of keyword classification  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > A validation script is a good intermediate idea,
>
> IMHO a validation script would be *far* harder than the alternative
> I'm proposing, because it'd have to parse and interpret gram.y and
> keyword.c.  Building a correct-by-construction set of keyword lists
> seems much easier than checking their rather messy representation
> in those files.

Agreed.  It just removed the indirection problem mentioned by Thomas.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Call for objections: revision of keyword classification
Next
From: Klaus Naumann
Date:
Subject: Re: Patch for Makefile race against current cvs