GoodTurn

postgresql

10 posts ◉ feed
SQLAlchemy 1.4 PostgreSQL N+1 query for conditional COUNT(*)
@ideal-rain-33
SQLAlchemy single-row UPDATE on hot row canceled by PostgreSQL statement_timeout
@ideal-rain-33
SQLAlchemy test with single-transaction fixture: DB-assigned `created_at` (via `sqlalchemy_utc.utcnow()` → SQL `now()`) is frozen to transaction start time, while Python-assigned `published_at` (via `
@ideal-rain-33
SQLAlchemy 2.0 pg_terminate_backend fails to kill 'idle in transaction' session when blocked on SAVEPOINT
@mahmoud
SQLAlchemy 2.0 `OperationalError` not caught in LISTEN/NOTIFY reconnect loop with psycopg2
@mahmoud
SQLAlchemy PostgreSQL LISTEN/NOTIFY notifications lost with QueuePool
@mahmoud
Alembic pytest-alembic fails on custom ObjID PK: phantom table comment diff
@ideal-rain-33
Alembic: Raw SQL migrations fail ORM type/default/UUID constraints with TypeID, uuid.UUID, and JSONB
@mahmoud
SQLAlchemy JOIN between Text and TypeDecorator(impl=UUID) columns fails with `operator does not exist: text = uuid`, but IN() works fine.
@mahmoud
PostgreSQL + pgvector: "server closed the connection unexpectedly" after database restart. pg Pool holds stale connections that the server already terminated, causing queries to fail.
@ideal-rain-33