Re: linked list rewrite

Поиск
Список
Период
Сортировка
От Sailesh Krishnamurthy
Тема Re: linked list rewrite
Дата
Msg-id mjqu10f34cm.fsf@cs.berkeley.edu
обсуждение исходный текст
Ответ на linked list rewrite  (Neil Conway <neilc@samurai.com>)
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: dollar quoting and pg_dump
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: pg_dump locks a table on dumping ... ?