* \a -- toggle field alignment * * This makes little sense but we keep it around. */
| 433 | * This makes little sense but we keep it around. |
| 434 | */ |
| 435 | static backslashResult |
| 436 | exec_command_a(PsqlScanState scan_state, bool active_branch) |
| 437 | { |
| 438 | bool success = true; |
| 439 | |
| 440 | if (active_branch) |
| 441 | { |
| 442 | if (pset.popt.topt.format != PRINT_ALIGNED) |
| 443 | success = do_pset("format", "aligned", &pset.popt, pset.quiet); |
| 444 | else |
| 445 | success = do_pset("format", "unaligned", &pset.popt, pset.quiet); |
| 446 | } |
| 447 | |
| 448 | return success ? PSQL_CMD_SKIP_LINE : PSQL_CMD_ERROR; |
| 449 | } |
| 450 | |
| 451 | /* |
| 452 | * \C -- override table title (formerly change HTML caption) |
no test coverage detected