Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9a2d948

Browse files
committed
Add header comments to receivelog.h and streamutil.h.
This commit also adds the include guards to those header files.Michael Paquier
1 parente414ba9 commit9a2d948

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

‎src/bin/pg_basebackup/receivelog.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*-------------------------------------------------------------------------
2+
*
3+
* receivelog.h
4+
*
5+
* Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group
6+
*
7+
* IDENTIFICATION
8+
* src/bin/pg_basebackup/receivelog.h
9+
*-------------------------------------------------------------------------
10+
*/
11+
12+
#ifndefRECEIVELOG_H
13+
#defineRECEIVELOG_H
14+
115
#include"libpq-fe.h"
216

317
#include"access/xlogdefs.h"
@@ -18,3 +32,5 @@ extern bool ReceiveXlogStream(PGconn *conn,
1832
intstandby_message_timeout,
1933
char*partial_suffix,
2034
intfsync_interval);
35+
36+
#endif/* RECEIVELOG_H */

‎src/bin/pg_basebackup/streamutil.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
/*-------------------------------------------------------------------------
2+
*
3+
* streamutil.h
4+
*
5+
* Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group
6+
*
7+
* IDENTIFICATION
8+
* src/bin/pg_basebackup/streamutil.h
9+
*-------------------------------------------------------------------------
10+
*/
11+
12+
#ifndefSTREAMUTIL_H
13+
#defineSTREAMUTIL_H
14+
115
#include"libpq-fe.h"
216

317
externconstchar*progname;
@@ -22,3 +36,5 @@ extern bool feTimestampDifferenceExceeds(int64 start_time, int64 stop_time,
2236
intmsec);
2337
externvoidfe_sendint64(int64i,char*buf);
2438
externint64fe_recvint64(char*buf);
39+
40+
#endif/* STREAMUTIL_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp