On Fri, Feb 4, 2011 at 1:04 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> I agree, that is not cool.
OK, changed.
> BTW, I noted here that errcodes.h doesn't seem to get built till after
> src/port/ is built. That seems wrong --- there is definitely code in
> there that needs to throw errors.
It does, actually, but it's only guaranteed to be built in time for
the *backend* versions of the object files. Hence the problem when
the backend headers are used for the frontend build.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company