We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
GetGoPsutilDiskPG()
1 parent a336d46 commit 6a500b0Copy full SHA for 6a500b0
1 file changed
internal/reaper/file.go
@@ -35,7 +35,7 @@ const sqlPgDirs = `select name, path from
35
('data_directory', current_setting('data_directory')),
36
('pg_wal', current_setting('data_directory')||'/pg_wal'),
37
('log_directory', case
38
- when current_setting('log_directory') ~ '/.+' then current_setting('log_directory')
+ when current_setting('log_directory') ~ '^(\w:)?\/.+' then current_setting('log_directory')
39
else current_setting('data_directory') || '/' || current_setting('log_directory')
40
end)) as d(name, path)
41
union all
0 commit comments