Skip to content

Commit fe9a17c

Browse files
author
Marina Polyakova
committed
PGPRO-6867: include required headers for PostgreSQL 15 in engine.c
- It loooks like we now need to explicitly include storage/fd.h for the functions durable_unlink, BasicOpenFile etc. - We need to include access/xlogrecovery.h for the function GetXLogReplayRecPtr which was moved here in the commit 70e81861fadd9112fa2d425c762e163910a4ee52.
1 parent 23dbeae commit fe9a17c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

engine.c

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929
#include "access/htup_details.h"
3030
#include "access/parallel.h"
3131
#include "access/xlog.h"
32+
#if PG_VERSION_NUM >= 150000
33+
#include "access/xlogrecovery.h"
34+
#include "storage/fd.h"
35+
#endif
3236
#include "catalog/pg_tablespace.h"
3337
#include "miscadmin.h"
3438
#include "port/pg_crc32c.h"

0 commit comments

Comments
 (0)