Re: proposal (9.5) : psql unicode border line styles

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Tomas Vondra <tv(at)fuzzy(dot)cz>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal (9.5) : psql unicode border line styles
Date: 2014-09-18 10:51:28
Message-ID: 20140918105128.GG17265@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2014-09-18 10:54:38 Re: proposal (9.5) : psql unicode border line styles
Previous Message Pavel Stehule 2014-09-18 10:47:25 Re: proposal (9.5) : psql unicode border line styles