Fix header comment of streamutil.c

Started by Masahiko Sawadaover 8 years ago3 messages
#1Masahiko Sawada
sawada.mshk@gmail.com
1 attachment(s)

Hi,

While reading source code, I found that the header comment of
streamutil.c is not correct. I guess pg_receivelog is a mistake of
pg_receivexlog and it's an oversight when changing xlog to wal.

Attached patch fixes this.

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachments:

fix_header_of_streamutil_c.patchapplication/octet-stream; name=fix_header_of_streamutil_c.patchDownload
diff --git a/src/bin/pg_basebackup/streamutil.c b/src/bin/pg_basebackup/streamutil.c
index d7ba7e2..9d40744 100644
--- a/src/bin/pg_basebackup/streamutil.c
+++ b/src/bin/pg_basebackup/streamutil.c
@@ -1,6 +1,7 @@
 /*-------------------------------------------------------------------------
  *
- * streamutil.c - utility functions for pg_basebackup and pg_receivelog
+ * streamutil.c - utility functions for pg_basebackup, pg_receivewal and
+ * 					pg_recvlogical
  *
  * Author: Magnus Hagander <magnus@hagander.net>
  *
#2Magnus Hagander
magnus@hagander.net
In reply to: Masahiko Sawada (#1)
Re: Fix header comment of streamutil.c

On Fri, Jul 7, 2017 at 8:31 AM, Masahiko Sawada <sawada.mshk@gmail.com>
wrote:

Hi,

While reading source code, I found that the header comment of
streamutil.c is not correct. I guess pg_receivelog is a mistake of
pg_receivexlog and it's an oversight when changing xlog to wal.

Attached patch fixes this.

Yeah, both a typo and a missing user :)

Applied, thanks.

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/&gt;
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/&gt;

#3Masahiko Sawada
sawada.mshk@gmail.com
In reply to: Magnus Hagander (#2)
Re: Fix header comment of streamutil.c

On Fri, Jul 7, 2017 at 9:09 PM, Magnus Hagander <magnus@hagander.net> wrote:

On Fri, Jul 7, 2017 at 8:31 AM, Masahiko Sawada <sawada.mshk@gmail.com>
wrote:

Hi,

While reading source code, I found that the header comment of
streamutil.c is not correct. I guess pg_receivelog is a mistake of
pg_receivexlog and it's an oversight when changing xlog to wal.

Attached patch fixes this.

Yeah, both a typo and a missing user :)

Applied, thanks.

Thank you!

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

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