Skip to content

Commit 15c304a

Browse files
VictorSpirinfunny-falcon
authored andcommitted
[PBCKP-375] Prepared for moving RelFileNode to RelFileLocator in the PG16.
1 parent 3bc0fc4 commit 15c304a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/datapagemap.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99
#ifndef DATAPAGEMAP_H
1010
#define DATAPAGEMAP_H
1111

12+
#if PG_VERSION_NUM < 160000
1213
#include "storage/relfilenode.h"
14+
#else
15+
#include "storage/relfilelocator.h"
16+
#define RelFileNode RelFileLocator
17+
#endif
1318
#include "storage/block.h"
1419

1520

0 commit comments

Comments
 (0)