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

From Pavel Stehule
Subject Re: proposal (9.5) : psql unicode border line styles
Date
Msg-id CAFj8pRDBgrGkxdspH3BGBxh+6RFC1RXbAAbHxqvjTXdEbzYDQA@mail.gmail.com
Whole thread Raw
In response to Re: proposal (9.5) : psql unicode border line styles  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: proposal (9.5) : psql unicode border line styles
List pgsql-hackers


2014-09-18 12:51 GMT+02:00 Andres Freund <andres@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

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: proposal (9.5) : psql unicode border line styles
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Collations and Replication; Next Steps