From: guzhoudiaoke (@guzhoudiaoke) <noreply+guzhoudiaoke@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #635: Whether we should lock element when UpdateNeighborsInMemory ?
Date: Mon, 05 Aug 2024 01:30:33 +0000
Message-ID: <gh-pgvector-pgvector-635-c2268009296@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-635@github.com>
References: <gh-pgvector-pgvector-635@github.com>
> Great, thanks @guzhoudiaoke! Merged in the commit above.
Thanks for the quick fix.
One small question, the fix palloc and copy the neighbors without pfree, is the MemoryContext it using offen reset or destroy?