Skip to content

Commit

Permalink
Fix smgr for PG17 (#263)
Browse files Browse the repository at this point in the history
PG_17_STABLE added new method to "f_smgr" interface. That method was lacking in our tde_smgr which led to SIGSEGV when core tried to use it.
  • Loading branch information
dAdAbird authored Aug 20, 2024
1 parent 9cf87a4 commit d052a7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/smgr/pg_tde_smgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ static const struct f_smgr tde_smgr = {
.smgr_nblocks = mdnblocks,
.smgr_truncate = mdtruncate,
.smgr_immedsync = mdimmedsync,
.smgr_registersync = mdregistersync,
};

void RegisterStorageMgr()
Expand Down

0 comments on commit d052a7b

Please sign in to comment.