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

Function get_line_style

src/fe_utils/print.c:3555–3567  ·  view source on GitHub ↗

get selected or default line style */

Source from the content-addressed store, hash-verified

3553
3554/* get selected or default line style */
3555const printTextFormat *
3556get_line_style(const printTableOpt *opt)
3557{
3558 /*
3559 * Note: this function mainly exists to preserve the convention that a
3560 * printTableOpt struct can be initialized to zeroes to get default
3561 * behavior.
3562 */
3563 if (opt->line_style != NULL)
3564 return opt->line_style;
3565 else
3566 return &pg_asciiformat;
3567}
3568
3569void
3570refresh_utf8format(const printTableOpt *opt)

Callers 4

print_aligned_textFunction · 0.85
print_aligned_verticalFunction · 0.85
printPsetInfoFunction · 0.85
pset_value_stringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected