ErrLookup › psycopg/psycopg2

psycopg/psycopg2

PostgreSQL database adapter for the Python programming language · C · 98 source files

Analyzed at 3a6d9d6ddc on 2026-08-04. 31 documented errors.

Code / MessageTypeSeverityTags
no format specification supported by SQL
exception error psycopg2, sql-composition, format, valueerror
Unable to find 'pg_config' file in
exception critical psycopg2, build, pg-config, install, environment, docker
the Identifier wraps more than one than one string
exception error psycopg2, sql-composition, identifier, attributeerror
pg_config -- failed
exception critical psycopg2, build, pg-config, install, environment
context must be a connection or a cursor
exception error psycopg2, sql-composition, literal, typeerror
cannot switch from automatic field numbering to manual
exception error psycopg2, sql-composition, format, valueerror
no format conversion supported by SQL
exception error psycopg2, sql-composition, format, valueerror
expected string or None as name, got
exception error psycopg2, sql-composition, placeholder, typeerror
pgrange must be a string or a RangeAdapter strict subclass
exception error type-error, range, rangecaster, constructor, adapter
RangeAdapter must be subclassed overriding its name or the…
exception error adapter, range, abstract-class, not-implemented
Composed elements must be Composable, got
exception error sql, composable, type-error, sql-injection, type-guard
pg_config -- is empty
exception critical psycopg2, build, pg-config, install, environment
PostgreSQL range ' ' not found
exception error range, postgresql, type-not-found, schema, programming-error
bound flags not valid
exception error validation, range, constructor, value-error
DictCursorBase can't be instantiated without a row factory.
exception error cursor, abstract-class, not-implemented, dict-cursor, extras
failed to parse range
exception error range, parse, interface-error, typecaster, data-corruption
unsupported format character
exception error execute-values, placeholder, format-string, value-error, escaping
the query contains more than one
exception error execute-values, placeholder, sql, value-error, extras
Composed.join() argument must be a string or an SQL
exception error sql, composable, join, type-error, api-misuse
invalid name
exception error psycopg2, sql-composition, placeholder, injection, valueerror
pyrange must be a type or a Range strict subclass
exception error type-error, range, rangecaster, constructor, type-confusion
SQL identifier parts must be strings
exception error psycopg2, sql-composition, identifier, typeerror
connection pool exhausted
exception error pool, resource-exhaustion, connection-leak, threading, pool-error
range types not available in version
exception error version, range, postgresql, server-version, programming-error
SQL values must be strings
exception error sql, composable, type-error, sql-injection, encoding
trying to put unkeyed connection
exception error pool, bookkeeping, double-return, connection-leak, pool-error
you can't specify both 'database' and 'dbname' arguments
exception error dsn, connection, config, type-error, alias-conflict
connection pool is closed
exception error pool, lifecycle, shutdown, threading, pool-error
cannot switch from manual field numbering to automatic
exception error psycopg2, sql-composition, format, valueerror
Identifier cannot be empty
exception error psycopg2, sql-composition, identifier, typeerror
the query doesn't contain any
exception error execute-values, placeholder, sql, value-error, extras