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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Tue, 25 Mar 2008 21:21:36 -0400 (EDT)
  • Message-id: <200803260121.m2Q1Lae10306@momjian.us> <text/plain>

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. +



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group