Re: initdb - creating clusters

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: gazzatav(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: initdb - creating clusters
Date: 2020-07-10 06:51:22
Message-ID: f6eb63820d68a37f4530b54c6cf364cd8959882a.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Thu, 2020-07-09 at 15:25 +0000, PG Doc comments form wrote:
> I'm searching for what a cluster is and how to create one. The
> documentation tells me to use initdb -D path/to/cluster. I am told that
> this is installed when I installed postgresql. I try to run it with no
> success. Searching for an answer I find that I'm supposed to use
> pg_createcluster because initdb is version dependent and not made
> executable. It seems like there is an omission here as the documentation on
> this page also mentions pg_ctl which my system (Ubuntu 18.04) knows nothing
> about using the 'which' command. I can imagine that someone might argue
> that this is system dependent - I don't know whether that is true or not. I
> have generally found the documentation excellent and certainly not inward
> looking. For instance the documentation on replication strategies includes
> proprietary solutions.
>
> I would suggest that you include a paragraph stating that various operating
> systems use other commands to avoid version conflict and suggest the reader
> search for '<user-system> pg_ctl'. I can understand why you might not want
> to link to external sites in your documentation. (While writing this I have
> searched to make sure I'm not writing rubbish and already understand that
> pg_createcluster is a Debian solution/variant.)

Something like the attached?

Yours,
Laurenz Albe

Attachment Content-Type Size
0001-Document-that-installation-packages-may-provide-othe.patch text/x-patch 1.3 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Jeff Davis 2020-07-10 08:29:18 Re: Default setting for enable_hashagg_disk
Previous Message Peter Geoghegan 2020-07-10 01:21:07 Re: Default setting for enable_hashagg_disk