2014-09-18 12:51 GMT+02:00 Andres Freund <and...@2ndquadrant.com>:

> On 2014-09-18 12:47:25 +0200, Pavel Stehule wrote:
> > -     output = PageOutput(81, pager);
> > +     output = PageOutput(87, pager);
> >
> >       fprintf(output, _("List of specially treated variables.\n"));
> >
> > @@ -364,6 +364,10 @@ helpVariables(unsigned short int pager)
> >                                        "                     column
> width of left aligned data type in latex format\n"));
> >       fprintf(output, _("  title              set the table title for
> any subsequently printed tables\n"));
> >       fprintf(output, _("  tuples_only        if set, only actual table
> data is shown\n"));
> > +     fprintf(output, _("  unicode_border_linestyle\n"));
> > +     fprintf(output, _("  unicode_column_linestyle\n"));
> > +     fprintf(output, _("  unicode_header_linestyle\n"
> > +                                      "                     set the
> style of unicode line drawing [single, double]\n"));
> >
> >       fprintf(output, _("\nEnvironment variables:\n"));
> >       fprintf(output, _("Usage:\n"));
>
> Either the current line count is wrong, or you added the wrong number of
> new lines to PageOutput(). Your patch only adds four \n, while you
> increased from 81 to 87.
>

true, sorry, I have a different wording in first design

fixed

Regards

Pavel


>
> Greetings,
>
> Andres Freund
>
> --
>  Andres Freund                     http://www.2ndQuadrant.com/
>  PostgreSQL Development, 24x7 Support, Training & Services
>
commit aec4a03babdbed49d80253112b0d31108761e860
Author: Pavel Stehule <pavel.steh...@gooddata.com>
Date:   Thu Sep 18 12:45:27 2014 +0200

    initial

diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index 6035a77..d323a14 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -305,7 +305,7 @@ helpVariables(unsigned short int pager)
 {
 	FILE	   *output;
 
-	output = PageOutput(81, pager);
+	output = PageOutput(85, pager);
 
 	fprintf(output, _("List of specially treated variables.\n"));
 
@@ -364,6 +364,10 @@ helpVariables(unsigned short int pager)
 					 "                     column width of left aligned data type in latex format\n"));
 	fprintf(output, _("  title              set the table title for any subsequently printed tables\n"));
 	fprintf(output, _("  tuples_only        if set, only actual table data is shown\n"));
+	fprintf(output, _("  unicode_border_linestyle\n"));
+	fprintf(output, _("  unicode_column_linestyle\n"));
+	fprintf(output, _("  unicode_header_linestyle\n"
+					 "                     set the style of unicode line drawing [single, double]\n"));
 
 	fprintf(output, _("\nEnvironment variables:\n"));
 	fprintf(output, _("Usage:\n"));
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to