* Emit error with suggestions for variables or commands * accepting enum-style arguments. * This function just exists to standardize the wording. * suggestions should follow the format "fee, fi, fo, fum". */
| 414 | * suggestions should follow the format "fee, fi, fo, fum". |
| 415 | */ |
| 416 | void |
| 417 | PsqlVarEnumError(const char *name, const char *value, const char *suggestions) |
| 418 | { |
| 419 | pg_log_error("unrecognized value \"%s\" for \"%s\"\n" |
| 420 | "Available values are: %s.", |
| 421 | value, name, suggestions); |
| 422 | } |
no outgoing calls
no test coverage detected