diff options
| author | Tom Lane | 2023-05-19 21:24:48 +0000 |
|---|---|---|
| committer | Tom Lane | 2023-05-19 21:24:48 +0000 |
| commit | 0245f8db36f375326c2bae0c3420d3c77714e72d (patch) | |
| tree | 7ce91f23658a05ea24be4703fb06cdc6b56248f7 /src/fe_utils/print.c | |
| parent | df6b19fbbc20d830de91d9bea68715a39635b568 (diff) | |
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files.
This set of diffs is a bit larger than typical. We've updated to
pg_bsd_indent 2.1.2, which properly indents variable declarations that
have multi-line initialization expressions (the continuation lines are
now indented one tab stop). We've also updated to perltidy version
20230309 and changed some of its settings, which reduces its desire to
add whitespace to lines to make assignments etc. line up. Going
forward, that should make for fewer random-seeming changes to existing
code.
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/fe_utils/print.c')
| -rw-r--r-- | src/fe_utils/print.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fe_utils/print.c b/src/fe_utils/print.c index 3396f9b4623..7af1ccb6b56 100644 --- a/src/fe_utils/print.c +++ b/src/fe_utils/print.c @@ -1295,10 +1295,11 @@ print_aligned_vertical_line(const printTableOpt *topt, dwidth = Min(dwidth, Max(0, (int) (output_columns - hwidth))); if (opt_border == 1) dwidth = Min(dwidth, Max(0, (int) (output_columns - hwidth - 3))); + /* - * Handling the xheader width for border=2 doesn't make - * much sense because this format has an additional - * right border, but keep this for consistency. + * Handling the xheader width for border=2 doesn't make much + * sense because this format has an additional right border, + * but keep this for consistency. */ if (opt_border == 2) dwidth = Min(dwidth, Max(0, (int) (output_columns - hwidth - 7))); |
