TODO: Rename some /contrib modules from pg* to pg_*

Started by Joshua D. Drakeover 19 years ago8 messages
#1Joshua D. Drake
jd@commandprompt.com

Hello,

I read this as:

1. Fix makefiles so that contrib modules such as pgcrypto are not pg_crypto

2. Move directories to reflect above

3. Fix source and makefiles within sub project directories to create
binaries and libs with correct output.. thus libpgcrypto.so.0.0 would
become libpg_crypto.so.0.0

Is this correct? If so I personally would like to claim this TODO.

Joshua D. Drake

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

#2Joshua D. Drake
jd@commandprompt.com
In reply to: Joshua D. Drake (#1)
Re: TODO: Rename some /contrib modules from pg* to pg_*

Joshua D. Drake wrote:

Hello,

I read this as:

1. Fix makefiles so that contrib modules such as pgcrypto are not pg_crypto

err "are now"

2. Move directories to reflect above

3. Fix source and makefiles within sub project directories to create
binaries and libs with correct output.. thus libpgcrypto.so.0.0 would
become libpg_crypto.so.0.0

Is this correct? If so I personally would like to claim this TODO.

Joshua D. Drake

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Joshua D. Drake (#1)
Re: TODO: Rename some /contrib modules from pg* to pg_*

"Joshua D. Drake" <jd@commandprompt.com> writes:

1. Fix makefiles so that contrib modules such as pgcrypto are not pg_crypto
2. Move directories to reflect above
3. Fix source and makefiles within sub project directories to create
binaries and libs with correct output.. thus libpgcrypto.so.0.0 would
become libpg_crypto.so.0.0

That will lose the CVS history of the modules, which is not worth the
small benefit gained from more consistent-looking names. Renaming
existing shared libraries is also a very bad idea, because it will
break existing dump scripts.

I don't know when that TODO item got put in, but it's a stupid idea.

regards, tom lane

#4Joshua D. Drake
jd@commandprompt.com
In reply to: Tom Lane (#3)
Re: TODO: Rename some /contrib modules from pg* to pg_*

Tom Lane wrote:

"Joshua D. Drake" <jd@commandprompt.com> writes:

1. Fix makefiles so that contrib modules such as pgcrypto are not pg_crypto
2. Move directories to reflect above
3. Fix source and makefiles within sub project directories to create
binaries and libs with correct output.. thus libpgcrypto.so.0.0 would
become libpg_crypto.so.0.0

That will lose the CVS history of the modules, which is not worth the
small benefit gained from more consistent-looking names. Renaming
existing shared libraries is also a very bad idea, because it will
break existing dump scripts.

I don't know when that TODO item got put in, but it's a stupid idea.

O.k. just trying to help :)

Joshua D. Drake

regards, tom lane

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

#5Andrew Dunstan
andrew@dunslane.net
In reply to: Joshua D. Drake (#4)
Re: TODO: Rename some /contrib modules from pg* to pg_*

Marc G. Fournier said:

On Thu, 8 Jun 2006, Tom Lane wrote:

"Joshua D. Drake" <jd@commandprompt.com> writes:

1. Fix makefiles so that contrib modules such as pgcrypto are not
pg_crypto 2. Move directories to reflect above
3. Fix source and makefiles within sub project directories to create
binaries and libs with correct output.. thus libpgcrypto.so.0.0 would
become libpg_crypto.so.0.0

That will lose the CVS history of the modules

Umm, if co-ordinated with me, I can make the name changes at the file
system level, so that history isn't lost ..

Renaming directories is nasty in CVS no matter which way you look at it - it
is one of the known bad limitations. You might preserve the history but you
could also break every existing repo copy. See
http://ximbiot.com/cvs/manual/cvs-1.11.15/cvs_7.html#SEC74

Unless there is a *very* good reason this should be avoided.

cheers

andrew

#6Marc G. Fournier
scrappy@postgresql.org
In reply to: Tom Lane (#3)
Re: TODO: Rename some /contrib modules from pg* to pg_*

On Thu, 8 Jun 2006, Tom Lane wrote:

"Joshua D. Drake" <jd@commandprompt.com> writes:

1. Fix makefiles so that contrib modules such as pgcrypto are not pg_crypto
2. Move directories to reflect above
3. Fix source and makefiles within sub project directories to create
binaries and libs with correct output.. thus libpgcrypto.so.0.0 would
become libpg_crypto.so.0.0

That will lose the CVS history of the modules

Umm, if co-ordinated with me, I can make the name changes at the file
system level, so that history isn't lost ..

----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email . scrappy@hub.org MSN . scrappy@hub.org
Yahoo . yscrappy Skype: hub.org ICQ . 7615664

#7Tom Lane
tgl@sss.pgh.pa.us
In reply to: Andrew Dunstan (#5)
Re: TODO: Rename some /contrib modules from pg* to pg_*

"Andrew Dunstan" <andrew@dunslane.net> writes:

Renaming directories is nasty in CVS no matter which way you look at it - it
is one of the known bad limitations. You might preserve the history but you
could also break every existing repo copy. See
http://ximbiot.com/cvs/manual/cvs-1.11.15/cvs_7.html#SEC74

Unless there is a *very* good reason this should be avoided.

I think the we-shouldn't-rename-the-shlibs argument is sufficient to
kill the idea, quite aside from CVS limitations.

regards, tom lane

#8Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Tom Lane (#7)
Re: TODO: Rename some /contrib modules from pg* to pg_*

Tom Lane wrote:

"Andrew Dunstan" <andrew@dunslane.net> writes:

Renaming directories is nasty in CVS no matter which way you look at it - it
is one of the known bad limitations. You might preserve the history but you
could also break every existing repo copy. See
http://ximbiot.com/cvs/manual/cvs-1.11.15/cvs_7.html#SEC74

Unless there is a *very* good reason this should be avoided.

I think the we-shouldn't-rename-the-shlibs argument is sufficient to
kill the idea, quite aside from CVS limitations.

TODO removed.

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +