postgrespro / lsm3

LSM tree implementation based on standard B-Tree
Other
29 stars 1 forks source link

Can't start postgresql #7

Closed cavallium closed 1 year ago

cavallium commented 1 year ago

If I add lsm3 to preloaded libraries I get this error: cannot request additional shared memory outside shmem_request_hook

knizhnik commented 1 year ago

I am sorry for delay with answer. Fixed!

cavallium commented 1 year ago

I am sorry for delay with answer. Fixed!

lsm3.c: In function ‘lsm3_build_empty’:
lsm3.c:817:29: error: ‘SMgrRelationData’ has no member named ‘smgr_rlocator’
  817 |  log_newpage(&index->rd_smgr->smgr_rlocator.locator, MAIN_FORKNUM,
      |                             ^~
make: *** [<builtin>: lsm3.o] Error 1
knizhnik commented 1 year ago

I am sorry for delay with answer. Fixed!

lsm3.c: In function ‘lsm3_build_empty’:
lsm3.c:817:29: error: ‘SMgrRelationData’ has no member named ‘smgr_rlocator’
  817 |  log_newpage(&index->rd_smgr->smgr_rlocator.locator, MAIN_FORKNUM,
      |                             ^~
make: *** [<builtin>: lsm3.o] Error 1

Sorry, it change from PG-16. Fixed.