Skip to content

Commit dc98da7

Browse files
author
Antonin Houska
committed
Adapted the code to PG 14.
1 parent ba5ef3d commit dc98da7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
all: walbouncer
22

33
# Check for PostgrSQL 9.5 through 11
4-
ifeq ($(shell pg_config --version | grep -E "PostgreSQL 9.[56]|10|11|12|13"),)
4+
ifeq ($(shell pg_config --version | grep -E "PostgreSQL 9.[56]|10|11|12|13|14"),)
55
$(error PostgreSQL version 9.5 through 11 required, pg_config provides $(shell pg_config --version))
66
endif
77

@@ -26,7 +26,7 @@ parser/repl_scanner.c : parser/repl_scanner.l
2626
flex -o $@ $<
2727

2828
parser/repl_gram.c : parser/repl_gram.y parser/repl_scanner.c
29-
bison -o $@ $<
29+
bison -Wno-deprecated -o $@ $<
3030

3131
test: all
3232
cd ../tests; ./run_demo.sh

src/include/wbpgtypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ typedef struct BkpBlock
6767
* Each page of XLOG file has a header like this:
6868
*/
6969
#define XLOG_PAGE_MAGIC_MIN 0xD087 /* in WB case it's OK to use a range of versions as we're only interested in fixing the RelFileNode location */
70-
#define XLOG_PAGE_MAGIC_MAX 0xD106
70+
#define XLOG_PAGE_MAGIC_MAX 0xD10E
7171

7272
typedef struct XLogPageHeaderData
7373
{

0 commit comments

Comments
 (0)