diff --git a/integrations/pgvector/src/haystack_integrations/document_stores/pgvector/document_store.py b/integrations/pgvector/src/haystack_integrations/document_stores/pgvector/document_store.py index 9862739c5..2d6a6ede2 100644 --- a/integrations/pgvector/src/haystack_integrations/document_stores/pgvector/document_store.py +++ b/integrations/pgvector/src/haystack_integrations/document_stores/pgvector/document_store.py @@ -242,7 +242,7 @@ def _create_keyword_index(self): index_exists = bool( self._execute_sql( "SELECT * FROM pg_indexes WHERE tablename = %s", - (self.table_name), + (self.table_name,), "Could not check if keyword index exists", ).fetchone() )