From 474933ae39ed0c827b15b0f99567d94b42118507 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Tue, 10 Jan 2023 01:22:34 -0800 Subject: [PATCH] Improved error message [skip ci] --- src/ivfbuild.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ivfbuild.c b/src/ivfbuild.c index 40f35c2..9a3697c 100644 --- a/src/ivfbuild.c +++ b/src/ivfbuild.c @@ -339,7 +339,7 @@ InitBuildState(IvfflatBuildState * buildstate, Relation heap, Relation index, In elog(ERROR, "column does not have dimensions"); if (buildstate->dimensions > IVFFLAT_MAX_DIM) - elog(ERROR, "ivfflat index cannot have more than %d dimensions", IVFFLAT_MAX_DIM); + elog(ERROR, "column cannot have more than %d dimensions for ivfflat index", IVFFLAT_MAX_DIM); buildstate->reltuples = 0; buildstate->indtuples = 0;