Re: linked list rewrite - Mailing list pgsql-hackers

From Sailesh Krishnamurthy
Subject Re: linked list rewrite
Date
Msg-id mjqu10f34cm.fsf@cs.berkeley.edu
Whole thread Raw
In response to linked list rewrite  (Neil Conway <neilc@samurai.com>)
Responses Re: linked list rewrite  (Frank Wiles <frank@wiles.org>)
Re: linked list rewrite  (Dustin Sallings <dustin@spy.net>)
subversion vs cvs (Was: Re: linked list rewrite)  ("Marc G. Fournier" <scrappy@postgresql.org>)
List pgsql-hackers
Re changing APIs or not.

I agree with Tom that an incremental change is easier. More
importantly, it is also easier to test your implementation.

Even if everybody agrees that the API should be changed, IMO a better
way would be to first use your implementation with the old API and go
through some thorough testing to make sure it is AOK. Once we are
certain (or as certain as we can be) about that, you can changeover to
the new API. This way, when bugs show up we won't be left wondering if
its because of the new API interacting with some hidden assumption at
the call-sites or if it is only the implementation. 

One step at a time seems safer to me.

I would think a new CVS branch would be the right way to merge your
stuff especially if you are going with the API change route. That way
you won't have to lock the tip and can incrementally work with a
broken branch until it is fine (and keep re-merging).

Which brings me to another question .. has anybody considered using
subversion instead of CVS ? 

-- 
Pip-pip
Sailesh
http://www.cs.berkeley.edu/~sailesh




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: dollar quoting and pg_dump
Next
From: "Marc G. Fournier"
Date:
Subject: pg_dump locks a table on dumping ... ?