Re: Documentation for initdb option --waldir - Mailing list pgsql-docs

From Euler Taveira
Subject Re: Documentation for initdb option --waldir
Date
Msg-id eeb6331a-dd43-4ddf-b378-f59e0fd2c1d7@app.fastmail.com
Whole thread Raw
In response to AW: Documentation for initdb option --waldir  (Theodor Herlo <t.herlo@proventa.de>)
Responses Re: Documentation for initdb option --waldir
List pgsql-docs
On Thu, Mar 27, 2025, at 8:40 AM, Theodor Herlo wrote:
Both look great to me!  I thought the advantage of having different devices is also to easy I/O load. But I guess you have to decide for yourself what is the best strategy. For me it was important to know what initdb does with ---waldir. And this is nicely explained here. 
One more little thing, I stumbled across " should not be a mount point", sounds thirst like it was not good to use the mount point. Maybe: " should not be the mount point itself but a directory in the mount point". It might be only me, you diced. 

Laurenz suggestion looks good to me with some suggestions. I agree with
Theodor's addition but I would use the same sentence from the source code that
says 'subdirectory under the mount point'. I would also consider and/or modify
pg_basebackup documentation that has a similar option. My suggestion is that
waldir option in both tools has similar sentences. The term 'WAL location' is
not appropriate because this terminology is already used to indicate the LSN. I
would replace it with WAL directory.


--
Euler Taveira

pgsql-docs by date:

Previous
From: Theodor Herlo
Date:
Subject: AW: Documentation for initdb option --waldir
Next
From: "David G. Johnston"
Date:
Subject: Re: Documentation for initdb option --waldir