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