Обсуждение: Minor fix in reloptions.c comments

Поиск
Список
Период
Сортировка

Minor fix in reloptions.c comments

От
"Jamison, Kirk"
Дата:
Hi,

I found some minor grammar mistake while reading reloptions.c code comments.
Attached is the fix.
I just changed "affect" to "effect", for both n_distinct and vacuum_truncate.
  - * values has no affect until the ...
  + * values has no effect until the ...

Regards,
Kirk Jamison

Вложения

Re: Minor fix in reloptions.c comments

От
Michael Paquier
Дата:
On Fri, Apr 12, 2019 at 02:41:37AM +0000, Jamison, Kirk wrote:
> I found some minor grammar mistake while reading reloptions.c code comments.
> Attached is the fix.
> I just changed "affect" to "effect", for both n_distinct and vacuum_truncate.
>   - * values has no affect until the ...
>   + * values has no effect until the ...

A lot of those parameter updates affect processing and still they have
many side effects, as per those paragraphs.

Fixed, thanks!
--
Michael

Вложения

Re: Minor fix in reloptions.c comments

От
Robert Haas
Дата:
On Fri, Apr 12, 2019 at 12:01 AM Michael Paquier <michael@paquier.xyz> wrote:
> On Fri, Apr 12, 2019 at 02:41:37AM +0000, Jamison, Kirk wrote:
> > I found some minor grammar mistake while reading reloptions.c code comments.
> > Attached is the fix.
> > I just changed "affect" to "effect", for both n_distinct and vacuum_truncate.
> >   - * values has no affect until the ...
> >   + * values has no effect until the ...
>
> A lot of those parameter updates affect processing and still they have
> many side effects, as per those paragraphs.

Well, "has no affect" is clearly wrong here, and Kirk's fix is clearly
right.  I don't know what your point here is.

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