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

Commitf512efb

Browse files
committed
Fix header inclusion order in pg_receivewal.c
lz4frame.h was getting declared after the headers specific to Postgres,but it needs to be included between postgres_fe.h and the internalheaders.Issue introduced bybabbbb5.Reported-by: Justin PrysbyDiscussion:https://postgr.es/m/20220317111220.GI28503@telsasoft.com
1 parentb2397aa commitf512efb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/bin/pg_basebackup/pg_receivewal.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
#include<signal.h>
2020
#include<sys/stat.h>
2121
#include<unistd.h>
22+
23+
#ifdefUSE_LZ4
24+
#include<lz4frame.h>
25+
#endif
2226
#ifdefHAVE_LIBZ
2327
#include<zlib.h>
2428
#endif
@@ -32,10 +36,6 @@
3236
#include"receivelog.h"
3337
#include"streamutil.h"
3438

35-
#ifdefUSE_LZ4
36-
#include"lz4frame.h"
37-
#endif
38-
3939
/* Time to sleep between reconnection attempts */
4040
#defineRECONNECT_SLEEP_TIME 5
4141

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp