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

Script binaries renaming

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Script binaries renaming
Date: 2008-03-26 01:21:36
Message-ID: 200803260121.m2Q1Lae10306@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
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

See for reference:

	http://momjian.us/mhonarc/patches/468BB6FB(dot)8050102(at)sun(dot)com(dot)html

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.

---------------------------------------------------------------------------


Zdenek Kotala wrote:
> I attach complete patch which renames following binaries
> 
> createdb createlang createuser dropdb droplang dropuser clusterdb 
> vacuumdb reindexdb
> 
> to
> 
> pg_createdb pg_createlang pg_createuser pg_dropdb pg_droplang 
> pg_dropuser pg_clusterdb pg_vacuumdb pg_reindexdb
> 
> Symlinks (or copy on win32) are created for backward compatibility.
> 
> This renaming was discussed there:
> 
> http://archives.postgresql.org/pgsql-hackers/2007-06/msg00145.php
> 
> I create also separate unified patch for documentation.
> 
> 	Zdenek

[ application/x-gzip is not supported, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
> 
>                 http://www.postgresql.org/about/donate

-- 
  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: Tom LaneDate: 2008-03-26 01:32:10
Subject: Bogosity in contrib/xml2/Makefile
Previous:From: Gregory StarkDate: 2008-03-26 01:03:18
Subject: Re: writing a MIN(RECORD) aggregate

pgsql-patches by date

Next:From: Tom LaneDate: 2008-03-26 01:59:59
Subject: Re: Script binaries renaming
Previous:From: Bruce MomjianDate: 2008-03-26 00:55:42
Subject: Re: Auto Partitioning Patch - WIP version 1

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