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

Method Add

internal/postgres/parameters.go:121–123  ·  view source on GitHub ↗

Add sets parameter name to value.

(name, value string)

Source from the content-addressed store, hash-verified

119
120// Add sets parameter name to value.
121func (ps *ParameterSet) Add(name, value string) {
122 ps.values[ps.normalize(name)] = value
123}
124
125// AppendToList adds each value to the right-hand side of parameter name
126// as a comma-separated list without quoting.

Callers 8

TestParameterSetFunction · 0.95
TestParameterSetEqualFunction · 0.95
AppendToListMethod · 0.95
TestDynamicConfigurationFunction · 0.95
PostgresParametersFunction · 0.95
SetHugePagesFunction · 0.45
SanitizeParametersFunction · 0.45
NewParametersFunction · 0.45

Calls 1

normalizeMethod · 0.95

Tested by 3

TestParameterSetFunction · 0.76
TestParameterSetEqualFunction · 0.76
TestDynamicConfigurationFunction · 0.76