From 96fdf637876baf03657ca04db51c3bb7496eaf58 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 25 Apr 2024 12:05:15 -0700 Subject: [PATCH] Improved function name [skip ci] --- src/ivfbuild.c | 2 +- src/ivfflat.h | 2 +- src/ivfutils.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ivfbuild.c b/src/ivfbuild.c index d2b9c53..b0b2d7f 100644 --- a/src/ivfbuild.c +++ b/src/ivfbuild.c @@ -335,7 +335,7 @@ InitBuildState(IvfflatBuildState * buildstate, Relation heap, Relation index, In buildstate->dimensions = TupleDescAttr(index->rd_att, 0)->atttypmod; typeInfo->dimensions = buildstate->dimensions; - GetTypeInfo(typeInfo, index); + IvfflatGetTypeInfo(typeInfo, index); /* Disallow varbit since require fixed dimensions */ if (TupleDescAttr(index->rd_att, 0)->atttypid == VARBITOID) diff --git a/src/ivfflat.h b/src/ivfflat.h index b0c5a58..32b1afd 100644 --- a/src/ivfflat.h +++ b/src/ivfflat.h @@ -292,7 +292,7 @@ Buffer IvfflatNewBuffer(Relation index, ForkNumber forkNum); void IvfflatInitPage(Buffer buf, Page page); void IvfflatInitRegisterPage(Relation index, Buffer *buf, Page *page, GenericXLogState **state); void IvfflatInit(void); -void GetTypeInfo(IvfflatTypeInfo * typeInfo, Relation index); +void IvfflatGetTypeInfo(IvfflatTypeInfo * typeInfo, Relation index); PGDLLEXPORT void IvfflatParallelBuildMain(dsm_segment *seg, shm_toc *toc); /* Index access methods */ diff --git a/src/ivfutils.c b/src/ivfutils.c index 2bc8158..67bd4c5 100644 --- a/src/ivfutils.c +++ b/src/ivfutils.c @@ -299,7 +299,7 @@ BitSumCenter(Pointer v, float *x) * Get type info */ void -GetTypeInfo(IvfflatTypeInfo * typeInfo, Relation index) +IvfflatGetTypeInfo(IvfflatTypeInfo * typeInfo, Relation index) { FmgrInfo *procinfo = IvfflatOptionalProcInfo(index, IVFFLAT_TYPE_INFO_PROC);