Skip to content

Use pg_ls_waldir() in PG10 instead of pg_ls_dir() #145

Closed
@keithf4

Description

@keithf4

I see there are already conditionals in the code to allow the wal_files check to work in PG10 after the folder name change. What would be better would be to use the pg_ls_waldir() function instead. This would allow any role granted pg_monitor to be able to run this check. pg_ls_dir() always requires a superuser to use it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions