(name string)
| 151 | } |
| 152 | |
| 153 | func (*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. |
| 160 | func (ps *ParameterSet) Value(name string) string { |