Skip to content

Commit

Permalink
fix: change type of value to string for log-min-duration (#2977)
Browse files Browse the repository at this point in the history
* fix: change type of value to string for log-min-duration

* chore: update node version in .tool-versions

* fix: convert setting value to string in explain function

* fix: revert change to setting.value type in explain function

* fix: change arg type to string in log-min-duration-statement
  • Loading branch information
k80bowman authored Aug 16, 2024
1 parent aa560d3 commit 3224705
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 16.19.0
nodejs 16.20.0
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default class LogMinDuration extends PGSettingsCommand {

static args = {
database: Args.string(),
value: Args.integer(),
value: Args.string(),
}

protected settingKey: SettingKey = 'auto_explain.log_min_duration'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default class LogMinDurationStatement extends PGSettingsCommand {

static args = {
database: Args.string(),
value: Args.integer(),
value: Args.string(),
}

protected settingKey:SettingKey = 'log_min_duration_statement'
Expand Down

0 comments on commit 3224705

Please sign in to comment.