MCPcopy Create free account
hub / github.com/CrunchyData/postgres-operator / normalize

Method normalize

internal/postgres/parameters.go:153–157  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

151}
152
153func (*ParameterSet) normalize(name string) string {
154 // All parameter names are case-insensitive.
155 // -- https://www.postgresql.org/docs/current/config-setting.html
156 return strings.ToLower(name)
157}
158
159// Value returns empty string or the value of parameter name if it is present in ps.
160func (ps *ParameterSet) Value(name string) string {

Callers 2

AddMethod · 0.95
GetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected