public inbox for [email protected]
help / color / mirror / Atom feedFrom: David G. Johnston <[email protected]>
To: Thomas Butz <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Change WAL directory via conf
Date: Fri, 27 Feb 2026 07:36:14 -0700
Message-ID: <CAKFQuwb9B85khromJGFTxdbAOTBgRFdOXKgiXMYytttSbw9EMw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
On Friday, February 27, 2026, Thomas Butz <[email protected]> wrote:
> Is there a reason why the location of the WAL directory cannot be
> specified via the configuration?
> The documentation describes a workaround using a symbolic link, which I
> find rather awkward:
>
> https://www.postgresql.org/docs/current/wal-internals.html
>
> Why is there no wal_directory analogous to data_directory?
>
WAL is data in the sense of what data_directory covers. Both it and the
main files can be placed outside the physical directory so long as those
external locations can be navigated to by symbolic links. The fact initdb
provides for this means it’s supported just fine. Just no one has bothered
to make a server program to perform that same work post-initdb. An SQL
command is not possible though, we aren’t going to be able to move WAL
while the server is running for hopefully self-evident reasons.
David J.
view thread (2+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Change WAL directory via conf
In-Reply-To: <CAKFQuwb9B85khromJGFTxdbAOTBgRFdOXKgiXMYytttSbw9EMw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox