Re: let's not complain about harmless patch-apply failures - Mailing list pgsql-hackers

From Tom Lane
Subject Re: let's not complain about harmless patch-apply failures
Date
Msg-id 3936.1516146866@sss.pgh.pa.us
Whole thread Raw
In response to Re: let's not complain about harmless patch-apply failures  (Peter Geoghegan <pg@bowt.ie>)
Responses Re: let's not complain about harmless patch-apply failures
List pgsql-hackers
Peter Geoghegan <pg@bowt.ie> writes:
> The parallel CREATE INDEX patch is something that I've worked on
> (fairly inconsistently) for 2 years now. I remember two occasions in
> which somebody else changed a function signature for functions that my
> code called, and without that causing even a compiler warning after
> rebasing on top of these changes (e.g., changing an int argument to a
> bool argument). On both occasions, this led to a real bug in a version
> of the patch that was posted to the list.

FWIW, I think that that represents bad practice in those changes,
precisely because of the hazard it poses for uncommitted patches.
If you're changing a function signature, it's usually not that hard
to make sure that un-updated code will produce a failure or warning,
and you should generally do so IMO.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: let's not complain about harmless patch-apply failures
Next
From: Peter Geoghegan
Date:
Subject: Re: let's not complain about harmless patch-apply failures