Re: src/tools/pginclude considered harmful (was Re:

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org, Kris Jurka <books(at)ejurka(dot)com>
Subject: Re: src/tools/pginclude considered harmful (was Re:
Date: 2006-07-18 19:20:40
Message-ID: 200607181920.k6IJKeI16481@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Good, added to pginclude/README:

Also, tests should be done with configure settings of --enable-cassert
and EXEC_BACKEND on and off.

I think we had more problems this time just because our code is more
complex.

---------------------------------------------------------------------------

Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > FYI, 527 include were removed from non-header C files in this run. That
> > is not something that can be easily done manually.
>
> It's not so easily done automatically, either :-(. I'm not sure why
> this go-round was so much more painful than the last, but it very
> clearly exposed the deficiencies in your testing process. Mainly,
> that you tested only one set of configure options on one platform.
>
> I would say that minimum requirements for doing this again in future
> are (1) test with and without --enable-cassert, and (2) test with and
> without EXEC_BACKEND. We *know* that both those things change the
> set of headers required. It might be necessary to actually test the
> WIN32 port separately --- EXEC_BACKEND is close but not the same.
>
> regards, tom lane

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2006-07-18 19:46:32 Re: [HACKERS] 8.2 features?
Previous Message Bruce Momjian 2006-07-18 19:09:09 Re: url for TODO item, is it right?

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2006-07-18 19:46:32 Re: [HACKERS] 8.2 features?
Previous Message Chris Browne 2006-07-18 18:49:35 Re: [HACKERS] 8.2 features?