From: wmwsagara (@wmwsagara) <noreply+wmwsagara@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #461: Increase max vectors dimension limit for index
Date: Wed, 03 Apr 2024 10:41:51 +0000
Message-ID: <gh-pgvector-pgvector-461-c2034217523@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-461@github.com>
References: <gh-pgvector-pgvector-461@github.com>
@jkatz
1. Agree "GPT4 kind of sucks" :)
2. Looks IndexTupleSize(itup) macro in src/include/access/itup.h, if exclusive use to get the index tuple size, then this macro together with --with-blocksize are sufficient to solve this issue. Since anyway, require to recompile PostgreSQL, let the macro return 32K or conditionally 32K. And do not use this modified instance of PostgreSQL for anything other than AI/ML.
3. People can give it a try to above, if pgvector devs can develop a patch to pgvector itself to support vector dimensions up to 8000.
Any thoughts from anyone?