Re: proposal (9.5) : psql unicode border line styles - Mailing list pgsql-hackers

From Andres Freund
Subject Re: proposal (9.5) : psql unicode border line styles
Date
Msg-id 20140918105128.GG17265@alap3.anarazel.de
Whole thread Raw
In response to Re: proposal (9.5) : psql unicode border line styles  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: proposal (9.5) : psql unicode border line styles  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
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.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal (9.5) : psql unicode border line styles
Next
From: Pavel Stehule
Date:
Subject: Re: proposal (9.5) : psql unicode border line styles