diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90e1d02..d3c3210 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,8 @@ jobs: fail-fast: false matrix: include: + - postgres: 16 + os: ubuntu-22.04 - postgres: 15 os: ubuntu-22.04 - postgres: 14 diff --git a/src/ivfinsert.c b/src/ivfinsert.c index 752ce55..8761f6a 100644 --- a/src/ivfinsert.c +++ b/src/ivfinsert.c @@ -23,6 +23,10 @@ FindInsertPage(Relation rel, Datum *values, BlockNumber *insertPage, ListInfo * OffsetNumber offno; OffsetNumber maxoffno; + /* Avoid compiler warning */ + listInfo->blkno = nextblkno; + listInfo->offno = FirstOffsetNumber; + procinfo = index_getprocinfo(rel, 1, IVFFLAT_DISTANCE_PROC); collation = rel->rd_indcollation[0];