public inbox for [email protected]
help / color / mirror / Atom feedChange WAL directory via conf
2+ messages / 2 participants
[nested] [flat]
* Change WAL directory via conf
@ 2026-02-27 13:50 Thomas Butz <[email protected]>
2026-02-27 14:36 ` Re: Change WAL directory via conf David G. Johnston <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Butz @ 2026-02-27 13:50 UTC (permalink / raw)
To: [email protected]
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?
--
Thomas Butz
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Change WAL directory via conf
2026-02-27 13:50 Change WAL directory via conf Thomas Butz <[email protected]>
@ 2026-02-27 14:36 ` David G. Johnston <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: David G. Johnston @ 2026-02-27 14:36 UTC (permalink / raw)
To: Thomas Butz <[email protected]>; +Cc: [email protected] <[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.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-02-27 14:36 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-02-27 13:50 Change WAL directory via conf Thomas Butz <[email protected]>
2026-02-27 14:36 ` David G. Johnston <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox