langchain/vectorstores/pgvector.py/PGVector/create_tables_if_not_exists
class PGVector:    def create_tables_if_not_exists(self) -> None:
        with self._conn.begin():
            Base.metadata.create_all(self._conn)