Skip to content

Commit

Permalink
support all pgaudit settings on set_pgaudit_parameter and set_pgaudit…
Browse files Browse the repository at this point in the history
…_role_parameter
  • Loading branch information
kathia-barahona committed Nov 29, 2023
1 parent 4acb009 commit 09e6de6
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions sql/aiven_extras.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 09e6de6

Please sign in to comment.