src/bin/psql/command.c
static bool
is_true_boolean_expression(PsqlScanState scan_state, const char *name)
{
	PQExpBuffer buf = gather_boolean_expression(scan_state);
	bool		value = false;
	bool		success = ParseVariableBool(buf->data, name, &value);

	destroyPQExpBuffer(buf);
	return success && value;
}
/*
 * Read a boolean expression, return true if the expression
 * was a valid boolean expression that evaluated to true.
 * Otherwise return false.
 *
 * Note: conditional stack's top state must be active, else lexer will
 * fail to expand variables and backticks.
 */
Read a boolean expression, return true if the expression
was a valid boolean expression that evaluated to true.
Otherwise return false.

conditional stack's top state must be active, else lexer will
fail to expand variables and backticks.
Read a boolean expression return true if the expression was a valid boolean expression that evaluated to true . Otherwise return false . conditional stack ' s top state must be active else lexer will fail to expand variables and backticks .
static bool
is_true_boolean_expression(PsqlScanState scan_state, const char *name)
{
	PQExpBuffer buf = gather_boolean_expression(scan_state);
	bool		value = false;
	bool		success = ParseVariableBool(buf->data, name, &value);
	destroyPQExpBuffer(buf);
	return success && value;
}
static bool is_true_boolean_expression ( PsqlScanState scan_state , const char * name ) { PQExpBuffer buf = gather_boolean_expression ( scan_state ) ; bool value = false ; bool success = ParseVariableBool ( buf -> data , name , & value ) ; destroyPQExpBuffer ( buf ) ; return success && value ; }
Read a boolean expression, return true if the expression
 was a valid boolean expression that evaluated to true.
Read a boolean expression return true if the expression was a valid boolean expression that evaluated to true .