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

Function ignore_boolean_expression

src/bin/psql/command.c:2910–2916  ·  view source on GitHub ↗

* Read a boolean expression, but do nothing with it. * * Note: conditional stack's top state must be INACTIVE, else lexer will * expand variables and backticks, which we do not want here. */

Source from the content-addressed store, hash-verified

2908 * expand variables and backticks, which we do not want here.
2909 */
2910static void
2911ignore_boolean_expression(PsqlScanState scan_state)
2912{
2913 PQExpBuffer buf = gather_boolean_expression(scan_state);
2914
2915 destroyPQExpBuffer(buf);
2916}
2917
2918/*
2919 * Read and discard "normal" slash command options.

Callers 2

exec_command_ifFunction · 0.85
exec_command_elifFunction · 0.85

Calls 2

destroyPQExpBufferFunction · 0.85

Tested by

no test coverage detected