From 9258b5087c36bd2ac149e93ea33b55fc00e4ec04 Mon Sep 17 00:00:00 2001 From: kakuiho <61496907+kakuiho@users.noreply.github.com> Date: Mon, 9 Dec 2024 12:08:48 +0800 Subject: [PATCH] Fixed 'pq: permission denied for function pg_ls_waldir' on PostgreSQL v16.6. Signed-off-by: kakuiho <61496907+kakuiho@users.noreply.github.com> --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4c464e210..6cb892aae 100644 --- a/README.md +++ b/README.md @@ -418,6 +418,7 @@ AS SELECT * FROM get_pg_stat_statements(); GRANT SELECT ON postgres_exporter.pg_stat_statements TO postgres_exporter; +GRANT ALL ON FUNCTION pg_catalog.pg_ls_waldir() TO postgres_exporter; ``` > **NOTE**