-
```python
import psycopg
# Define the connection parameters
conn_params = {
"host": "localhost",
"port": "5432"
}
# Example data to insert
data_to_insert = [
(1, 'Alice'),
…
-
**Is your feature request related to a problem? Please describe.**
Yes, i'm currently using haystack pipeline & pgvector with FastAPI to serve embedding search but seems the current implementation of…
-
We use psycopg connection pool in out FastAPI auto instrumented component,
previously we used psycopg.connect directly without connection pool and PG spans were properly reported
after switching to …
-
After #11380, we can explore enabling [connection pools](https://docs.djangoproject.com/en/5.1/ref/databases/#connection-pool) to reduce the amount of time it takes to connect to postgres.
-
psycopg3 is not supported at the moment;
Seems like this (and similar issues in the future) can be avoided if with self.wrap_database_errors: will be used inside try-except instead of outside. I…
-
### Problem Statement
Hi, I'm not sure if I'm missing something but I cannot find sentry's support for psycopg v3 (well, named [psycopg](https://www.psycopg.org/psycopg3/docs/) ) and If I try a simpl…
-
- OS: Amazon Linux 2
- Psycopg version: 2.7.3.1
- Python version: 3.6.15
- PostgreSQL version: 10
- pip version: 21.2.4
**Describe the bug**
Please let us know:
1: what you did
I start…
-
Reproduced in
1. Linux binary distribution installed via script, _version: risingwave 1.10.0 (0542faf14d)_
2. A cluster hosted in the cloud, version: v1.9.2.
3. Docker iamge distribution, image t…
-
Subject: `psycopg2` is an optional dependency but actually imported in `base.py`
### Problem
- I think `psycopg2` was not explicitly imported in 3.0.0 but since 4.0.0 it is imported in `base.py`
…
-
We recently pulled in psycopg3.2 through a regular pipenv upgrade cycle and it has killed performance across a few apps. Unfortunately I don't have any exact measurements to point to, but something ha…