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

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [Fwd: Re: proposal: new long psql parameter --on-error-stop]
Дата
Msg-id 20140828112007.GC25984@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: [Fwd: Re: proposal: new long psql parameter --on-error-stop]  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: [Fwd: Re: proposal: new long psql parameter --on-error-stop]  (Fujii Masao <masao.fujii@gmail.com>)
Re: [Fwd: Re: proposal: new long psql parameter --on-error-stop]  (Andres Freund <andres@2ndquadrant.com>)
Re: [Fwd: Re: proposal: new long psql parameter --on-error-stop]  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: [Fwd: Re: proposal: new long psql parameter --on-error-stop]  (Petr Jelinek <petr@2ndquadrant.com>)
Re: [Fwd: Re: proposal: new long psql parameter --on-error-stop]  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Hi,

On 2014-08-27 22:48:54 +0200, Pavel Stehule wrote:
> Hi
>
> I chose \? xxx, because it is related to psql features. I wrote commands:
>
> \? options
> \? variables
>
> comments?

Generall I like it.

Some stuff I changed:
* I rephrased the sgml changes
* s/Printing options/Display options/. Or maybe "Display influencing
  variables"? That makes it clearer why they're listed under
  --help-variables.
* I added \? commands as an alias for a plain \?
  That way the scheme can sensibly be expanded.
* I renamed help_variables() to be inline with the surrounding functions.

Stuff I wondered about:
* How about making it --help=variables instead of --help-variables? That
* Do we really need the 'Report bugs to' blurb for --help-variables?
* Since we're not exhaustive about documenting environment variales, do
  we really need to document TMPDIR and SHELL?
* Shouldn't we document that PROMPT1 is the standard prompt, PROMPT2 is
  for already started statements, and PROMPT3 is for COPY FROM STDIN?

Looks like it's commitable next round.

I've attached a incremental patch.

Greetings,

Andres Freund

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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Add .NOTPARALLEL to contrib/Makefile
Следующее
От: Etsuro Fujita
Дата:
Сообщение: Re: Optimization for updating foreign tables in Postgres FDW