Re: Script binaries renaming

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Script binaries renaming
Дата
Msg-id 1206533519.8818.5.camel@mha-laptop.clients.sollentuna.se
обсуждение исходный текст
Ответ на Re: Script binaries renaming  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Script binaries renaming  (Zdeněk Kotala <Zdenek.Kotala@Sun.COM>)
Re: Script binaries renaming  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, 2008-03-25 at 21:59 -0400, Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Where are we on this?  Tom thinks we don't want this.  TODO has:
> >       * Prefix command-line utilities like createuser with 'pg_'
> >         http://archives.postgresql.org/pgsql-hackers/2007-06/msg00025.php
> 
> It wasn't just me; quite a few people were dubious about it when the
> patch was submitted.  See the thread here:
> http://archives.postgresql.org/pgsql-patches/2007-07/msg00055.php
> 
> > One idea is to keep the existing commands and just add pg_* (or pg*) to
> > additional versions, with the idea that the original versions will be
> > removed some day.
> 
> AFAICS the only argument for doing this is to eliminate confusion and
> potential conflicts, which means that we get no benefit at all until we
> actually do remove the old names.  So if we're going to do this, we have
> to make a commitment that we're going to remove the old names within the
> reasonably foreseeable future (say, about two releases out).
> 
> Are we really prepared to break everyone's scripts for this?

I wonder how many people actually use those commands :-) I know I always
use psql with a commandline parameter, and the majority of other peoples
scripts that I've come across also do that. So I'm not sure exactly how
important it is.

Another option then might be to simply deprecate their use, and
eventually get rid of them, instead of renaming them?

//Magnus


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Zdeněk Kotala
Дата:
Сообщение: Re: Script binaries renaming
Следующее
От: Zdeněk Kotala
Дата:
Сообщение: Re: Script binaries renaming