small typo about comment in xlog.c

From: Tomonari Katsumata <katsumata(dot)tomonari(at)po(dot)ntts(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: small typo about comment in xlog.c
Date: 2014-04-10 04:19:28
Message-ID: 53461BD0.9050009@po.ntts.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
xlog-c_comment_typo.patch text/x-diff 593 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rajeev rastogi 2014-04-10 05:14:23 Re: Autonomous Transaction (WIP)
Previous Message Amit Kapila 2014-04-10 04:07:22 Re: [bug fix] pg_ctl always uses the same event source