Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does lsm3 work with Postgres 12 or Greenplum? #6

Open
lij55 opened this issue Jun 14, 2022 · 1 comment
Open

does lsm3 work with Postgres 12 or Greenplum? #6

lij55 opened this issue Jun 14, 2022 · 1 comment

Comments

@lij55
Copy link

lij55 commented Jun 14, 2022

I got following error while making it:

lsm3.h:46:9: error: unknown type nameBTOptions46 |         BTOptions   nbt_opts;       /* Standard B-Tree options */
      |         ^~~~~~~~~
lsm3.c: In functionlsm3_truncate_index’:
lsm3.c:209:32: error: implicit declaration of functionBuildDummyIndexInfo’; did you meanBuildIndexInfo’? [-Werror=implicit-function-declaration]
  209 |         IndexInfo* indexInfo = BuildDummyIndexInfo(index);
      |                                ^~~~~~~~~~~~~~~~~~~
      |                                BuildIndexInfo
lsm3.c:209:32: warning: initialization ofIndexInfo *fromintmakes pointer from integer without a cast [-Wint-conversion]
lsm3.c: In functionlsm3_merge_indexes’:
lsm3.c:236:37: error: ‘BTREE_AM_OIDundeclared (first use in this function); did you meanBTREE_MAGIC’?
  236 |         base_index->rd_rel->relam = BTREE_AM_OID;
      |                                     ^~~~~~~~~~~~
      |                                     BTREE_MAGIC
lsm3.c:236:37: note: each undeclared identifier is reported only once for each function it appears in
lsm3.c:243:21: error: implicit declaration of functionBTreeTupleIsPosting’ [-Werror=implicit-function-declaration]
  243 |                 if (BTreeTupleIsPosting(itup))
@knizhnik
Copy link
Contributor

Which version of Postgres you are using?
I just ported Lsm3 to PG-15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants