diff options
author | Petr Malik <pmalik@tesora.com> | 2016-09-15 12:11:28 -0400 |
---|---|---|
committer | Petr Malik <pmalik@tesora.com> | 2016-09-20 17:26:05 +0000 |
commit | d5e8e64a44961f33ecdf8e388de69e30d1012aa4 (patch) | |
tree | c3562ad1d1a68c0d46b4d6497f80ba200a6f6404 /trove/templates | |
parent | 129fac7d5374e18a428afa1b5c0259743677222e (diff) | |
download | trove-d5e8e64a44961f33ecdf8e388de69e30d1012aa4.tar.gz |
Fix Postgresql configuration test and guest-log
- Move 'log_min_duration_statement' into non-dynamic values.
Although the property itself is dynamic, it still requires restart
because we don't provide default value for it in our template.
- Add the 'ms' suffix to the 'log_min_duration_statement' time.
Postgres by default returns the default suffix.
Specifing the suffix explicitly fixes the comparison.
- Change the validation rules for PostgreSQL
long_min_duration_statement to string from int.
- Enhance the ConfigurationManager to be able to apply
system overrides *before* user overrides, as well
as after. This allows the logging to be overridden
by the user config values.
- Added to the guest-log scenario test to make sure that the
user log doesn't change after being disabled, and that it
can be enabled again.
Co-Authored-By: Petr Malik <pmalik@tesora.com>
Co-Authored-By: Peter Stachowski <peter@tesora.com>
Closes-Bug: #1624492
Change-Id: I059357d52fa24c609e45c2dc108d2b4ba77b3458
Diffstat (limited to 'trove/templates')
-rw-r--r-- | trove/templates/postgresql/validation-rules.json | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/trove/templates/postgresql/validation-rules.json b/trove/templates/postgresql/validation-rules.json index 9a285eb7..39f64c75 100644 --- a/trove/templates/postgresql/validation-rules.json +++ b/trove/templates/postgresql/validation-rules.json @@ -481,12 +481,6 @@ "type": "string" }, { - "name": "log_min_duration_statement", - "restart_required": false, - "min": -1, - "type": "integer" - }, - { "name": "debug_print_parse", "restart_required": false, "type": "boolean" @@ -902,8 +896,7 @@ { "name": "log_min_duration_statement", "restart_required": false, - "min": -1, - "type": "integer" + "type": "string" } ] } |