psql-utf8-table-4-changes.patch

text/x-diff

Filename: psql-utf8-table-4-changes.patch
Type: text/x-diff
Part: 1
Message: Re: Unicode UTF-8 table formatting for psql text output

Patch

Format: unified
File+
src/bin/psql/print.c 1 1
src/bin/psql/print.h 1 1
diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c
index f85e507..41d508e 100644
--- a/src/bin/psql/print.c
+++ b/src/bin/psql/print.c
@@ -382,7 +382,7 @@ static const struct printTextFormat utf8format =
 	  /* ─, └, ┴, ┘ */
 	  { "\342\224\200", "\342\224\224", "\342\224\264", "\342\224\230" },
 	  /* N/A, │, │, │ */
-	  { "", "\342\224\202", "\342\224\202", "\342\224\202" },
+	  { "", "\342\224\202", "\342\224\202", "\342\224\202" }
 	},
 	  /* ╎ */
 	  "\342\225\216",
diff --git a/src/bin/psql/print.h b/src/bin/psql/print.h
index 64d34f0..ea1dc97 100644
--- a/src/bin/psql/print.h
+++ b/src/bin/psql/print.h
@@ -116,7 +116,7 @@ typedef enum printTextRule
 	PRINT_RULE_TOP,
 	PRINT_RULE_MIDDLE,
 	PRINT_RULE_BOTTOM,
-	PRINT_RULE_DATA,
+	PRINT_RULE_DATA
 } printTextRule;