Skip site navigation (1) Skip section navigation (2)

Re: Script binaries renaming

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Script binaries renaming
Date: 2008-03-26 02:51:53
Message-ID: 200803260251.m2Q2prO02000@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)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

True.

> > 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?

Uh, I think it is hard to make a case that 'createuser' is an
appropriate name for a Postgres utility.  On the other hand, we haven't
had many complaints about it, which is kind of odd.

I feel people can always symlink in the old names if they still want
them after we remove the old names.

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

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

In response to

Responses

pgsql-hackers by date

Next:From: Jonathan Bond-CaronDate: 2008-03-26 03:19:42
Subject: Re: PostgreSQL Replication with read-only access to standby DB
Previous:From: Bruce MomjianDate: 2008-03-26 02:49:14
Subject: Re: [PATCHES] Add function for quote_qualified_identifier?

pgsql-patches by date

Next:From: Marc G. FournierDate: 2008-03-26 04:40:32
Subject: Re: Script binaries renaming
Previous:From: Bruce MomjianDate: 2008-03-26 02:49:14
Subject: Re: [PATCHES] Add function for quote_qualified_identifier?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group