* \T -- define html attributes */
| 2510 | * \T -- define html <table ...> attributes |
| 2511 | */ |
| 2512 | static backslashResult |
| 2513 | exec_command_T(PsqlScanState scan_state, bool active_branch) |
| 2514 | { |
| 2515 | bool success = true; |
| 2516 | |
| 2517 | if (active_branch) |
| 2518 | { |
| 2519 | char *value = psql_scan_slash_option(scan_state, |
| 2520 | OT_NORMAL, NULL, false); |
| 2521 | |
| 2522 | success = do_pset("tableattr", value, &pset.popt, pset.quiet); |
| 2523 | free(value); |
| 2524 | } |
| 2525 | else |
| 2526 | ignore_slash_options(scan_state); |
| 2527 | |
| 2528 | return success ? PSQL_CMD_SKIP_LINE : PSQL_CMD_ERROR; |
| 2529 | } |
| 2530 | |
| 2531 | /* |
| 2532 | * \timing -- enable/disable timing of queries |
no test coverage detected