Skip to content

Commit

Permalink
Allow setting DEFERRED database parameters.
Browse files Browse the repository at this point in the history
Formerly, attempts to set parameters with ISSYS_MODIFIABLE = DEFERRED would have resulted in the error "ORA-02096: specified initialization parameter is not modifiable with this option". Example parameter: RECYCLEBIN.
  • Loading branch information
nblxa committed Oct 20, 2022
1 parent 607582e commit 7492999
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions oracle/controllers/config_agent_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,9 @@ func SetParameter(ctx context.Context, dbClientFactory DatabaseClientFactory, r
command = fmt.Sprintf("%s scope=spfile", command)
isStatic = true
}
if paramType == "DEFERRED" {
command = fmt.Sprintf("%s deferred", command)
}

_, err = dbClient.RunSQLPlus(ctx, &dbdpb.RunSQLPlusCMDRequest{
Commands: []string{command},
Expand Down

0 comments on commit 7492999

Please sign in to comment.