From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #500: Index Build Time Does Not Improve as Expected When Changing "Workers"
Date: Mon, 25 Mar 2024 23:29:14 +0000
Message-ID: <gh-pgvector-pgvector-500-c2019100835@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-500@github.com>
References: <gh-pgvector-pgvector-500@github.com>
Getting messages on the client will depend on the library. For psycopg 3, you can use:
```python
def log_notice(diag):
print(f"{diag.severity}: {diag.message_primary}")
conn.add_notice_handler(log_notice)
```