Re: [COMMITTERS] pgsql: Do a pass of code review for the ALTER TABLE - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [COMMITTERS] pgsql: Do a pass of code review for the ALTER TABLE
Date
Msg-id 20060702171833.GC22974@surnet.cl
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Do a pass of code review for the ALTER TABLE  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [COMMITTERS] pgsql: Do a pass of code review for the  (Andrew Dunstan <andrew@dunslane.net>)
Re: [COMMITTERS] pgsql: Do a pass of code review for the  (Bruce Momjian <bruce@momjian.us>)
Re: [COMMITTERS] pgsql: Do a pass of code review for the ALTER TABLE  (paolo romano <paolo.romano@yahoo.it>)
List pgsql-hackers
Bruce Momjian wrote:
> Neil Conway wrote:
> > Log Message:
> > -----------
> > Do a pass of code review for the ALTER TABLE ADD INHERITS patch. Keep
> > the read lock we hold on the table's parent relation until commit.
> > Update equalfuncs.c for the new field in AlterTableCmd. Various
> > improvements to comments, variable names, and error reporting.
> > 
> > There is room for further improvement here, but this is at least
> > a step in the right direction.
> 
> Thanks, that is what was needed.  The author obviously took the patch as
> far as he could, and we needed to adjust his XXX areas, rather than not
> apply the patch and have the code drifting.

Hmm, is this how we should do things?  I mean, should I finish the
autovacuum parts of my relminxid patch, apply it, and then hope for
someone to fix the mistaeks?  And if we don't see any failure in the
buildfarm, assume that all is well?

To me this is really the easiest way, but I have a hard time convincing
myself that I want to have it easy but break things in a way that nobody
notices.  The other day when I typoed a commit to the 8.1 branch I was
all red in the face.  I wonder what will happen if someone points to me
or Greg as causing major breakage somewhere, just because the patch was
applied in a hurry without careful review.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: note about syntax for fillfactor patch
Next
From: Simon Riggs
Date:
Subject: Re: note about syntax for fillfactor patch