src/bin/psql/command.c
static void
save_query_text_state(PsqlScanState scan_state, ConditionalStack cstack,
					  PQExpBuffer query_buf)
{
	if (query_buf)
		conditional_stack_set_query_len(cstack, query_buf->len);
	conditional_stack_set_paren_depth(cstack,
									  psql_scan_get_paren_depth(scan_state));
}
/*
 * Prepare to possibly restore query buffer to its current state
 * (cf. discard_query_text).
 *
 * We need to remember the length of the query buffer, and the lexer's
 * notion of the parenthesis nesting depth.
 */
Prepare to possibly restore query buffer to its current state
(cf.

We need to remember the length of the query buffer, and the lexer's
notion of the parenthesis nesting depth.
Prepare to possibly restore query buffer to its current state ( cf . We need to remember the length of the query buffer and the lexer ' s notion of the parenthesis nesting depth .
static void
save_query_text_state(PsqlScanState scan_state, ConditionalStack cstack,
					  PQExpBuffer query_buf)
{
	if (query_buf)
		conditional_stack_set_query_len(cstack, query_buf->len);
	conditional_stack_set_paren_depth(cstack,
									  psql_scan_get_paren_depth(scan_state));
}
static void save_query_text_state ( PsqlScanState scan_state , ConditionalStack cstack , PQExpBuffer query_buf ) { if ( query_buf ) conditional_stack_set_query_len ( cstack , query_buf -> len ) ; conditional_stack_set_paren_depth ( cstack , psql_scan_get_paren_depth ( scan_state ) ) ; }
Prepare to possibly restore query buffer to its current state
 (cf.
Prepare to possibly restore query buffer to its current state ( cf .