Re: Working with PostgreSQL source tree (was Re: Not ready for 8.3)
От | Pavan Deolasee |
---|---|
Тема | Re: Working with PostgreSQL source tree (was Re: Not ready for 8.3) |
Дата | |
Msg-id | 2e78013d0705180302n65e38cd6vcbb642643cfbc502@mail.gmail.com обсуждение исходный текст |
Ответ на | Working with PostgreSQL source tree (was Re: Not ready for 8.3) (Heikki Linnakangas <heikki@enterprisedb.com>) |
Ответы |
Re: Working with PostgreSQL source tree (was Re: Not ready
for 8.3)
|
Список | pgsql-hackers |
On 5/18/07, Heikki Linnakangas <heikki@enterprisedb.com> wrote:
You can use cvs co -d pgsql.cluster to save the above step.
I find configuring with CFLAGS="-g -O0" more useful.
I usually commit each version and tag the tree. That helps me to get
diff between two versions as well.
Thanks,
When I start working on a subject, I make a new checkout from the local
repository to a designated directory under "pg_sandbox"-directory. For
example, when I started working on the mvcc-safe cluster patch:
~/pg_sandbox$ cvs -d /home/hlinnaka/pgcvsrepository cvs co pgsql
~/pg_sandbox$ mv pgsql pgsql.cluster
You can use cvs co -d pgsql.cluster to save the above step.
~/pg_sandbox$ cd pgsql.cluster
~/pg_sandbox/pgsql.cluster$ cvs update -dP # Remove empty dirs.
There's a checkout-flag for that as well, but I never remember it...
~/pg_sandbox/pgsql.cluster$ ./configure --enable-depend --enable-cassert
--enable-debug --prefix=/home/hlinnaka/pgsql.cluster
I find configuring with CFLAGS="-g -O0" more useful.
For primitive version control, I make a diff after any significant changes:
~/pg_sandbox/pgsql.cluster$ cvs diff -cN > cluster-mvcc-1.patch
I usually commit each version and tag the tree. That helps me to get
diff between two versions as well.
Pavan
--
Pavan Deolasee
EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: