| From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
|---|---|
| To: | Bruce Momjian <bruce(at)momjian(dot)us> |
| Cc: | jonas(at)morfosia(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Minor improvement for creating directory structure |
| Date: | 2019-05-09 21:59:12 |
| Message-ID: | 20190509215912.GA24114@alvherre.pgsql |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
On 2019-May-09, Bruce Momjian wrote:
> On Wed, May 8, 2019 at 07:40:16AM +0000, PG Doc comments form wrote:
> > The following documentation comment has been logged on the website:
> >
> > Page: https://www.postgresql.org/docs/10/install-short.html
> > Description:
> >
> > 1)
> > $ mkdir /usr/local/pgsql/data
> > mkdir: cannot create directory ‘/usr/local/pgsql/data’: No such file or
> > directory
>
> My docs say:
>
> -p, --parents
> no error if existing, make parent directories as needed
>
> While I can see the value of "make parent directories as needed", having
> it do "no error if existing" could be bad.
Why? initdb is going to fail anyway if it contains anything.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2019-05-09 22:02:31 | Re: Minor improvement for creating directory structure |
| Previous Message | Bruce Momjian | 2019-05-09 21:21:32 | Re: Minor improvement for creating directory structure |