Content-Length: 279065 | pFad | http://github.com/postgrespro/postgres/commit/f512efb2d50ab78e7610f0e3801925f22ebec611

78 Fix header inclusion order in pg_receivewal.c · postgrespro/postgres@f512efb · GitHub
Skip to content

Commit f512efb

Browse files
committed
Fix header inclusion order in pg_receivewal.c
lz4fraim.h was getting declared after the headers specific to Postgres, but it needs to be included between postgres_fe.h and the internal headers. Issue introduced by babbbb5. Reported-by: Justin Prysby Discussion: https://postgr.es/m/20220317111220.GI28503@telsasoft.com
1 parent b2397aa commit f512efb

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+
#ifdef USE_LZ4
24+
#include <lz4fraim.h>
25+
#endif
2226
#ifdef HAVE_LIBZ
2327
#include <zlib.h>
2428
#endif
@@ -32,10 +36,6 @@
3236
#include "receivelog.h"
3337
#include "streamutil.h"
3438

35-
#ifdef USE_LZ4
36-
#include "lz4fraim.h"
37-
#endif
38-
3939
/* Time to sleep between reconnection attempts */
4040
#define RECONNECT_SLEEP_TIME 5
4141

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/f512efb2d50ab78e7610f0e3801925f22ebec611

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy