Re: [Fwd: Re: proposal: new long psql parameter --on-error-stop]

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: MauMau <maumau307(at)gmail(dot)com>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Erik Rijkers <er(at)xs4all(dot)nl>, Petr Jelinek <petr(at)2ndquadrant(dot)com>
Subject: Re: [Fwd: Re: proposal: new long psql parameter --on-error-stop]
Date: 2014-06-25 19:34:07
Message-ID: CAFj8pRAYm3Aq24nB7MFH8kAUVViQcsRwivPowDHoTyYhZtAxAg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

Here is next update

2014-06-25 17:17 GMT+02:00 MauMau <maumau307(at)gmail(dot)com>:

> OK, let me help you, though I'm only a Japanese who is never confident in
> my English.
>
> (1)
> As Fujii-san pointed out, could you add explanation for --help-variables
> in doc/src/sgml/ref/psqlref.sgml?
>
>
> (2)
>
> + printf(_(" --help-variables list of available configuration
> variables (options), then exit\n"));
>
> should better be:
>
> + printf(_(" --help-variables show A list of all specially
> treated variables, then exit\n"));
>
> This follows the psql manual page. Similarly,
>
> + printf(_("List of variables (options) for use from command line.\n"));
>
> should be:
>
> + printf(_("List of specially treated variables.\n"));
>
>
> (3)
> + printf(_(" ECHO control what input can be writtent to
> standard output [all, queries]\n"));
>
> "writtent" should be "written". "controls" should be "control" like other
> options.
>
>
> (4)
> + printf(_(" ECHO_HIDDEN display internal queries (same as -E
> option)\n"));
>
> should better be:
>
> + printf(_(" ECHO_HIDDEN display internal queries executed by
> backslash commands\n"));
>
> I think "(same as ...)" can be omitted to keep the description short. If
> you want to retain it, other variables should also accompany similar
> description, such as -a for ECHO.
>
>
> (5)
> + printf(_(" FETCH_COUNT fetch many rows at a time (use less
> memory) (default 0 unlimited)\n"));
>
> should better be:
>
> + printf(_(" FETCH_COUNT the number of result rows to fetch and
> display at a time (default: 0=unlimited)\n"));
>
>
> (6)
> + printf(_(" HISTCONTROL when set, controls history list
> [ignorespace, ignoredups, ignoreboth]\n"));
>
> should better be:
>
> + printf(_(" HISTCONTROL control history list [ignorespace,
> ignoredups, ignoreboth]\n"));
>
>
> (7)
> + printf(_(" USER the database user currently
> connected\n"));
>
> should add "as" at the end:
>
> + printf(_(" USER the database user currently connected
> as\n"));
>
>
> (8)
> "Printing options" section lack the following ones described in psql
> manual:
>
> columns
> expanded (or x)
> footer
> numericlocale
> tableattr (or T)
>

fixed

>
>
> (9)
> + printf(_("\nEnvironment options:\n"));
>
> should be ""Environment variables". And this section lacks description
> for Windows, such as:
>
> + printf(_(" NAME=VALUE [NAME=VALUE] psql ...\n or \\setenv NAME [VALUE]
> in interactive mode\n\n"));
>
> + printf(_(" PGPASSFILE password file (default ~/.pgpass)\n"));
>

??? -

Regards

Pavel

>
> Regards
> MauMau
>
>

Attachment Content-Type Size
help-variables-05.patch text/x-patch 8.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2014-06-25 19:54:37 Re: better atomics - v0.5
Previous Message Stephen Frost 2014-06-25 19:26:18 Re: RLS Design