Re: pgsql: Fix typos in comments

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix typos in comments
Date: 2015-05-17 15:15:07
Message-ID: 29759.1431875707@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Magnus Hagander <magnus(at)hagander(dot)net> writes:
> Fix typos in comments

This change is wrong and should be reverted:

--- a/doc/src/sgml/ref/pg_dumpall.sgml
+++ b/doc/src/sgml/ref/pg_dumpall.sgml
@@ -454,7 +454,7 @@ PostgreSQL documentation
<term><option>--database=<replaceable>dbname</replaceable></option></term>
<listitem>
<para>
- Specifies the name of the database to connect to to dump global
+ Specifies the name of the database to connect to dump global
objects and discover what other databases should be dumped. If
not specified, the <literal>postgres</literal> database will be used,
and if that does not exist, <literal>template1</literal> will be used.

Or maybe we should rewrite the sentence to avoid the repeated "to".
But right now it's grammatically incorrect.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-05-17 15:37:00 Re: pgsql: Fix typos in comments
Previous Message Stephen Frost 2015-05-17 14:00:32 Re: pgsql: Add pg_audit, an auditing extension