Skip to content

Commit bc52d42

Browse files
knizhnikKonstantin Knizhnik
authored andcommitted
Define NEON_SMGR in smgr.h to make it possible for extensions to use extetnded Neon SMGR API (#300)
Co-authored-by: Konstantin Knizhnik <[email protected]>
1 parent 72971cf commit bc52d42

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/include/storage/smgr.h

+6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020

2121
struct f_smgr;
2222

23+
/*
24+
* Neon: extended SMGR API.
25+
* This define can be used by extensions to determine that them are built for Neon.
26+
*/
27+
#define NEON_SMGR 1
28+
2329
/*
2430
* smgr.c maintains a table of SMgrRelation objects, which are essentially
2531
* cached file handles. An SMgrRelation is created (if not already present)

0 commit comments

Comments
 (0)