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

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org, Kris Jurka <books(at)ejurka(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>
Subject: Re: src/tools/pginclude considered harmful (was Re:
Date: 2006-07-14 23:19:04
Message-ID: 1152919145.5588.18.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Fri, 2006-07-14 at 14:20 -0400, Tom Lane wrote:
> I would like to propose that we revert all the include-related changes
> of the past two days, and that src/tools/pginclude be removed from the
> CVS tree, until such time as it is rewritten to be much smarter about
> what it is doing.

Rather than reverting the changes in CVS and then redoing them
correctly, perhaps we could make the necessary improvements to the
tools, apply the improved tools to the pre-cleaned-up version of the
tree, get a diff against HEAD, and then apply any fixes the improved
tools have made as a patch. That would avoid cluttering CVS with two
redundant changes to almost every single source file in the tree.

In any case, I agree that the cleanup was not very well done. Widespread
cleanup of this sort should be done with a lot more care. One useful
improvement would be to make the changes on a local repository first,
and then post the suggested changes as a patch. Making the entire set of
required changes as a single CVS commit would also be good: it makes it
easier for folks to back out the patch locally if it causes problems, as
well as making the CVS history more comprehensible.

-Neil

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian G. Pflug 2006-07-14 23:55:27 Re: Forcing wal rotation
Previous Message Bruce Momjian 2006-07-14 23:13:19 Re: src/tools/pginclude considered harmful (was Re:

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-07-15 00:33:16 Re: src/tools/pginclude considered harmful (was Re: [PATCHES] toast index entries again)
Previous Message Bruce Momjian 2006-07-14 23:13:19 Re: src/tools/pginclude considered harmful (was Re: