mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-12 23:56:55 +08:00
Improved function name [skip ci]
This commit is contained in:
@@ -335,7 +335,7 @@ InitBuildState(IvfflatBuildState * buildstate, Relation heap, Relation index, In
|
|||||||
buildstate->dimensions = TupleDescAttr(index->rd_att, 0)->atttypmod;
|
buildstate->dimensions = TupleDescAttr(index->rd_att, 0)->atttypmod;
|
||||||
|
|
||||||
typeInfo->dimensions = buildstate->dimensions;
|
typeInfo->dimensions = buildstate->dimensions;
|
||||||
GetTypeInfo(typeInfo, index);
|
IvfflatGetTypeInfo(typeInfo, index);
|
||||||
|
|
||||||
/* Disallow varbit since require fixed dimensions */
|
/* Disallow varbit since require fixed dimensions */
|
||||||
if (TupleDescAttr(index->rd_att, 0)->atttypid == VARBITOID)
|
if (TupleDescAttr(index->rd_att, 0)->atttypid == VARBITOID)
|
||||||
|
|||||||
@@ -292,7 +292,7 @@ Buffer IvfflatNewBuffer(Relation index, ForkNumber forkNum);
|
|||||||
void IvfflatInitPage(Buffer buf, Page page);
|
void IvfflatInitPage(Buffer buf, Page page);
|
||||||
void IvfflatInitRegisterPage(Relation index, Buffer *buf, Page *page, GenericXLogState **state);
|
void IvfflatInitRegisterPage(Relation index, Buffer *buf, Page *page, GenericXLogState **state);
|
||||||
void IvfflatInit(void);
|
void IvfflatInit(void);
|
||||||
void GetTypeInfo(IvfflatTypeInfo * typeInfo, Relation index);
|
void IvfflatGetTypeInfo(IvfflatTypeInfo * typeInfo, Relation index);
|
||||||
PGDLLEXPORT void IvfflatParallelBuildMain(dsm_segment *seg, shm_toc *toc);
|
PGDLLEXPORT void IvfflatParallelBuildMain(dsm_segment *seg, shm_toc *toc);
|
||||||
|
|
||||||
/* Index access methods */
|
/* Index access methods */
|
||||||
|
|||||||
@@ -299,7 +299,7 @@ BitSumCenter(Pointer v, float *x)
|
|||||||
* Get type info
|
* Get type info
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
GetTypeInfo(IvfflatTypeInfo * typeInfo, Relation index)
|
IvfflatGetTypeInfo(IvfflatTypeInfo * typeInfo, Relation index)
|
||||||
{
|
{
|
||||||
FmgrInfo *procinfo = IvfflatOptionalProcInfo(index, IVFFLAT_TYPE_INFO_PROC);
|
FmgrInfo *procinfo = IvfflatOptionalProcInfo(index, IVFFLAT_TYPE_INFO_PROC);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user