Search Postgresql Archives

Re: initdb createuser commands

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

 



> as these commands have been around for like 20 years, its kinda late to change them

I understand your position.

For new documentation, it should be better to say `pg_ctl init` rather
than `initdb`. I think that would guide users in the right direction
from the start. Even if maintaining the old commands, they could print
out to stderr "This command is deprecated and now wraps `pg_ctl init`.
Please use that command in the future".

> initdb is now accessible from pg_ctl:

Thanks Adrian, that's really helpful and exactly what I was looking for.

Should we update the Arch Linux documentation to prefer these
commands? What is the recommendation here?

On 29 October 2016 at 12:39, John R Pierce <pierce@xxxxxxxxxxxx> wrote:
> On 10/28/2016 4:31 PM, Samuel Williams wrote:
>>
>> Just wondering as the naming of these commands seems overly generic
>> and for a new user it's hard to know what commands are available since
>> there is no common prefix (e.g. pg_<tab>) for these commands.
>
>
> as these commands have been around for like 20 years, its kinda late to
> change them
>
>
> --
> john r pierce, recycling bits in santa cruz
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general


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