Skip to content

Commit

Permalink
Define NEON_SMGR in smgr.h to make it possible for extensions to use …
Browse files Browse the repository at this point in the history
…extetnded Neon SMGR API (#299)

Co-authored-by: Konstantin Knizhnik <[email protected]>
  • Loading branch information
knizhnik and Konstantin Knizhnik committed Jul 29, 2023
1 parent ebedb34 commit da3885c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/include/storage/smgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@

struct f_smgr;

/*
* Neon: extended SMGR API.
* This define can be used by extensions to determine that them are built for Neon.
*/
#define NEON_SMGR 1

/*
* smgr.c maintains a table of SMgrRelation objects, which are essentially
* cached file handles. An SMgrRelation is created (if not already present)
Expand Down

0 comments on commit da3885c

Please sign in to comment.