MCPcopy Create free account
hub / github.com/apache/cloudberry / PsqlVarEnumError

Function PsqlVarEnumError

src/bin/psql/variables.c:416–422  ·  view source on GitHub ↗

* 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". */

Source from the content-addressed store, hash-verified

414 * suggestions should follow the format "fee, fi, fo, fum".
415 */
416void
417PsqlVarEnumError(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}

Callers 8

echo_hookFunction · 0.85
echo_hidden_hookFunction · 0.85
on_error_rollback_hookFunction · 0.85
comp_keyword_case_hookFunction · 0.85
histcontrol_hookFunction · 0.85
verbosity_hookFunction · 0.85
show_context_hookFunction · 0.85
do_psetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected