From 09e6de69749568c28be2d31dd579c3e5c2d31e2e Mon Sep 17 00:00:00 2001 From: Kathia Barahona Date: Wed, 29 Nov 2023 10:53:50 +0100 Subject: [PATCH] support all pgaudit settings on set_pgaudit_parameter and set_pgaudit_role_parameter --- sql/aiven_extras.sql | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/sql/aiven_extras.sql b/sql/aiven_extras.sql index 7fce9e9..2c2c1f2 100644 --- a/sql/aiven_extras.sql +++ b/sql/aiven_extras.sql @@ -479,12 +479,17 @@ BEGIN ELSIF arg_parameter NOT IN ( 'log', 'log_catalog', + 'log_client', + 'log_level', 'log_max_string_length', 'log_nested_statements', 'log_parameter', + 'log_parameter_max_size', 'log_relation', + 'log_rows', 'log_statement', - 'log_statement_once' + 'log_statement_once', + 'role' ) THEN RAISE EXCEPTION 'Invalid parameter: %', arg_parameter; END IF; @@ -520,12 +525,17 @@ BEGIN ELSIF arg_parameter NOT IN ( 'log', 'log_catalog', + 'log_client', + 'log_level', 'log_max_string_length', 'log_nested_statements', 'log_parameter', + 'log_parameter_max_size', 'log_relation', + 'log_rows', 'log_statement', - 'log_statement_once' + 'log_statement_once', + 'role' ) THEN RAISE EXCEPTION 'Invalid parameter: %', arg_parameter; END IF;