Re: Proposed cleanup of generated header files

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposed cleanup of generated header files
Date: 2000-05-28 18:59:22
Message-ID: Pine.BSF.4.21.0005281559020.46256-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, 28 May 2000, Tom Lane wrote:

> It's bothered me for some time that backend files need to be compiled
> with -I src/backend as well as -I src/include. AFAICT this is just
> because the two header files that are generated on-the-fly (parse.h
> and fmgroids.h, formerly known as fmgr.h) are included from src/backend
> rather than being inserted into the include tree, which it seems to me
> is where they should be. Any objections if I rearrange the makefiles
> so that these files get placed under include/ when they are built,
> and then -I src/backend goes away?
>
> (In case anyone is wondering, there are no platform-dependencies in
> either file. We could distribute them as part of the distribution
> tarball --- in fact we already do so for parse.h. So I don't see
> that installing them into src/include would create any problems for
> multiplatform builds.)

Sounds perfect to me ... just make changes to prep_release in tools so
that they are generated for the snapshots?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-05-28 19:44:06 Spliting vacuum and analyze
Previous Message Bruce Momjian 2000-05-28 18:42:46 Re: Proposed cleanup of generated header files