Tom Lane wrote:
> I think this is probably going in the wrong direction. The reason
> gram.h isn't already in the main include tree is that we don't *want*
> all and sundry depending on it --- we have very carefully minimized
> the number of files that depend on the grammar's symbol codes.
>
> ISTM that pg_dump doesn't actually care about the symbol codes, it
> just needs a list of known keywords.
Hmm, I had thought that pg_dump only wanted the header file, not the
keywords.o object file. I now see that I was wrong. I agree that your
proposed solution is a lot better. I'll see about it.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.