vacuumdb sentence

Started by Euler Taveiraover 10 years ago5 messages
#1Euler Taveira
euler@timbira.com.br

Hi,

Is there a reason to quote "jobs" at this sentence?

190 fprintf(stderr, _("%s: number of parallel \"jobs\" must be at least
1\n"),
progname);

AFAICS "jobs" is neither an identifier nor an option to justify the
quotation. Also, another message a few lines above (correctly) does not
use quotes.

--
Euler Taveira Timbira - http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#2Amit Kapila
amit.kapila16@gmail.com
In reply to: Euler Taveira (#1)
Re: vacuumdb sentence

On Fri, Sep 18, 2015 at 8:30 AM, Euler Taveira <euler@timbira.com.br> wrote:

Hi,

Is there a reason to quote "jobs" at this sentence?

190 fprintf(stderr, _("%s: number of parallel \"jobs\" must be at least

1\n"),

progname);

AFAICS "jobs" is neither an identifier nor an option to justify the

quotation. Also, another message a few lines above (correctly) does not use
quotes.

jobs is an option, refer vacuumdb docs[1]http://www.postgresql.org/docs/devel/static/app-vacuumdb.html.

[1]: http://www.postgresql.org/docs/devel/static/app-vacuumdb.html

With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

#3Euler Taveira
euler@timbira.com.br
In reply to: Amit Kapila (#2)
Re: vacuumdb sentence

On 18-09-2015 00:59, Amit Kapila wrote:

On Fri, Sep 18, 2015 at 8:30 AM, Euler Taveira <euler@timbira.com.br
<mailto:euler@timbira.com.br>> wrote:

Hi,

Is there a reason to quote "jobs" at this sentence?

190 fprintf(stderr, _("%s: number of parallel \"jobs\" must be at

least 1\n"),

progname);

AFAICS "jobs" is neither an identifier nor an option to justify the

quotation. Also, another message a few lines above (correctly) does not
use quotes.

jobs is an option, refer vacuumdb docs[1].

Yeah, I know. [Too sleepy to be writing emails...] What I want to say
is: when we want to refer to an option, we usually add "option" after
the quoted name (in this case, it won't make sense). I propose to remove
the quotation because the way the sentence is written it seems we are
referring to the task instead of the option.

--
Euler Taveira Timbira - http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#4Robert Haas
robertmhaas@gmail.com
In reply to: Euler Taveira (#3)
Re: vacuumdb sentence

On Fri, Sep 18, 2015 at 12:18 AM, Euler Taveira <euler@timbira.com.br> wrote:

Yeah, I know. [Too sleepy to be writing emails...] What I want to say is:
when we want to refer to an option, we usually add "option" after the quoted
name (in this case, it won't make sense). I propose to remove the quotation
because the way the sentence is written it seems we are referring to the
task instead of the option.

+1.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#5Peter Eisentraut
peter_e@gmx.net
In reply to: Euler Taveira (#1)
Re: vacuumdb sentence

On 9/17/15 11:00 PM, Euler Taveira wrote:

Hi,

Is there a reason to quote "jobs" at this sentence?

190 fprintf(stderr, _("%s: number of parallel \"jobs\" must be at least
1\n"),
progname);

AFAICS "jobs" is neither an identifier nor an option to justify the
quotation. Also, another message a few lines above (correctly) does not
use quotes.

Fixed.

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers