Search Postgresql Archives

Re: Survey: renaming/removing script binaries (createdb, createuser...)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 27. March 2008, Alvaro Herrera wrote:
>Zdenek Kotala wrote:
>> And what about two commands one for create and one for drop?
>> It save 6 or 4 chars.
>>
>> pgc db  (as create db)
>> pgc user
>> pgd db  (as drop db)
>> pgd user
>
>Well, there are things besides create and drop -- for example vacuum.

I figure something like the more or less standard options for modern 
*nixes, with short and long options like eg.

pgc -C, --createdb
pgc -a, --adduser
pgc -m, --modify
pgc -D, --dropdb

etc.

Probably the short options should be capitals for db stuff, small 
letters for user stuff.
-- 
Leif Biberg Kristensen | Registered Linux User #338009
http://solumslekt.org/ | Cruising with Gentoo/KDE
My Jazz Jukebox: http://www.last.fm/user/leifbk/

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux