Pinecone has released pg_pinecone, an open-source PostgreSQL extension that adds a new vector-search engine to existing pgvector columns. It runs inside the local database and does not require a Pinecone account, so developers can keep their current tables and SQL queries.
Vector search finds records whose numerical representations are similar, a common step in retrieval-augmented AI applications. Pg_pinecone uses an inverted-file index to group similar vectors and RaBitQ compression to reduce each dimension to roughly one bit plus correction data. Pinecone says this layout produces smaller indexes and faster builds than graph-based approaches.
The extension’s main distinction is filtering during the search. With pgvector’s HNSW index, a selective filter can discard many candidates after retrieval, potentially returning too few results or requiring more scans. Pg_pinecone stores one filter value alongside each compressed vector and chooses a search strategy based on how many rows match.
Pinecone reports that an index covering one million 768-dimensional vectors occupied 136 MB, compared with 2 GB for a half-precision pgvector HNSW index. Those performance figures are Pinecone’s own and have not been independently verified. An optional remote engine can also send searches to Pinecone’s managed service without changing SQL. The project is available on GitHub under the Apache 2.0 license.