go fmt run
This commit is contained in:
parent
71f57c9fe3
commit
2352fc9a39
|
|
@ -173,7 +173,7 @@ func produceAlterStmt(user spec.PgUser) string {
|
||||||
func produceAlterRoleSetStmts(user spec.PgUser) []string {
|
func produceAlterRoleSetStmts(user spec.PgUser) []string {
|
||||||
result := make([]string, 0)
|
result := make([]string, 0)
|
||||||
result = append(result, fmt.Sprintf(alterRoleResetAllSQL, user.Name))
|
result = append(result, fmt.Sprintf(alterRoleResetAllSQL, user.Name))
|
||||||
for key, value := range(user.Parameters) {
|
for key, value := range user.Parameters {
|
||||||
result = append(result, fmt.Sprintf(alterRoleSetSQL, user.Name, key, quoteValue(value)))
|
result = append(result, fmt.Sprintf(alterRoleSetSQL, user.Name, key, quoteValue(value)))
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue