Обсуждение: small typo about comment in xlog.c

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

small typo about comment in xlog.c

От
Tomonari Katsumata
Дата:
Hi,

I'm reading xlog.c, and I noticed a comment of
do_pg_abort_backup is typo.

...
10247 * NB: This is only for aborting a non-exclusive backup that
doesn't write
10248 * backup_label. A backup started with pg_stop_backup() needs to be
finished
10249 * with pg_stop_backup().
...

I think "A backup started with pg_stop_backup()" should be
"A backup started with pg_start_backup()".

This is a bug about source comment, so it's not big problem.
But I want to fix the comment.
See attached patch.

regards,
--------------
Tomonari Katsumata


Вложения

Re: small typo about comment in xlog.c

От
Heikki Linnakangas
Дата:
On 04/10/2014 07:19 AM, Tomonari Katsumata wrote:
> Hi,
> 
> I'm reading xlog.c, and I noticed a comment of
> do_pg_abort_backup is typo.
> 
> ...
> 10247 * NB: This is only for aborting a non-exclusive backup that
> doesn't write
> 10248 * backup_label. A backup started with pg_stop_backup() needs to be
> finished
> 10249 * with pg_stop_backup().
> ...
> 
> I think "A backup started with pg_stop_backup()" should be
> "A backup started with pg_start_backup()".
> 
> This is a bug about source comment, so it's not big problem.
> But I want to fix the comment.
> See attached patch.

Fixed, thanks.

- Heikki