* \t -- turn off table headers and row count */
| 2488 | * \t -- turn off table headers and row count |
| 2489 | */ |
| 2490 | static backslashResult |
| 2491 | exec_command_t(PsqlScanState scan_state, bool active_branch) |
| 2492 | { |
| 2493 | bool success = true; |
| 2494 | |
| 2495 | if (active_branch) |
| 2496 | { |
| 2497 | char *opt = psql_scan_slash_option(scan_state, |
| 2498 | OT_NORMAL, NULL, true); |
| 2499 | |
| 2500 | success = do_pset("tuples_only", opt, &pset.popt, pset.quiet); |
| 2501 | free(opt); |
| 2502 | } |
| 2503 | else |
| 2504 | ignore_slash_options(scan_state); |
| 2505 | |
| 2506 | return success ? PSQL_CMD_SKIP_LINE : PSQL_CMD_ERROR; |
| 2507 | } |
| 2508 | |
| 2509 | /* |
| 2510 | * \T -- define html <table ...> attributes |
no test coverage detected