Skip to content

Commit ba5ef3d

Browse files
author
Antonin Houska
committed
Adapted the code to PG 13.
1 parent 01b9fa1 commit ba5ef3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Makefile

Lines changed: 1 addition & 1 deletion
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"),)
4+
ifeq ($(shell pg_config --version | grep -E "PostgreSQL 9.[56]|10|11|12|13"),)
55
$(error PostgreSQL version 9.5 through 11 required, pg_config provides $(shell pg_config --version))
66
endif
77

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 0xD098
70+
#define XLOG_PAGE_MAGIC_MAX 0xD106
7171

7272
typedef struct XLogPageHeaderData
7373
{

0 commit comments

Comments
 (0)