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 Apr 8, 2024
1 parent 1504010 commit 4f682b2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions sql/aiven_extras--1.1.11--1.1.12.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-- NOOP
14 changes: 12 additions & 2 deletions sql/aiven_extras.sql
Original file line number Diff line number Diff line change
Expand Up @@ -483,12 +483,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 @@ -524,12 +529,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 4f682b2

Please sign in to comment.