psycopg API Reference

PostgreSQL database adapter for Python (v3) with asynchronous and synchronous execution support.

psycopg.AsyncClientCursor
Python Library Documentation: class AsyncClientCursor in module psycopg

class AsyncClientCursor(psycopg.client_cursor.ClientCursorMixin, AsyncCursor)
 |  AsyncClientCursor(connection: 'AsyncConnection[Any]', *, row_factory: 'AsyncRowFactory[Row] | None' = None)
 |
 |  Method resolution order:
 |      AsyncClientCursor
 |      psycopg.client_cursor.ClientCursorMixin
 |      AsyncCursor
 |      psycopg._cursor_base.BaseCursor
 |      typing.Generic
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (psycopg.client_cursor.ClientCursorMixin[ForwardRef('...
 |
 |  __parameters__ = (+Row,)
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.client_cursor.ClientCursorMixin:
 |
 |  mogrify(self, query: 'Query', params: 'Params | None' = None) -> 'str'
 |      Return the query and parameters merged.
 |
 |      Parameters are adapted and merged to the query the same way that
 |      `!execute()` would do.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.client_cursor.ClientCursorMixin:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from AsyncCursor:
 |
 |  async __aenter__(self) -> 'Self' from psycopg.cursor_async.AsyncCursor
 |
 |  async __aexit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg.cursor_async.AsyncCursor
 |
 |  __aiter__(self) -> 'Self' from psycopg.cursor_async.AsyncCursor
 |
 |  async __anext__(self) -> 'Row' from psycopg.cursor_async.AsyncCursor
 |
 |  __init__(self, connection: 'AsyncConnection[Any]', *, row_factory: 'AsyncRowFactory[Row] | None' = None) from psycopg.cursor_async.AsyncCursor
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  async close(self) -> 'None' from psycopg.cursor_async.AsyncCursor
 |      Close the current cursor and free associated resources.
 |
 |  copy(self, statement: 'Query', params: 'Params | None' = None, *, writer: 'AsyncWriter | None' = None) -> 'AsyncIterator[AsyncCopy]' from psycopg.cursor_async.AsyncCursor
 |      Initiate a :sql:`COPY` operation and return an object to manage it.
 |
 |  async execute(self, query: 'Query', params: 'Params | None' = None, *, prepare: 'bool | None' = None, binary: 'bool | None' = None) -> 'Self' from psycopg.cursor_async.AsyncCursor
 |      Execute a query or command to the database.
 |
 |  async executemany(self, query: 'Query', params_seq: 'Iterable[Params]', *, returning: 'bool' = False) -> 'None' from psycopg.cursor_async.AsyncCursor
 |      Execute the same command with a sequence of input data.
 |
 |  async fetchall(self) -> 'list[Row]' from psycopg.cursor_async.AsyncCursor
 |      Return all the remaining records from the current result set.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  async fetchmany(self, size: 'int' = 0) -> 'list[Row]' from psycopg.cursor_async.AsyncCursor
 |      Return the next `!size` records from the current result set.
 |
 |      `!size` default to `!self.arraysize` if not specified.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  async fetchone(self) -> 'Row | None' from psycopg.cursor_async.AsyncCursor
 |      Return the next record from the current result set.
 |
 |      Return `!None` the result set is finished.
 |
 |      :rtype: Row | None, with Row defined by `row_factory`
 |
 |  async results(self) -> 'AsyncIterator[Self]' from psycopg.cursor_async.AsyncCursor
 |      Iterate across multiple record sets received by the cursor.
 |
 |      Multiple record sets are received after using `executemany()` with
 |      `!returning=True` or using `execute()` with more than one query in the
 |      command.
 |
 |  async scroll(self, value: 'int', mode: 'str' = 'relative') -> 'None' from psycopg.cursor_async.AsyncCursor
 |      Move the cursor in the result set to a new position according to mode.
 |
 |      If `!mode` is ``'relative'`` (default), `!value` is taken as offset to
 |      the current position in the result set; if set to ``'absolute'``,
 |      `!value` states an absolute target position.
 |
 |      Raise `!IndexError` in case a scroll operation would leave the result
 |      set. In this case the position will not change.
 |
 |  async set_result(self, index: 'int') -> 'Self' from psycopg.cursor_async.AsyncCursor
 |      Move to a specific result set.
 |
 |      :arg index: index of the result to go to
 |      :type index: `!int`
 |
 |      More than one result will be available after executing calling
 |      `executemany()` or `execute()` with more than one query.
 |
 |      `!index` is 0-based and supports negative values, counting from the end,
 |      the same way you can index items in a list.
 |
 |      The function returns self, so that the result may be followed by a
 |      fetch operation. See `results()` for details.
 |
 |  async stream(self, query: 'Query', params: 'Params | None' = None, *, binary: 'bool | None' = None, size: 'int' = 1) -> 'AsyncIterator[Row]' from psycopg.cursor_async.AsyncCursor
 |      Iterate row-by-row on a result from the database.
 |
 |      :param size: if greater than 1, results will be retrieved by chunks of
 |          this size from the server (but still yielded row-by-row); this is only
 |          available from version 17 of the libpq.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from AsyncCursor:
 |
 |  row_factory
 |      Writable attribute to control how result rows are formed.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  nextset(self) -> 'bool | None'
 |      Move to the result set of the next query executed through `executemany()`
 |      or to the next result set if `execute()` returned more than one.
 |
 |      Return `!True` if a new result is available, which will be the one
 |      methods `!fetch*()` will operate on.
 |
 |  setinputsizes(self, sizes: 'Sequence[Any]') -> 'None'
 |
 |  setoutputsize(self, size: 'Any', column: 'int | None' = None) -> 'None'
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._cursor_base.BaseCursor:
 |
 |  adapters
 |
 |  closed
 |      `True` if the cursor is closed.
 |
 |  connection
 |      The connection this cursor is using.
 |
 |  description
 |      A list of `Column` objects describing the current resultset.
 |
 |      `!None` if the current resultset didn't return tuples.
 |
 |  rowcount
 |      Number of records affected by the operation that produced
 |      the current result set.
 |
 |  rownumber
 |      Index of the next row to fetch in the current result set.
 |
 |      `!None` if there is no result to fetch.
 |
 |  statusmessage
 |      The status tag of the current result set.
 |
 |      `!None` if the cursor doesn't have a result available.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  arraysize
 |
 |  format
 |
 |  pgresult
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.AsyncConnection
Python Library Documentation: class AsyncConnection in module psycopg

class AsyncConnection(psycopg._connection_base.BaseConnection)
 |  AsyncConnection(pgconn: 'PGconn', row_factory: 'AsyncRowFactory[Row]' = <function tuple_row at 0x0000024312811DA0>)
 |
 |  Wrapper for a connection to the database.
 |
 |  Method resolution order:
 |      AsyncConnection
 |      psycopg._connection_base.BaseConnection
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  async __aenter__(self) -> 'Self' from psycopg.connection_async.AsyncConnection
 |
 |  async __aexit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg.connection_async.AsyncConnection
 |
 |  __init__(self, pgconn: 'PGconn', row_factory: 'AsyncRowFactory[Row]' = <function tuple_row at 0x0000024312811DA0>) from psycopg.connection_async.AsyncConnection
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  async cancel_safe(self, *, timeout: 'float' = 30.0) -> 'None' from psycopg.connection_async.AsyncConnection
 |      Cancel the current operation on the connection.
 |
 |      :param timeout: raise a `~errors.CancellationTimeout` if the
 |          cancellation request does not succeed within `timeout` seconds.
 |
 |      Note that a successful cancel attempt on the client is not a guarantee
 |      that the server will successfully manage to cancel the operation.
 |
 |      This is a non-blocking version of `~Connection.cancel()` which
 |      leverages a more secure and improved cancellation feature of the libpq,
 |      which is only available from version 17.
 |
 |      If the underlying libpq is older than version 17, the method will fall
 |      back to using the same implementation of `!cancel()`.
 |
 |  async close(self) -> 'None' from psycopg.connection_async.AsyncConnection
 |      Close the database connection.
 |
 |  async commit(self) -> 'None' from psycopg.connection_async.AsyncConnection
 |      Commit any pending transaction to the database.
 |
 |  cursor(self, name: 'str' = '', *, binary: 'bool' = False, row_factory: 'AsyncRowFactory[Any] | None' = None, scrollable: 'bool | None' = None, withhold: 'bool' = False) -> 'AsyncCursor[Any] | AsyncServerCursor[Any]' from psycopg.connection_async.AsyncConnection
 |      Return a new `AsyncCursor` to send commands and queries to the connection.
 |
 |  async execute(self, query: 'Query', params: 'Params | None' = None, *, prepare: 'bool | None' = None, binary: 'bool' = False) -> 'AsyncCursor[Row]' from psycopg.connection_async.AsyncConnection
 |      Execute a query and return a cursor to read its results.
 |
 |  async notifies(self, *, timeout: 'float | None' = None, stop_after: 'int | None' = None) -> 'AsyncGenerator[Notify]' from psycopg.connection_async.AsyncConnection
 |      Yield `Notify` objects as soon as they are received from the database.
 |
 |      :param timeout: maximum amount of time to wait for notifications.
 |          `!None` means no timeout.
 |      :param stop_after: stop after receiving this number of notifications.
 |          You might actually receive more than this number if more than one
 |          notifications arrives in the same packet.
 |
 |  pipeline(self) -> 'AsyncIterator[AsyncPipeline]' from psycopg.connection_async.AsyncConnection
 |      Context manager to switch the connection into pipeline mode.
 |
 |  async rollback(self) -> 'None' from psycopg.connection_async.AsyncConnection
 |      Roll back to the start of any pending transaction.
 |
 |  async set_autocommit(self, value: 'bool') -> 'None' from psycopg.connection_async.AsyncConnection
 |      Method version of the `~Connection.autocommit` setter.
 |
 |  async set_deferrable(self, value: 'bool | None') -> 'None' from psycopg.connection_async.AsyncConnection
 |      Method version of the `~Connection.deferrable` setter.
 |
 |  async set_isolation_level(self, value: 'IsolationLevel | None') -> 'None' from psycopg.connection_async.AsyncConnection
 |      Method version of the `~Connection.isolation_level` setter.
 |
 |  async set_read_only(self, value: 'bool | None') -> 'None' from psycopg.connection_async.AsyncConnection
 |      Method version of the `~Connection.read_only` setter.
 |
 |  async tpc_begin(self, xid: 'Xid | str') -> 'None' from psycopg.connection_async.AsyncConnection
 |      Begin a TPC transaction with the given transaction ID `!xid`.
 |
 |  async tpc_commit(self, xid: 'Xid | str | None' = None) -> 'None' from psycopg.connection_async.AsyncConnection
 |      Commit a prepared two-phase transaction.
 |
 |  async tpc_prepare(self) -> 'None' from psycopg.connection_async.AsyncConnection
 |      Perform the first phase of a transaction started with `tpc_begin()`.
 |
 |  async tpc_recover(self) -> 'list[Xid]' from psycopg.connection_async.AsyncConnection
 |
 |  async tpc_rollback(self, xid: 'Xid | str | None' = None) -> 'None' from psycopg.connection_async.AsyncConnection
 |      Roll back a prepared two-phase transaction.
 |
 |  transaction(self, savepoint_name: 'str | None' = None, force_rollback: 'bool' = False) -> 'AsyncIterator[AsyncTransaction]' from psycopg.connection_async.AsyncConnection
 |      Start a context block with a new transaction or nested transaction.
 |
 |      :param savepoint_name: Name of the savepoint used to manage a nested
 |          transaction. If `!None`, one will be chosen automatically.
 |      :param force_rollback: Roll back the transaction at the end of the
 |          block even if there were no error (e.g. to try a no-op process).
 |      :rtype: AsyncTransaction
 |
 |  async wait(self, gen: 'PQGen[RV]', interval: 'float' = 0.1) -> 'RV' from psycopg.connection_async.AsyncConnection
 |      Consume a generator operating on the connection.
 |
 |      The function must be used on generators that don't change connection
 |      fd (i.e. not on connect and reset).
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  async connect(conninfo: 'str' = '', *, autocommit: 'bool' = False, prepare_threshold: 'int | None' = 5, context: 'AdaptContext | None' = None, row_factory: 'AsyncRowFactory[Row] | None' = None, cursor_factory: 'type[AsyncCursor[Row]] | None' = None, **kwargs: 'ConnParam') -> 'Self' from psycopg.connection_async.AsyncConnection
 |      Connect to a database server and return a new `AsyncConnection` instance.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {'_pipeline': 'AsyncPipeline | None', 'cursor_factor...
 |
 |  __orig_bases__ = (psycopg._connection_base.BaseConnection[+Row],)
 |
 |  __parameters__ = (+Row,)
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._connection_base.BaseConnection:
 |
 |  __del__(self, _BaseConnection__warn: 'Any' = <built-in function warn>) -> 'None'
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  add_notice_handler(self, callback: 'NoticeHandler') -> 'None'
 |      Register a callable to be invoked when a notice message is received.
 |
 |      :param callback: the callback to call upon message received.
 |      :type callback: Callable[[~psycopg.errors.Diagnostic], None]
 |
 |  add_notify_handler(self, callback: 'NotifyHandler') -> 'None'
 |      Register a callable to be invoked whenever a notification is received.
 |
 |      :param callback: the callback to call upon notification received.
 |      :type callback: Callable[[~psycopg.Notify], None]
 |
 |  cancel(self) -> 'None'
 |      Cancel the current operation on the connection.
 |
 |  fileno(self) -> 'int'
 |      Return the file descriptor of the connection.
 |
 |      This function allows to use the connection as file-like object in
 |      functions waiting for readiness, such as the ones defined in the
 |      `selectors` module.
 |
 |  remove_notice_handler(self, callback: 'NoticeHandler') -> 'None'
 |      Unregister a notice message callable previously registered.
 |
 |      :param callback: the callback to remove.
 |      :type callback: Callable[[~psycopg.errors.Diagnostic], None]
 |
 |  remove_notify_handler(self, callback: 'NotifyHandler') -> 'None'
 |      Unregister a notification callable previously registered.
 |
 |      :param callback: the callback to remove.
 |      :type callback: Callable[[~psycopg.Notify], None]
 |
 |  xid(self, format_id: 'int', gtrid: 'str', bqual: 'str') -> 'Xid'
 |      Returns a `Xid` to pass to the `!tpc_*()` methods of this connection.
 |
 |      The argument types and constraints are explained in
 |      :ref:`two-phase-commit`.
 |
 |      The values passed to the method will be available on the returned
 |      object as the members `~Xid.format_id`, `~Xid.gtrid`, `~Xid.bqual`.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._connection_base.BaseConnection:
 |
 |  adapters
 |
 |  broken
 |      `!True` if the connection was interrupted.
 |
 |      A broken connection is always `closed`, but wasn't closed in a clean
 |      way, such as using `close()` or a `!with` block.
 |
 |  closed
 |      `!True` if the connection is closed.
 |
 |  connection
 |
 |  info
 |      A `ConnectionInfo` attribute to inspect connection properties.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._connection_base.BaseConnection:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  autocommit
 |      The autocommit state of the connection.
 |
 |  deferrable
 |      The deferrable state of the new transactions started on the connection.
 |
 |  isolation_level
 |      The isolation level of the new transactions started on the connection.
 |
 |  prepare_threshold
 |      Number of times a query is executed before it is prepared.
 |
 |      - If it is set to 0, every query is prepared the first time it is
 |        executed.
 |      - If it is set to `!None`, prepared statements are disabled on the
 |        connection.
 |
 |      Default value: 5
 |
 |  prepared_max
 |      Maximum number of prepared statements on the connection.
 |
 |      `!None` means no max number of prepared statements. The default value
 |      is 100.
 |
 |  read_only
 |      The read-only state of the new transactions started on the connection.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from psycopg._connection_base.BaseConnection:
 |
 |  DataError = <class 'psycopg.DataError'>
 |      An error caused by problems with the processed data.
 |
 |      Examples may be division by zero, numeric value out of range, etc.
 |
 |
 |  DatabaseError = <class 'psycopg.DatabaseError'>
 |      Exception raised for errors that are related to the database.
 |
 |
 |  Error = <class 'psycopg.Error'>
 |      Base exception for all the errors psycopg will raise.
 |
 |      Exception that is the base class of all other error exceptions. You can
 |      use this to catch all errors with one single `!except` statement.
 |
 |      This exception is guaranteed to be picklable.
 |
 |
 |  IntegrityError = <class 'psycopg.IntegrityError'>
 |      An error caused when the relational integrity of the database is affected.
 |
 |      An example may be a foreign key check failed.
 |
 |
 |  InterfaceError = <class 'psycopg.InterfaceError'>
 |      An error related to the database interface rather than the database itself.
 |
 |
 |  InternalError = <class 'psycopg.InternalError'>
 |      An error generated when the database encounters an internal error,
 |
 |      Examples could be the cursor is not valid anymore, the transaction is out
 |      of sync, etc.
 |
 |
 |  NotSupportedError = <class 'psycopg.NotSupportedError'>
 |      A method or database API was used which is not supported by the database.
 |
 |
 |  OperationalError = <class 'psycopg.OperationalError'>
 |      An error related to the database's operation.
 |
 |      These errors are not necessarily under the control of the programmer, e.g.
 |      an unexpected disconnect occurs, the data source name is not found, a
 |      transaction could not be processed, a memory allocation error occurred
 |      during processing, etc.
 |
 |
 |  ProgrammingError = <class 'psycopg.ProgrammingError'>
 |      Exception raised for programming errors
 |
 |      Examples may be table not found or already exists, syntax error in the SQL
 |      statement, wrong number of parameters specified, etc.
 |
 |
 |  Warning = <class 'psycopg.Warning'>
 |      Exception raised for important warnings.
 |
 |      Defined for DBAPI compatibility, but never raised by ``psycopg``.
 |
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.AsyncCopy
Python Library Documentation: class AsyncCopy in module psycopg

class AsyncCopy(psycopg._copy_base.BaseCopy)
 |  AsyncCopy(cursor: 'AsyncCursor[Any]', *, binary: 'bool | None' = None, writer: 'AsyncWriter | None' = None)
 |
 |  Manage an asynchronous :sql:`COPY` operation.
 |
 |  :param cursor: the cursor where the operation is performed.
 |  :param binary: if `!True`, write binary format.
 |  :param writer: the object to write to destination. If not specified, write
 |      to the `!cursor` connection.
 |
 |  Choosing `!binary` is not necessary if the cursor has executed a
 |  :sql:`COPY` operation, because the operation result describes the format
 |  too. The parameter is useful when a `!Copy` object is created manually and
 |  no operation is performed on the cursor, such as when using ``writer=``\
 |  `~psycopg.copy.FileWriter`.
 |
 |  Method resolution order:
 |      AsyncCopy
 |      psycopg._copy_base.BaseCopy
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  async __aenter__(self) -> 'Self' from psycopg._copy_async.AsyncCopy
 |
 |  async __aexit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg._copy_async.AsyncCopy
 |
 |  async __aiter__(self) -> 'AsyncIterator[Buffer]' from psycopg._copy_async.AsyncCopy
 |      Implement block-by-block iteration on :sql:`COPY TO`.
 |
 |  __init__(self, cursor: 'AsyncCursor[Any]', *, binary: 'bool | None' = None, writer: 'AsyncWriter | None' = None) from psycopg._copy_async.AsyncCopy
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  async finish(self, exc: 'BaseException | None') -> 'None' from psycopg._copy_async.AsyncCopy
 |      Terminate the copy operation and free the resources allocated.
 |
 |      You shouldn't need to call this function yourself: it is usually called
 |      by exit. It is available if, despite what is documented, you end up
 |      using the `Copy` object outside a block.
 |
 |  async read(self) -> 'Buffer' from psycopg._copy_async.AsyncCopy
 |      Read an unparsed row after a :sql:`COPY TO` operation.
 |
 |      Return an empty string when the data is finished.
 |
 |  async read_row(self) -> 'tuple[Any, ...] | None' from psycopg._copy_async.AsyncCopy
 |      Read a parsed row of data from a table after a :sql:`COPY TO` operation.
 |
 |      Return `!None` when the data is finished.
 |
 |      Note that the records returned will be tuples of unparsed strings or
 |      bytes, unless data types are specified using `set_types()`.
 |
 |  async rows(self) -> 'AsyncIterator[tuple[Any, ...]]' from psycopg._copy_async.AsyncCopy
 |      Iterate on the result of a :sql:`COPY TO` operation record by record.
 |
 |      Note that the records returned will be tuples of unparsed strings or
 |      bytes, unless data types are specified using `set_types()`.
 |
 |  async write(self, buffer: 'Buffer | str') -> 'None' from psycopg._copy_async.AsyncCopy
 |      Write a block of data to a table after a :sql:`COPY FROM` operation.
 |
 |      If the :sql:`COPY` is in binary format `!buffer` must be `!bytes`. In
 |      text mode it can be either `!bytes` or `!str`.
 |
 |  async write_row(self, row: 'Sequence[Any]') -> 'None' from psycopg._copy_async.AsyncCopy
 |      Write a record to a table after a :sql:`COPY FROM` operation.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {'writer': 'AsyncWriter'}
 |
 |  __orig_bases__ = (psycopg._copy_base.BaseCopy[ForwardRef('AsyncConnect...
 |
 |  __parameters__ = ()
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._copy_base.BaseCopy:
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  set_types(self, types: 'Sequence[int | str]') -> 'None'
 |      Set the types expected in a COPY operation.
 |
 |      The types must be specified as a sequence of oid or PostgreSQL type
 |      names (e.g. ``int4``, ``timestamptz[]``).
 |
 |      This operation overcomes the lack of metadata returned by PostgreSQL
 |      when a COPY operation begins:
 |
 |      - On :sql:`COPY TO`, `!set_types()` allows to specify what types the
 |        operation returns. If `!set_types()` is not used, the data will be
 |        returned as unparsed strings or bytes instead of Python objects.
 |
 |      - On :sql:`COPY FROM`, `!set_types()` allows to choose what type the
 |        database expects. This is especially useful in binary copy, because
 |        PostgreSQL will apply no cast rule.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._copy_base.BaseCopy:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.AsyncCursor
Python Library Documentation: class AsyncCursor in module psycopg

class AsyncCursor(psycopg._cursor_base.BaseCursor)
 |  AsyncCursor(connection: 'AsyncConnection[Any]', *, row_factory: 'AsyncRowFactory[Row] | None' = None)
 |
 |  Method resolution order:
 |      AsyncCursor
 |      psycopg._cursor_base.BaseCursor
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  async __aenter__(self) -> 'Self' from psycopg.cursor_async.AsyncCursor
 |
 |  async __aexit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg.cursor_async.AsyncCursor
 |
 |  __aiter__(self) -> 'Self' from psycopg.cursor_async.AsyncCursor
 |
 |  async __anext__(self) -> 'Row' from psycopg.cursor_async.AsyncCursor
 |
 |  __init__(self, connection: 'AsyncConnection[Any]', *, row_factory: 'AsyncRowFactory[Row] | None' = None) from psycopg.cursor_async.AsyncCursor
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  async close(self) -> 'None' from psycopg.cursor_async.AsyncCursor
 |      Close the current cursor and free associated resources.
 |
 |  copy(self, statement: 'Query', params: 'Params | None' = None, *, writer: 'AsyncWriter | None' = None) -> 'AsyncIterator[AsyncCopy]' from psycopg.cursor_async.AsyncCursor
 |      Initiate a :sql:`COPY` operation and return an object to manage it.
 |
 |  async execute(self, query: 'Query', params: 'Params | None' = None, *, prepare: 'bool | None' = None, binary: 'bool | None' = None) -> 'Self' from psycopg.cursor_async.AsyncCursor
 |      Execute a query or command to the database.
 |
 |  async executemany(self, query: 'Query', params_seq: 'Iterable[Params]', *, returning: 'bool' = False) -> 'None' from psycopg.cursor_async.AsyncCursor
 |      Execute the same command with a sequence of input data.
 |
 |  async fetchall(self) -> 'list[Row]' from psycopg.cursor_async.AsyncCursor
 |      Return all the remaining records from the current result set.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  async fetchmany(self, size: 'int' = 0) -> 'list[Row]' from psycopg.cursor_async.AsyncCursor
 |      Return the next `!size` records from the current result set.
 |
 |      `!size` default to `!self.arraysize` if not specified.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  async fetchone(self) -> 'Row | None' from psycopg.cursor_async.AsyncCursor
 |      Return the next record from the current result set.
 |
 |      Return `!None` the result set is finished.
 |
 |      :rtype: Row | None, with Row defined by `row_factory`
 |
 |  async results(self) -> 'AsyncIterator[Self]' from psycopg.cursor_async.AsyncCursor
 |      Iterate across multiple record sets received by the cursor.
 |
 |      Multiple record sets are received after using `executemany()` with
 |      `!returning=True` or using `execute()` with more than one query in the
 |      command.
 |
 |  async scroll(self, value: 'int', mode: 'str' = 'relative') -> 'None' from psycopg.cursor_async.AsyncCursor
 |      Move the cursor in the result set to a new position according to mode.
 |
 |      If `!mode` is ``'relative'`` (default), `!value` is taken as offset to
 |      the current position in the result set; if set to ``'absolute'``,
 |      `!value` states an absolute target position.
 |
 |      Raise `!IndexError` in case a scroll operation would leave the result
 |      set. In this case the position will not change.
 |
 |  async set_result(self, index: 'int') -> 'Self' from psycopg.cursor_async.AsyncCursor
 |      Move to a specific result set.
 |
 |      :arg index: index of the result to go to
 |      :type index: `!int`
 |
 |      More than one result will be available after executing calling
 |      `executemany()` or `execute()` with more than one query.
 |
 |      `!index` is 0-based and supports negative values, counting from the end,
 |      the same way you can index items in a list.
 |
 |      The function returns self, so that the result may be followed by a
 |      fetch operation. See `results()` for details.
 |
 |  async stream(self, query: 'Query', params: 'Params | None' = None, *, binary: 'bool | None' = None, size: 'int' = 1) -> 'AsyncIterator[Row]' from psycopg.cursor_async.AsyncCursor
 |      Iterate row-by-row on a result from the database.
 |
 |      :param size: if greater than 1, results will be retrieved by chunks of
 |          this size from the server (but still yielded row-by-row); this is only
 |          available from version 17 of the libpq.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  row_factory
 |      Writable attribute to control how result rows are formed.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (psycopg._cursor_base.BaseCursor[ForwardRef('AsyncCon...
 |
 |  __parameters__ = (+Row,)
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  nextset(self) -> 'bool | None'
 |      Move to the result set of the next query executed through `executemany()`
 |      or to the next result set if `execute()` returned more than one.
 |
 |      Return `!True` if a new result is available, which will be the one
 |      methods `!fetch*()` will operate on.
 |
 |  setinputsizes(self, sizes: 'Sequence[Any]') -> 'None'
 |
 |  setoutputsize(self, size: 'Any', column: 'int | None' = None) -> 'None'
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._cursor_base.BaseCursor:
 |
 |  adapters
 |
 |  closed
 |      `True` if the cursor is closed.
 |
 |  connection
 |      The connection this cursor is using.
 |
 |  description
 |      A list of `Column` objects describing the current resultset.
 |
 |      `!None` if the current resultset didn't return tuples.
 |
 |  rowcount
 |      Number of records affected by the operation that produced
 |      the current result set.
 |
 |  rownumber
 |      Index of the next row to fetch in the current result set.
 |
 |      `!None` if there is no result to fetch.
 |
 |  statusmessage
 |      The status tag of the current result set.
 |
 |      `!None` if the cursor doesn't have a result available.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  arraysize
 |
 |  format
 |
 |  pgresult
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.AsyncPipeline
Python Library Documentation: class AsyncPipeline in module psycopg

class AsyncPipeline(psycopg._pipeline_base.BasePipeline)
 |  AsyncPipeline(conn: 'AsyncConnection[Any]', _no_lock: 'bool' = False) -> 'None'
 |
 |  Handler for (async) connection in pipeline mode.
 |
 |  Method resolution order:
 |      AsyncPipeline
 |      psycopg._pipeline_base.BasePipeline
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  async __aenter__(self) -> 'Self' from psycopg._pipeline_async.AsyncPipeline
 |
 |  async __aexit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg._pipeline_async.AsyncPipeline
 |
 |  __init__(self, conn: 'AsyncConnection[Any]', _no_lock: 'bool' = False) -> 'None' from psycopg._pipeline_async.AsyncPipeline
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  async sync(self) -> 'None' from psycopg._pipeline_async.AsyncPipeline
 |      Sync the pipeline, send any pending command and receive and process
 |      all available results.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {'_conn': 'AsyncConnection[Any]'}
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._pipeline_base.BasePipeline:
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg._pipeline_base.BasePipeline:
 |
 |  is_supported() -> 'bool'
 |      Return `!True` if the psycopg libpq wrapper supports pipeline mode.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._pipeline_base.BasePipeline:
 |
 |  status
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._pipeline_base.BasePipeline:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.AsyncRawCursor
Python Library Documentation: class AsyncRawCursor in module psycopg

class AsyncRawCursor(psycopg.raw_cursor.RawCursorMixin, AsyncCursor)
 |  AsyncRawCursor(connection: 'AsyncConnection[Any]', *, row_factory: 'AsyncRowFactory[Row] | None' = None)
 |
 |  Method resolution order:
 |      AsyncRawCursor
 |      psycopg.raw_cursor.RawCursorMixin
 |      AsyncCursor
 |      psycopg._cursor_base.BaseCursor
 |      typing.Generic
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (psycopg.raw_cursor.RawCursorMixin[ForwardRef('AsyncC...
 |
 |  __parameters__ = (+Row,)
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.raw_cursor.RawCursorMixin:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from AsyncCursor:
 |
 |  async __aenter__(self) -> 'Self' from psycopg.cursor_async.AsyncCursor
 |
 |  async __aexit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg.cursor_async.AsyncCursor
 |
 |  __aiter__(self) -> 'Self' from psycopg.cursor_async.AsyncCursor
 |
 |  async __anext__(self) -> 'Row' from psycopg.cursor_async.AsyncCursor
 |
 |  __init__(self, connection: 'AsyncConnection[Any]', *, row_factory: 'AsyncRowFactory[Row] | None' = None) from psycopg.cursor_async.AsyncCursor
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  async close(self) -> 'None' from psycopg.cursor_async.AsyncCursor
 |      Close the current cursor and free associated resources.
 |
 |  copy(self, statement: 'Query', params: 'Params | None' = None, *, writer: 'AsyncWriter | None' = None) -> 'AsyncIterator[AsyncCopy]' from psycopg.cursor_async.AsyncCursor
 |      Initiate a :sql:`COPY` operation and return an object to manage it.
 |
 |  async execute(self, query: 'Query', params: 'Params | None' = None, *, prepare: 'bool | None' = None, binary: 'bool | None' = None) -> 'Self' from psycopg.cursor_async.AsyncCursor
 |      Execute a query or command to the database.
 |
 |  async executemany(self, query: 'Query', params_seq: 'Iterable[Params]', *, returning: 'bool' = False) -> 'None' from psycopg.cursor_async.AsyncCursor
 |      Execute the same command with a sequence of input data.
 |
 |  async fetchall(self) -> 'list[Row]' from psycopg.cursor_async.AsyncCursor
 |      Return all the remaining records from the current result set.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  async fetchmany(self, size: 'int' = 0) -> 'list[Row]' from psycopg.cursor_async.AsyncCursor
 |      Return the next `!size` records from the current result set.
 |
 |      `!size` default to `!self.arraysize` if not specified.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  async fetchone(self) -> 'Row | None' from psycopg.cursor_async.AsyncCursor
 |      Return the next record from the current result set.
 |
 |      Return `!None` the result set is finished.
 |
 |      :rtype: Row | None, with Row defined by `row_factory`
 |
 |  async results(self) -> 'AsyncIterator[Self]' from psycopg.cursor_async.AsyncCursor
 |      Iterate across multiple record sets received by the cursor.
 |
 |      Multiple record sets are received after using `executemany()` with
 |      `!returning=True` or using `execute()` with more than one query in the
 |      command.
 |
 |  async scroll(self, value: 'int', mode: 'str' = 'relative') -> 'None' from psycopg.cursor_async.AsyncCursor
 |      Move the cursor in the result set to a new position according to mode.
 |
 |      If `!mode` is ``'relative'`` (default), `!value` is taken as offset to
 |      the current position in the result set; if set to ``'absolute'``,
 |      `!value` states an absolute target position.
 |
 |      Raise `!IndexError` in case a scroll operation would leave the result
 |      set. In this case the position will not change.
 |
 |  async set_result(self, index: 'int') -> 'Self' from psycopg.cursor_async.AsyncCursor
 |      Move to a specific result set.
 |
 |      :arg index: index of the result to go to
 |      :type index: `!int`
 |
 |      More than one result will be available after executing calling
 |      `executemany()` or `execute()` with more than one query.
 |
 |      `!index` is 0-based and supports negative values, counting from the end,
 |      the same way you can index items in a list.
 |
 |      The function returns self, so that the result may be followed by a
 |      fetch operation. See `results()` for details.
 |
 |  async stream(self, query: 'Query', params: 'Params | None' = None, *, binary: 'bool | None' = None, size: 'int' = 1) -> 'AsyncIterator[Row]' from psycopg.cursor_async.AsyncCursor
 |      Iterate row-by-row on a result from the database.
 |
 |      :param size: if greater than 1, results will be retrieved by chunks of
 |          this size from the server (but still yielded row-by-row); this is only
 |          available from version 17 of the libpq.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from AsyncCursor:
 |
 |  row_factory
 |      Writable attribute to control how result rows are formed.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  nextset(self) -> 'bool | None'
 |      Move to the result set of the next query executed through `executemany()`
 |      or to the next result set if `execute()` returned more than one.
 |
 |      Return `!True` if a new result is available, which will be the one
 |      methods `!fetch*()` will operate on.
 |
 |  setinputsizes(self, sizes: 'Sequence[Any]') -> 'None'
 |
 |  setoutputsize(self, size: 'Any', column: 'int | None' = None) -> 'None'
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._cursor_base.BaseCursor:
 |
 |  adapters
 |
 |  closed
 |      `True` if the cursor is closed.
 |
 |  connection
 |      The connection this cursor is using.
 |
 |  description
 |      A list of `Column` objects describing the current resultset.
 |
 |      `!None` if the current resultset didn't return tuples.
 |
 |  rowcount
 |      Number of records affected by the operation that produced
 |      the current result set.
 |
 |  rownumber
 |      Index of the next row to fetch in the current result set.
 |
 |      `!None` if there is no result to fetch.
 |
 |  statusmessage
 |      The status tag of the current result set.
 |
 |      `!None` if the cursor doesn't have a result available.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  arraysize
 |
 |  format
 |
 |  pgresult
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.AsyncRawServerCursor
Python Library Documentation: class AsyncRawServerCursor in module psycopg

class AsyncRawServerCursor(psycopg.raw_cursor.RawCursorMixin, AsyncServerCursor)
 |  AsyncRawServerCursor(connection: 'AsyncConnection[Any]', name: 'str', *, row_factory: 'AsyncRowFactory[Row] | None' = None, scrollable: 'bool | None' = None, withhold: 'bool' = False)
 |
 |  Method resolution order:
 |      AsyncRawServerCursor
 |      psycopg.raw_cursor.RawCursorMixin
 |      AsyncServerCursor
 |      psycopg._server_cursor_base.ServerCursorMixin
 |      AsyncCursor
 |      psycopg._cursor_base.BaseCursor
 |      typing.Generic
 |      builtins.object
 |
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (psycopg.raw_cursor.RawCursorMixin[ForwardRef('AsyncC...
 |
 |  __parameters__ = (+Row,)
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from AsyncServerCursor:
 |
 |  __aiter__(self) -> 'Self' from psycopg._server_cursor_async.AsyncServerCursor
 |
 |  async __anext__(self) -> 'Row' from psycopg._server_cursor_async.AsyncServerCursor
 |
 |  __init__(self, connection: 'AsyncConnection[Any]', name: 'str', *, row_factory: 'AsyncRowFactory[Row] | None' = None, scrollable: 'bool | None' = None, withhold: 'bool' = False) from psycopg._server_cursor_async.AsyncServerCursor
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  async close(self) -> 'None' from psycopg._server_cursor_async.AsyncServerCursor
 |      Close the current cursor and free associated resources.
 |
 |  async execute(self, query: 'Query', params: 'Params | None' = None, *, binary: 'bool | None' = None, **kwargs: 'Any') -> 'Self' from psycopg._server_cursor_async.AsyncServerCursor
 |      Open a cursor to execute a query to the database.
 |
 |  async executemany(self, query: 'Query', params_seq: 'Iterable[Params]', *, returning: 'bool' = True) -> 'None' from psycopg._server_cursor_async.AsyncServerCursor
 |      Method not implemented for server-side cursors.
 |
 |  async fetchall(self) -> 'list[Row]' from psycopg._server_cursor_async.AsyncServerCursor
 |      Return all the remaining records from the current result set.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  async fetchmany(self, size: 'int' = 0) -> 'list[Row]' from psycopg._server_cursor_async.AsyncServerCursor
 |      Return the next `!size` records from the current result set.
 |
 |      `!size` default to `!self.arraysize` if not specified.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  async fetchone(self) -> 'Row | None' from psycopg._server_cursor_async.AsyncServerCursor
 |      Return the next record from the current result set.
 |
 |      Return `!None` the result set is finished.
 |
 |      :rtype: Row | None, with Row defined by `row_factory`
 |
 |  async scroll(self, value: 'int', mode: 'str' = 'relative') -> 'None' from psycopg._server_cursor_async.AsyncServerCursor
 |      Move the cursor in the result set to a new position according to mode.
 |
 |      If `!mode` is ``'relative'`` (default), `!value` is taken as offset to
 |      the current position in the result set; if set to ``'absolute'``,
 |      `!value` states an absolute target position.
 |
 |      Raise `!IndexError` in case a scroll operation would leave the result
 |      set. In this case the position will not change.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._server_cursor_base.ServerCursorMixin:
 |
 |  __del__(self, _ServerCursorMixin__warn: 'Any' = <built-in function warn>) -> 'None'
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._server_cursor_base.ServerCursorMixin:
 |
 |  name
 |      The name of the cursor.
 |
 |  rownumber
 |      Index of the next row to fetch in the current result.
 |
 |      `!None` if there is no result to fetch.
 |
 |  scrollable
 |      Whether the cursor is scrollable or not.
 |
 |      If `!None` leave the choice to the server. Use `!True` if you want to
 |      use `scroll()` on the cursor.
 |
 |  withhold
 |      If the cursor can be used after the creating transaction has committed.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._server_cursor_base.ServerCursorMixin:
 |
 |  itersize
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from AsyncCursor:
 |
 |  async __aenter__(self) -> 'Self' from psycopg.cursor_async.AsyncCursor
 |
 |  async __aexit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg.cursor_async.AsyncCursor
 |
 |  copy(self, statement: 'Query', params: 'Params | None' = None, *, writer: 'AsyncWriter | None' = None) -> 'AsyncIterator[AsyncCopy]' from psycopg.cursor_async.AsyncCursor
 |      Initiate a :sql:`COPY` operation and return an object to manage it.
 |
 |  async results(self) -> 'AsyncIterator[Self]' from psycopg.cursor_async.AsyncCursor
 |      Iterate across multiple record sets received by the cursor.
 |
 |      Multiple record sets are received after using `executemany()` with
 |      `!returning=True` or using `execute()` with more than one query in the
 |      command.
 |
 |  async set_result(self, index: 'int') -> 'Self' from psycopg.cursor_async.AsyncCursor
 |      Move to a specific result set.
 |
 |      :arg index: index of the result to go to
 |      :type index: `!int`
 |
 |      More than one result will be available after executing calling
 |      `executemany()` or `execute()` with more than one query.
 |
 |      `!index` is 0-based and supports negative values, counting from the end,
 |      the same way you can index items in a list.
 |
 |      The function returns self, so that the result may be followed by a
 |      fetch operation. See `results()` for details.
 |
 |  async stream(self, query: 'Query', params: 'Params | None' = None, *, binary: 'bool | None' = None, size: 'int' = 1) -> 'AsyncIterator[Row]' from psycopg.cursor_async.AsyncCursor
 |      Iterate row-by-row on a result from the database.
 |
 |      :param size: if greater than 1, results will be retrieved by chunks of
 |          this size from the server (but still yielded row-by-row); this is only
 |          available from version 17 of the libpq.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from AsyncCursor:
 |
 |  row_factory
 |      Writable attribute to control how result rows are formed.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._cursor_base.BaseCursor:
 |
 |  nextset(self) -> 'bool | None'
 |      Move to the result set of the next query executed through `executemany()`
 |      or to the next result set if `execute()` returned more than one.
 |
 |      Return `!True` if a new result is available, which will be the one
 |      methods `!fetch*()` will operate on.
 |
 |  setinputsizes(self, sizes: 'Sequence[Any]') -> 'None'
 |
 |  setoutputsize(self, size: 'Any', column: 'int | None' = None) -> 'None'
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._cursor_base.BaseCursor:
 |
 |  adapters
 |
 |  closed
 |      `True` if the cursor is closed.
 |
 |  connection
 |      The connection this cursor is using.
 |
 |  description
 |      A list of `Column` objects describing the current resultset.
 |
 |      `!None` if the current resultset didn't return tuples.
 |
 |  rowcount
 |      Number of records affected by the operation that produced
 |      the current result set.
 |
 |  statusmessage
 |      The status tag of the current result set.
 |
 |      `!None` if the cursor doesn't have a result available.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  arraysize
 |
 |  format
 |
 |  pgresult
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.AsyncServerCursor
Python Library Documentation: class AsyncServerCursor in module psycopg

class AsyncServerCursor(psycopg._server_cursor_base.ServerCursorMixin, AsyncCursor)
 |  AsyncServerCursor(connection: 'AsyncConnection[Any]', name: 'str', *, row_factory: 'AsyncRowFactory[Row] | None' = None, scrollable: 'bool | None' = None, withhold: 'bool' = False)
 |
 |  Method resolution order:
 |      AsyncServerCursor
 |      psycopg._server_cursor_base.ServerCursorMixin
 |      AsyncCursor
 |      psycopg._cursor_base.BaseCursor
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __aiter__(self) -> 'Self' from psycopg._server_cursor_async.AsyncServerCursor
 |
 |  async __anext__(self) -> 'Row' from psycopg._server_cursor_async.AsyncServerCursor
 |
 |  __init__(self, connection: 'AsyncConnection[Any]', name: 'str', *, row_factory: 'AsyncRowFactory[Row] | None' = None, scrollable: 'bool | None' = None, withhold: 'bool' = False) from psycopg._server_cursor_async.AsyncServerCursor
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  async close(self) -> 'None' from psycopg._server_cursor_async.AsyncServerCursor
 |      Close the current cursor and free associated resources.
 |
 |  async execute(self, query: 'Query', params: 'Params | None' = None, *, binary: 'bool | None' = None, **kwargs: 'Any') -> 'Self' from psycopg._server_cursor_async.AsyncServerCursor
 |      Open a cursor to execute a query to the database.
 |
 |  async executemany(self, query: 'Query', params_seq: 'Iterable[Params]', *, returning: 'bool' = True) -> 'None' from psycopg._server_cursor_async.AsyncServerCursor
 |      Method not implemented for server-side cursors.
 |
 |  async fetchall(self) -> 'list[Row]' from psycopg._server_cursor_async.AsyncServerCursor
 |      Return all the remaining records from the current result set.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  async fetchmany(self, size: 'int' = 0) -> 'list[Row]' from psycopg._server_cursor_async.AsyncServerCursor
 |      Return the next `!size` records from the current result set.
 |
 |      `!size` default to `!self.arraysize` if not specified.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  async fetchone(self) -> 'Row | None' from psycopg._server_cursor_async.AsyncServerCursor
 |      Return the next record from the current result set.
 |
 |      Return `!None` the result set is finished.
 |
 |      :rtype: Row | None, with Row defined by `row_factory`
 |
 |  async scroll(self, value: 'int', mode: 'str' = 'relative') -> 'None' from psycopg._server_cursor_async.AsyncServerCursor
 |      Move the cursor in the result set to a new position according to mode.
 |
 |      If `!mode` is ``'relative'`` (default), `!value` is taken as offset to
 |      the current position in the result set; if set to ``'absolute'``,
 |      `!value` states an absolute target position.
 |
 |      Raise `!IndexError` in case a scroll operation would leave the result
 |      set. In this case the position will not change.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (psycopg._server_cursor_base.ServerCursorMixin[Forwar...
 |
 |  __parameters__ = (+Row,)
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._server_cursor_base.ServerCursorMixin:
 |
 |  __del__(self, _ServerCursorMixin__warn: 'Any' = <built-in function warn>) -> 'None'
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._server_cursor_base.ServerCursorMixin:
 |
 |  name
 |      The name of the cursor.
 |
 |  rownumber
 |      Index of the next row to fetch in the current result.
 |
 |      `!None` if there is no result to fetch.
 |
 |  scrollable
 |      Whether the cursor is scrollable or not.
 |
 |      If `!None` leave the choice to the server. Use `!True` if you want to
 |      use `scroll()` on the cursor.
 |
 |  withhold
 |      If the cursor can be used after the creating transaction has committed.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._server_cursor_base.ServerCursorMixin:
 |
 |  itersize
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from AsyncCursor:
 |
 |  async __aenter__(self) -> 'Self' from psycopg.cursor_async.AsyncCursor
 |
 |  async __aexit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg.cursor_async.AsyncCursor
 |
 |  copy(self, statement: 'Query', params: 'Params | None' = None, *, writer: 'AsyncWriter | None' = None) -> 'AsyncIterator[AsyncCopy]' from psycopg.cursor_async.AsyncCursor
 |      Initiate a :sql:`COPY` operation and return an object to manage it.
 |
 |  async results(self) -> 'AsyncIterator[Self]' from psycopg.cursor_async.AsyncCursor
 |      Iterate across multiple record sets received by the cursor.
 |
 |      Multiple record sets are received after using `executemany()` with
 |      `!returning=True` or using `execute()` with more than one query in the
 |      command.
 |
 |  async set_result(self, index: 'int') -> 'Self' from psycopg.cursor_async.AsyncCursor
 |      Move to a specific result set.
 |
 |      :arg index: index of the result to go to
 |      :type index: `!int`
 |
 |      More than one result will be available after executing calling
 |      `executemany()` or `execute()` with more than one query.
 |
 |      `!index` is 0-based and supports negative values, counting from the end,
 |      the same way you can index items in a list.
 |
 |      The function returns self, so that the result may be followed by a
 |      fetch operation. See `results()` for details.
 |
 |  async stream(self, query: 'Query', params: 'Params | None' = None, *, binary: 'bool | None' = None, size: 'int' = 1) -> 'AsyncIterator[Row]' from psycopg.cursor_async.AsyncCursor
 |      Iterate row-by-row on a result from the database.
 |
 |      :param size: if greater than 1, results will be retrieved by chunks of
 |          this size from the server (but still yielded row-by-row); this is only
 |          available from version 17 of the libpq.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from AsyncCursor:
 |
 |  row_factory
 |      Writable attribute to control how result rows are formed.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._cursor_base.BaseCursor:
 |
 |  nextset(self) -> 'bool | None'
 |      Move to the result set of the next query executed through `executemany()`
 |      or to the next result set if `execute()` returned more than one.
 |
 |      Return `!True` if a new result is available, which will be the one
 |      methods `!fetch*()` will operate on.
 |
 |  setinputsizes(self, sizes: 'Sequence[Any]') -> 'None'
 |
 |  setoutputsize(self, size: 'Any', column: 'int | None' = None) -> 'None'
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._cursor_base.BaseCursor:
 |
 |  adapters
 |
 |  closed
 |      `True` if the cursor is closed.
 |
 |  connection
 |      The connection this cursor is using.
 |
 |  description
 |      A list of `Column` objects describing the current resultset.
 |
 |      `!None` if the current resultset didn't return tuples.
 |
 |  rowcount
 |      Number of records affected by the operation that produced
 |      the current result set.
 |
 |  statusmessage
 |      The status tag of the current result set.
 |
 |      `!None` if the cursor doesn't have a result available.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  arraysize
 |
 |  format
 |
 |  pgresult
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.AsyncTransaction
Python Library Documentation: class AsyncTransaction in module psycopg

class AsyncTransaction(psycopg.transaction.BaseTransaction)
 |  AsyncTransaction(connection: 'ConnectionType', savepoint_name: 'str | None' = None, force_rollback: 'bool' = False)
 |
 |  Returned by `AsyncConnection.transaction()` to handle a transaction block.
 |
 |  Method resolution order:
 |      AsyncTransaction
 |      psycopg.transaction.BaseTransaction
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  async __aenter__(self) -> 'Self' from psycopg.transaction.AsyncTransaction
 |
 |  async __aexit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'bool' from psycopg.transaction.AsyncTransaction
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties defined here:
 |
 |  connection
 |      The connection the object is managing.
 |
 |      :type: `AsyncConnection`
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (psycopg.transaction.BaseTransaction[ForwardRef('Asyn...
 |
 |  __parameters__ = ()
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.transaction.BaseTransaction:
 |
 |  __init__(self, connection: 'ConnectionType', savepoint_name: 'str | None' = None, force_rollback: 'bool' = False)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.transaction.BaseTransaction:
 |
 |  savepoint_name
 |      The name of the savepoint; `!None` if handling the main transaction.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.transaction.BaseTransaction:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from psycopg.transaction.BaseTransaction:
 |
 |  Status = <enum 'Status'>
 |      The current status of a transaction.
 |
 |      Exposed as the `~psycopg.Transaction.status` attribute of
 |      `~psycopg.Transaction` and `~psycopg.AsyncTransaction` objects.
 |
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.BINARY
Python Library Documentation: DBAPITypeObject in module psycopg.dbapi20 object

class DBAPITypeObject(builtins.object)
 |  DBAPITypeObject(name: 'str', oids: 'Sequence[int]')
 |
 |  Methods defined here:
 |
 |  __eq__(self, other: 'Any') -> 'bool'
 |      Return self==value.
 |
 |  __init__(self, name: 'str', oids: 'Sequence[int]')
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __ne__(self, other: 'Any') -> 'bool'
 |      Return self!=value.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __hash__ = None
psycopg.BaseConnection
Python Library Documentation: class BaseConnection in module psycopg._connection_base

class BaseConnection(typing.Generic)
 |  BaseConnection(pgconn: 'PGconn')
 |
 |  Base class for different types of connections.
 |
 |  Share common functionalities such as access to the wrapped PGconn, but
 |  allow different interfaces (sync/async).
 |
 |  Method resolution order:
 |      BaseConnection
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __del__(self, _BaseConnection__warn: 'Any' = <built-in function warn>) -> 'None'
 |
 |  __init__(self, pgconn: 'PGconn')
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  add_notice_handler(self, callback: 'NoticeHandler') -> 'None'
 |      Register a callable to be invoked when a notice message is received.
 |
 |      :param callback: the callback to call upon message received.
 |      :type callback: Callable[[~psycopg.errors.Diagnostic], None]
 |
 |  add_notify_handler(self, callback: 'NotifyHandler') -> 'None'
 |      Register a callable to be invoked whenever a notification is received.
 |
 |      :param callback: the callback to call upon notification received.
 |      :type callback: Callable[[~psycopg.Notify], None]
 |
 |  cancel(self) -> 'None'
 |      Cancel the current operation on the connection.
 |
 |  fileno(self) -> 'int'
 |      Return the file descriptor of the connection.
 |
 |      This function allows to use the connection as file-like object in
 |      functions waiting for readiness, such as the ones defined in the
 |      `selectors` module.
 |
 |  remove_notice_handler(self, callback: 'NoticeHandler') -> 'None'
 |      Unregister a notice message callable previously registered.
 |
 |      :param callback: the callback to remove.
 |      :type callback: Callable[[~psycopg.errors.Diagnostic], None]
 |
 |  remove_notify_handler(self, callback: 'NotifyHandler') -> 'None'
 |      Unregister a notification callable previously registered.
 |
 |      :param callback: the callback to remove.
 |      :type callback: Callable[[~psycopg.Notify], None]
 |
 |  xid(self, format_id: 'int', gtrid: 'str', bqual: 'str') -> 'Xid'
 |      Returns a `Xid` to pass to the `!tpc_*()` methods of this connection.
 |
 |      The argument types and constraints are explained in
 |      :ref:`two-phase-commit`.
 |
 |      The values passed to the method will be available on the returned
 |      object as the members `~Xid.format_id`, `~Xid.gtrid`, `~Xid.bqual`.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties defined here:
 |
 |  adapters
 |
 |  broken
 |      `!True` if the connection was interrupted.
 |
 |      A broken connection is always `closed`, but wasn't closed in a clean
 |      way, such as using `close()` or a `!with` block.
 |
 |  closed
 |      `!True` if the connection is closed.
 |
 |  connection
 |
 |  info
 |      A `ConnectionInfo` attribute to inspect connection properties.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  autocommit
 |      The autocommit state of the connection.
 |
 |  deferrable
 |      The deferrable state of the new transactions started on the connection.
 |
 |  isolation_level
 |      The isolation level of the new transactions started on the connection.
 |
 |  prepare_threshold
 |      Number of times a query is executed before it is prepared.
 |
 |      - If it is set to 0, every query is prepared the first time it is
 |        executed.
 |      - If it is set to `!None`, prepared statements are disabled on the
 |        connection.
 |
 |      Default value: 5
 |
 |  prepared_max
 |      Maximum number of prepared statements on the connection.
 |
 |      `!None` means no max number of prepared statements. The default value
 |      is 100.
 |
 |  read_only
 |      The read-only state of the new transactions started on the connection.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  DataError = <class 'psycopg.DataError'>
 |      An error caused by problems with the processed data.
 |
 |      Examples may be division by zero, numeric value out of range, etc.
 |
 |
 |  DatabaseError = <class 'psycopg.DatabaseError'>
 |      Exception raised for errors that are related to the database.
 |
 |
 |  Error = <class 'psycopg.Error'>
 |      Base exception for all the errors psycopg will raise.
 |
 |      Exception that is the base class of all other error exceptions. You can
 |      use this to catch all errors with one single `!except` statement.
 |
 |      This exception is guaranteed to be picklable.
 |
 |
 |  IntegrityError = <class 'psycopg.IntegrityError'>
 |      An error caused when the relational integrity of the database is affected.
 |
 |      An example may be a foreign key check failed.
 |
 |
 |  InterfaceError = <class 'psycopg.InterfaceError'>
 |      An error related to the database interface rather than the database itself.
 |
 |
 |  InternalError = <class 'psycopg.InternalError'>
 |      An error generated when the database encounters an internal error,
 |
 |      Examples could be the cursor is not valid anymore, the transaction is out
 |      of sync, etc.
 |
 |
 |  NotSupportedError = <class 'psycopg.NotSupportedError'>
 |      A method or database API was used which is not supported by the database.
 |
 |
 |  OperationalError = <class 'psycopg.OperationalError'>
 |      An error related to the database's operation.
 |
 |      These errors are not necessarily under the control of the programmer, e.g.
 |      an unexpected disconnect occurs, the data source name is not found, a
 |      transaction could not be processed, a memory allocation error occurred
 |      during processing, etc.
 |
 |
 |  ProgrammingError = <class 'psycopg.ProgrammingError'>
 |      Exception raised for programming errors
 |
 |      Examples may be table not found or already exists, syntax error in the SQL
 |      statement, wrong number of parameters specified, etc.
 |
 |
 |  Warning = <class 'psycopg.Warning'>
 |      Exception raised for important warnings.
 |
 |      Defined for DBAPI compatibility, but never raised by ``psycopg``.
 |
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (typing.Generic[+Row],)
 |
 |  __parameters__ = (+Row,)
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.Binary
Python Library Documentation: class Binary in module psycopg.dbapi20

class Binary(builtins.object)
 |  Binary(obj: 'Any')
 |
 |  Methods defined here:
 |
 |  __init__(self, obj: 'Any')
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.Capabilities
Python Library Documentation: class Capabilities in module psycopg._capabilities

class Capabilities(builtins.object)
 |  Capabilities() -> 'None'
 |
 |  An object to check if a feature is supported by the libpq available on the client.
 |
 |  Methods defined here:
 |
 |  __init__(self) -> 'None'
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  has_cancel_safe(self, check: 'bool' = False) -> 'bool'
 |      Check if the `Connection.cancel_safe()` method is implemented.
 |
 |      The feature requires libpq 17.0 or greater.
 |
 |  has_encrypt_password(self, check: 'bool' = False) -> 'bool'
 |      Check if the `PGconn.encrypt_password()` method is implemented.
 |
 |      The feature requires libpq 10.0 or greater.
 |
 |  has_full_protocol_version(self, check: 'bool' = False) -> 'bool'
 |      Check if the `PGconn.full_protocol_version()` method is implemented.
 |
 |      If the method is implemented, then `ConnectionInfo.full_protocol_version`
 |      will return a meaningful value.
 |
 |      The feature requires libpq 18.0 and greater.
 |
 |  has_hostaddr(self, check: 'bool' = False) -> 'bool'
 |      Check if the `ConnectionInfo.hostaddr` attribute is implemented.
 |
 |      The feature requires libpq 12.0 or greater.
 |
 |  has_pipeline(self, check: 'bool' = False) -> 'bool'
 |      Check if the :ref:`pipeline mode <pipeline-mode>` is supported.
 |
 |      The feature requires libpq 14.0 or greater.
 |
 |  has_send_close_prepared(self, check: 'bool' = False) -> 'bool'
 |      Check if the `pq.PGconn.send_closed_prepared()` method is implemented.
 |
 |      The feature requires libpq 17.0 or greater.
 |
 |  has_set_trace_flags(self, check: 'bool' = False) -> 'bool'
 |      Check if the `pq.PGconn.set_trace_flags()` method is implemented.
 |
 |      The feature requires libpq 14.0 or greater.
 |
 |  has_stream_chunked(self, check: 'bool' = False) -> 'bool'
 |      Check if `Cursor.stream()` can handle a `size` parameter value
 |      greater than 1 to retrieve results by chunks.
 |
 |      The feature requires libpq 17.0 or greater.
 |
 |  has_used_gssapi(self, check: 'bool' = False) -> 'bool'
 |      Check if the `pq.PGconn.used_gssapi` attribute is implemented.
 |
 |      The feature requires libpq 16.0 or greater.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.ClientCursor
Python Library Documentation: class ClientCursor in module psycopg

class ClientCursor(psycopg.client_cursor.ClientCursorMixin, Cursor)
 |  ClientCursor(connection: 'Connection[Any]', *, row_factory: 'RowFactory[Row] | None' = None)
 |
 |  Method resolution order:
 |      ClientCursor
 |      psycopg.client_cursor.ClientCursorMixin
 |      Cursor
 |      psycopg._cursor_base.BaseCursor
 |      typing.Generic
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (psycopg.client_cursor.ClientCursorMixin[ForwardRef('...
 |
 |  __parameters__ = (+Row,)
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.client_cursor.ClientCursorMixin:
 |
 |  mogrify(self, query: 'Query', params: 'Params | None' = None) -> 'str'
 |      Return the query and parameters merged.
 |
 |      Parameters are adapted and merged to the query the same way that
 |      `!execute()` would do.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.client_cursor.ClientCursorMixin:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Cursor:
 |
 |  __enter__(self) -> 'Self' from psycopg.cursor.Cursor
 |
 |  __exit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg.cursor.Cursor
 |
 |  __init__(self, connection: 'Connection[Any]', *, row_factory: 'RowFactory[Row] | None' = None) from psycopg.cursor.Cursor
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __iter__(self) -> 'Self' from psycopg.cursor.Cursor
 |
 |  __next__(self) -> 'Row' from psycopg.cursor.Cursor
 |
 |  close(self) -> 'None' from psycopg.cursor.Cursor
 |      Close the current cursor and free associated resources.
 |
 |  copy(self, statement: 'Query', params: 'Params | None' = None, *, writer: 'Writer | None' = None) -> 'Iterator[Copy]' from psycopg.cursor.Cursor
 |      Initiate a :sql:`COPY` operation and return an object to manage it.
 |
 |  execute(self, query: 'Query', params: 'Params | None' = None, *, prepare: 'bool | None' = None, binary: 'bool | None' = None) -> 'Self' from psycopg.cursor.Cursor
 |      Execute a query or command to the database.
 |
 |  executemany(self, query: 'Query', params_seq: 'Iterable[Params]', *, returning: 'bool' = False) -> 'None' from psycopg.cursor.Cursor
 |      Execute the same command with a sequence of input data.
 |
 |  fetchall(self) -> 'list[Row]' from psycopg.cursor.Cursor
 |      Return all the remaining records from the current result set.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  fetchmany(self, size: 'int' = 0) -> 'list[Row]' from psycopg.cursor.Cursor
 |      Return the next `!size` records from the current result set.
 |
 |      `!size` default to `!self.arraysize` if not specified.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  fetchone(self) -> 'Row | None' from psycopg.cursor.Cursor
 |      Return the next record from the current result set.
 |
 |      Return `!None` the result set is finished.
 |
 |      :rtype: Row | None, with Row defined by `row_factory`
 |
 |  results(self) -> 'Iterator[Self]' from psycopg.cursor.Cursor
 |      Iterate across multiple record sets received by the cursor.
 |
 |      Multiple record sets are received after using `executemany()` with
 |      `!returning=True` or using `execute()` with more than one query in the
 |      command.
 |
 |  scroll(self, value: 'int', mode: 'str' = 'relative') -> 'None' from psycopg.cursor.Cursor
 |      Move the cursor in the result set to a new position according to mode.
 |
 |      If `!mode` is ``'relative'`` (default), `!value` is taken as offset to
 |      the current position in the result set; if set to ``'absolute'``,
 |      `!value` states an absolute target position.
 |
 |      Raise `!IndexError` in case a scroll operation would leave the result
 |      set. In this case the position will not change.
 |
 |  set_result(self, index: 'int') -> 'Self' from psycopg.cursor.Cursor
 |      Move to a specific result set.
 |
 |      :arg index: index of the result to go to
 |      :type index: `!int`
 |
 |      More than one result will be available after executing calling
 |      `executemany()` or `execute()` with more than one query.
 |
 |      `!index` is 0-based and supports negative values, counting from the end,
 |      the same way you can index items in a list.
 |
 |      The function returns self, so that the result may be followed by a
 |      fetch operation. See `results()` for details.
 |
 |  stream(self, query: 'Query', params: 'Params | None' = None, *, binary: 'bool | None' = None, size: 'int' = 1) -> 'Iterator[Row]' from psycopg.cursor.Cursor
 |      Iterate row-by-row on a result from the database.
 |
 |      :param size: if greater than 1, results will be retrieved by chunks of
 |          this size from the server (but still yielded row-by-row); this is only
 |          available from version 17 of the libpq.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Cursor:
 |
 |  row_factory
 |      Writable attribute to control how result rows are formed.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  nextset(self) -> 'bool | None'
 |      Move to the result set of the next query executed through `executemany()`
 |      or to the next result set if `execute()` returned more than one.
 |
 |      Return `!True` if a new result is available, which will be the one
 |      methods `!fetch*()` will operate on.
 |
 |  setinputsizes(self, sizes: 'Sequence[Any]') -> 'None'
 |
 |  setoutputsize(self, size: 'Any', column: 'int | None' = None) -> 'None'
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._cursor_base.BaseCursor:
 |
 |  adapters
 |
 |  closed
 |      `True` if the cursor is closed.
 |
 |  connection
 |      The connection this cursor is using.
 |
 |  description
 |      A list of `Column` objects describing the current resultset.
 |
 |      `!None` if the current resultset didn't return tuples.
 |
 |  rowcount
 |      Number of records affected by the operation that produced
 |      the current result set.
 |
 |  rownumber
 |      Index of the next row to fetch in the current result set.
 |
 |      `!None` if there is no result to fetch.
 |
 |  statusmessage
 |      The status tag of the current result set.
 |
 |      `!None` if the cursor doesn't have a result available.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  arraysize
 |
 |  format
 |
 |  pgresult
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.Column
Python Library Documentation: class Column in module psycopg

class Column(collections.abc.Sequence)
 |  Column(cursor: 'BaseCursor[Any, Any]', index: 'int')
 |
 |  Method resolution order:
 |      Column
 |      collections.abc.Sequence
 |      collections.abc.Reversible
 |      collections.abc.Collection
 |      collections.abc.Sized
 |      collections.abc.Iterable
 |      collections.abc.Container
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __getitem__(self, index: 'Any') -> 'Any' from psycopg._column.Column
 |
 |  __init__(self, cursor: 'BaseCursor[Any, Any]', index: 'int') from psycopg._column.Column
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __len__(self) -> 'int' from psycopg._column.Column
 |
 |  __repr__(self) -> 'str' from psycopg._column.Column
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties defined here:
 |
 |  display_size
 |      The field size, for string types such as :sql:`varchar(n)`.
 |
 |  internal_size
 |      The internal field size for fixed-size types, None otherwise.
 |
 |  name
 |      The name of the column.
 |
 |  null_ok
 |      Always `!None`
 |
 |  precision
 |      The number of digits for fixed precision types.
 |
 |  scale
 |      The number of digits after the decimal point if available.
 |
 |  type_code
 |      The numeric OID of the column.
 |
 |  type_display
 |      A pretty representation of the column type.
 |
 |      It is composed by the type name, followed by eventual modifiers and
 |      brackets to signify arrays, e.g. :sql:`text`, :sql:`varchar(42)`,
 |      :sql:`date[]`.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __orig_bases__ = (collections.abc.Sequence[typing.Any],)
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from collections.abc.Sequence:
 |
 |  __contains__(self, value)
 |
 |  __iter__(self)
 |
 |  __reversed__(self)
 |
 |  count(self, value)
 |      S.count(value) -> integer -- return number of occurrences of value
 |
 |  index(self, value, start=0, stop=None)
 |      S.index(value, [start, [stop]]) -> integer -- return first index of value.
 |      Raises ValueError if the value is not present.
 |
 |      Supporting start and stop arguments is optional, but
 |      recommended.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from collections.abc.Reversible:
 |
 |  __subclasshook__(C)
 |      Abstract classes can override this to customize issubclass().
 |
 |      This is invoked early on by abc.ABCMeta.__subclasscheck__().
 |      It should return True, False or NotImplemented.  If it returns
 |      NotImplemented, the normal algorithm is used.  Otherwise, it
 |      overrides the normal algorithm (and the outcome is cached).
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from collections.abc.Iterable:
 |
 |  __class_getitem__ = GenericAlias(...)
 |      Represent a PEP 585 generic type
 |
 |      E.g. for t = list[int], t.__origin__ is list and t.__args__ is (int,).
psycopg.Connection
Python Library Documentation: class Connection in module psycopg

class Connection(psycopg._connection_base.BaseConnection)
 |  Connection(pgconn: 'PGconn', row_factory: 'RowFactory[Row]' = <function tuple_row at 0x0000024312811DA0>)
 |
 |  Wrapper for a connection to the database.
 |
 |  Method resolution order:
 |      Connection
 |      psycopg._connection_base.BaseConnection
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __enter__(self) -> 'Self' from psycopg.connection.Connection
 |
 |  __exit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg.connection.Connection
 |
 |  __init__(self, pgconn: 'PGconn', row_factory: 'RowFactory[Row]' = <function tuple_row at 0x0000024312811DA0>) from psycopg.connection.Connection
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  cancel_safe(self, *, timeout: 'float' = 30.0) -> 'None' from psycopg.connection.Connection
 |      Cancel the current operation on the connection.
 |
 |      :param timeout: raise a `~errors.CancellationTimeout` if the
 |          cancellation request does not succeed within `timeout` seconds.
 |
 |      Note that a successful cancel attempt on the client is not a guarantee
 |      that the server will successfully manage to cancel the operation.
 |
 |      This is a non-blocking version of `~Connection.cancel()` which
 |      leverages a more secure and improved cancellation feature of the libpq,
 |      which is only available from version 17.
 |
 |      If the underlying libpq is older than version 17, the method will fall
 |      back to using the same implementation of `!cancel()`.
 |
 |  close(self) -> 'None' from psycopg.connection.Connection
 |      Close the database connection.
 |
 |  commit(self) -> 'None' from psycopg.connection.Connection
 |      Commit any pending transaction to the database.
 |
 |  cursor(self, name: 'str' = '', *, binary: 'bool' = False, row_factory: 'RowFactory[Any] | None' = None, scrollable: 'bool | None' = None, withhold: 'bool' = False) -> 'Cursor[Any] | ServerCursor[Any]' from psycopg.connection.Connection
 |      Return a new `Cursor` to send commands and queries to the connection.
 |
 |  execute(self, query: 'Query', params: 'Params | None' = None, *, prepare: 'bool | None' = None, binary: 'bool' = False) -> 'Cursor[Row]' from psycopg.connection.Connection
 |      Execute a query and return a cursor to read its results.
 |
 |  notifies(self, *, timeout: 'float | None' = None, stop_after: 'int | None' = None) -> 'Generator[Notify]' from psycopg.connection.Connection
 |      Yield `Notify` objects as soon as they are received from the database.
 |
 |      :param timeout: maximum amount of time to wait for notifications.
 |          `!None` means no timeout.
 |      :param stop_after: stop after receiving this number of notifications.
 |          You might actually receive more than this number if more than one
 |          notifications arrives in the same packet.
 |
 |  pipeline(self) -> 'Iterator[Pipeline]' from psycopg.connection.Connection
 |      Context manager to switch the connection into pipeline mode.
 |
 |  rollback(self) -> 'None' from psycopg.connection.Connection
 |      Roll back to the start of any pending transaction.
 |
 |  set_autocommit(self, value: 'bool') -> 'None' from psycopg.connection.Connection
 |      Method version of the `~Connection.autocommit` setter.
 |
 |  set_deferrable(self, value: 'bool | None') -> 'None' from psycopg.connection.Connection
 |      Method version of the `~Connection.deferrable` setter.
 |
 |  set_isolation_level(self, value: 'IsolationLevel | None') -> 'None' from psycopg.connection.Connection
 |      Method version of the `~Connection.isolation_level` setter.
 |
 |  set_read_only(self, value: 'bool | None') -> 'None' from psycopg.connection.Connection
 |      Method version of the `~Connection.read_only` setter.
 |
 |  tpc_begin(self, xid: 'Xid | str') -> 'None' from psycopg.connection.Connection
 |      Begin a TPC transaction with the given transaction ID `!xid`.
 |
 |  tpc_commit(self, xid: 'Xid | str | None' = None) -> 'None' from psycopg.connection.Connection
 |      Commit a prepared two-phase transaction.
 |
 |  tpc_prepare(self) -> 'None' from psycopg.connection.Connection
 |      Perform the first phase of a transaction started with `tpc_begin()`.
 |
 |  tpc_recover(self) -> 'list[Xid]' from psycopg.connection.Connection
 |
 |  tpc_rollback(self, xid: 'Xid | str | None' = None) -> 'None' from psycopg.connection.Connection
 |      Roll back a prepared two-phase transaction.
 |
 |  transaction(self, savepoint_name: 'str | None' = None, force_rollback: 'bool' = False) -> 'Iterator[Transaction]' from psycopg.connection.Connection
 |      Start a context block with a new transaction or nested transaction.
 |
 |      :param savepoint_name: Name of the savepoint used to manage a nested
 |          transaction. If `!None`, one will be chosen automatically.
 |      :param force_rollback: Roll back the transaction at the end of the
 |          block even if there were no error (e.g. to try a no-op process).
 |      :rtype: Transaction
 |
 |  wait(self, gen: 'PQGen[RV]', interval: 'float' = 0.1) -> 'RV' from psycopg.connection.Connection
 |      Consume a generator operating on the connection.
 |
 |      The function must be used on generators that don't change connection
 |      fd (i.e. not on connect and reset).
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  connect(conninfo: 'str' = '', *, autocommit: 'bool' = False, prepare_threshold: 'int | None' = 5, context: 'AdaptContext | None' = None, row_factory: 'RowFactory[Row] | None' = None, cursor_factory: 'type[Cursor[Row]] | None' = None, **kwargs: 'ConnParam') -> 'Self' from psycopg.connection.Connection
 |      Connect to a database server and return a new `Connection` instance.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {'_pipeline': 'Pipeline | None', 'cursor_factory': '...
 |
 |  __orig_bases__ = (psycopg._connection_base.BaseConnection[+Row],)
 |
 |  __parameters__ = (+Row,)
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._connection_base.BaseConnection:
 |
 |  __del__(self, _BaseConnection__warn: 'Any' = <built-in function warn>) -> 'None'
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  add_notice_handler(self, callback: 'NoticeHandler') -> 'None'
 |      Register a callable to be invoked when a notice message is received.
 |
 |      :param callback: the callback to call upon message received.
 |      :type callback: Callable[[~psycopg.errors.Diagnostic], None]
 |
 |  add_notify_handler(self, callback: 'NotifyHandler') -> 'None'
 |      Register a callable to be invoked whenever a notification is received.
 |
 |      :param callback: the callback to call upon notification received.
 |      :type callback: Callable[[~psycopg.Notify], None]
 |
 |  cancel(self) -> 'None'
 |      Cancel the current operation on the connection.
 |
 |  fileno(self) -> 'int'
 |      Return the file descriptor of the connection.
 |
 |      This function allows to use the connection as file-like object in
 |      functions waiting for readiness, such as the ones defined in the
 |      `selectors` module.
 |
 |  remove_notice_handler(self, callback: 'NoticeHandler') -> 'None'
 |      Unregister a notice message callable previously registered.
 |
 |      :param callback: the callback to remove.
 |      :type callback: Callable[[~psycopg.errors.Diagnostic], None]
 |
 |  remove_notify_handler(self, callback: 'NotifyHandler') -> 'None'
 |      Unregister a notification callable previously registered.
 |
 |      :param callback: the callback to remove.
 |      :type callback: Callable[[~psycopg.Notify], None]
 |
 |  xid(self, format_id: 'int', gtrid: 'str', bqual: 'str') -> 'Xid'
 |      Returns a `Xid` to pass to the `!tpc_*()` methods of this connection.
 |
 |      The argument types and constraints are explained in
 |      :ref:`two-phase-commit`.
 |
 |      The values passed to the method will be available on the returned
 |      object as the members `~Xid.format_id`, `~Xid.gtrid`, `~Xid.bqual`.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._connection_base.BaseConnection:
 |
 |  adapters
 |
 |  broken
 |      `!True` if the connection was interrupted.
 |
 |      A broken connection is always `closed`, but wasn't closed in a clean
 |      way, such as using `close()` or a `!with` block.
 |
 |  closed
 |      `!True` if the connection is closed.
 |
 |  connection
 |
 |  info
 |      A `ConnectionInfo` attribute to inspect connection properties.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._connection_base.BaseConnection:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  autocommit
 |      The autocommit state of the connection.
 |
 |  deferrable
 |      The deferrable state of the new transactions started on the connection.
 |
 |  isolation_level
 |      The isolation level of the new transactions started on the connection.
 |
 |  prepare_threshold
 |      Number of times a query is executed before it is prepared.
 |
 |      - If it is set to 0, every query is prepared the first time it is
 |        executed.
 |      - If it is set to `!None`, prepared statements are disabled on the
 |        connection.
 |
 |      Default value: 5
 |
 |  prepared_max
 |      Maximum number of prepared statements on the connection.
 |
 |      `!None` means no max number of prepared statements. The default value
 |      is 100.
 |
 |  read_only
 |      The read-only state of the new transactions started on the connection.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from psycopg._connection_base.BaseConnection:
 |
 |  DataError = <class 'psycopg.DataError'>
 |      An error caused by problems with the processed data.
 |
 |      Examples may be division by zero, numeric value out of range, etc.
 |
 |
 |  DatabaseError = <class 'psycopg.DatabaseError'>
 |      Exception raised for errors that are related to the database.
 |
 |
 |  Error = <class 'psycopg.Error'>
 |      Base exception for all the errors psycopg will raise.
 |
 |      Exception that is the base class of all other error exceptions. You can
 |      use this to catch all errors with one single `!except` statement.
 |
 |      This exception is guaranteed to be picklable.
 |
 |
 |  IntegrityError = <class 'psycopg.IntegrityError'>
 |      An error caused when the relational integrity of the database is affected.
 |
 |      An example may be a foreign key check failed.
 |
 |
 |  InterfaceError = <class 'psycopg.InterfaceError'>
 |      An error related to the database interface rather than the database itself.
 |
 |
 |  InternalError = <class 'psycopg.InternalError'>
 |      An error generated when the database encounters an internal error,
 |
 |      Examples could be the cursor is not valid anymore, the transaction is out
 |      of sync, etc.
 |
 |
 |  NotSupportedError = <class 'psycopg.NotSupportedError'>
 |      A method or database API was used which is not supported by the database.
 |
 |
 |  OperationalError = <class 'psycopg.OperationalError'>
 |      An error related to the database's operation.
 |
 |      These errors are not necessarily under the control of the programmer, e.g.
 |      an unexpected disconnect occurs, the data source name is not found, a
 |      transaction could not be processed, a memory allocation error occurred
 |      during processing, etc.
 |
 |
 |  ProgrammingError = <class 'psycopg.ProgrammingError'>
 |      Exception raised for programming errors
 |
 |      Examples may be table not found or already exists, syntax error in the SQL
 |      statement, wrong number of parameters specified, etc.
 |
 |
 |  Warning = <class 'psycopg.Warning'>
 |      Exception raised for important warnings.
 |
 |      Defined for DBAPI compatibility, but never raised by ``psycopg``.
 |
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.ConnectionInfo
Python Library Documentation: class ConnectionInfo in module psycopg

class ConnectionInfo(builtins.object)
 |  ConnectionInfo(pgconn: 'pq.abc.PGconn')
 |
 |  Allow access to information about the connection.
 |
 |  Methods defined here:
 |
 |  __init__(self, pgconn: 'pq.abc.PGconn') from psycopg._connection_info.ConnectionInfo
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  get_parameters(self) -> 'dict[str, str]' from psycopg._connection_info.ConnectionInfo
 |      Return the connection parameters values.
 |
 |      Return all the parameters set to a non-default value, which might come
 |      either from the connection string and parameters passed to
 |      `~Connection.connect()` or from environment variables. The password
 |      is never returned (you can read it using the `password` attribute).
 |
 |  parameter_status(self, param_name: 'str') -> 'str | None' from psycopg._connection_info.ConnectionInfo
 |      Return a parameter setting of the connection.
 |
 |      Return `None` is the parameter is unknown.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties defined here:
 |
 |  backend_pid
 |      The process ID (PID) of the backend process handling this connection.
 |      See :pq:`PQbackendPID()`.
 |
 |  dbname
 |      The database name of the connection. See :pq:`PQdb()`.
 |
 |  dsn
 |      Return the connection string to connect to the database.
 |
 |      The string contains all the parameters set to a non-default value,
 |      which might come either from the connection string and parameters
 |      passed to `~Connection.connect()` or from environment variables. The
 |      password is never returned (you can read it using the `password`
 |      attribute).
 |
 |  encoding
 |      The Python codec name of the connection's client encoding.
 |
 |  error_message
 |      The error message most recently generated by an operation on the connection.
 |      See :pq:`PQerrorMessage()`.
 |
 |  full_protocol_version
 |      An integer representing the server full protocol version.
 |
 |      Return a value in the format described in :pq:`PQfullProtocolVersion()`.
 |
 |      Only meaningful if the libpq used is version 18 or greater. If the
 |      version is lesser than that, return the value reported by
 |      :pq:`PQprotocolVersion()` (but in the same format as above, e.g. 30000
 |      for version 3). You can use `Capabilities.has_full_protocol_version()`
 |      to verify if the value can be considered reliable.
 |
 |  host
 |      The server host name of the active connection. See :pq:`PQhost()`.
 |
 |  hostaddr
 |      The server IP address of the connection. See :pq:`PQhostaddr()`.
 |
 |  options
 |      The command-line options passed in the connection request.
 |      See :pq:`PQoptions`.
 |
 |  password
 |      The password of the connection. See :pq:`PQpass()`.
 |
 |  pipeline_status
 |      The current pipeline status of the client.
 |      See :pq:`PQpipelineStatus()`.
 |
 |  port
 |      The port of the active connection. See :pq:`PQport()`.
 |
 |  server_version
 |      An integer representing the server version. See :pq:`PQserverVersion()`.
 |
 |  status
 |      The status of the connection. See :pq:`PQstatus()`.
 |
 |  timezone
 |      The Python timezone info of the connection's timezone.
 |
 |  transaction_status
 |      The current in-transaction status of the session.
 |      See :pq:`PQtransactionStatus()`.
 |
 |  user
 |      The user name of the connection. See :pq:`PQuser()`.
 |
 |  vendor
 |      A string representing the database vendor connected to.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.Copy
Python Library Documentation: class Copy in module psycopg

class Copy(psycopg._copy_base.BaseCopy)
 |  Copy(cursor: 'Cursor[Any]', *, binary: 'bool | None' = None, writer: 'Writer | None' = None)
 |
 |  Manage an asynchronous :sql:`COPY` operation.
 |
 |  :param cursor: the cursor where the operation is performed.
 |  :param binary: if `!True`, write binary format.
 |  :param writer: the object to write to destination. If not specified, write
 |      to the `!cursor` connection.
 |
 |  Choosing `!binary` is not necessary if the cursor has executed a
 |  :sql:`COPY` operation, because the operation result describes the format
 |  too. The parameter is useful when a `!Copy` object is created manually and
 |  no operation is performed on the cursor, such as when using ``writer=``\
 |  `~psycopg.copy.FileWriter`.
 |
 |  Method resolution order:
 |      Copy
 |      psycopg._copy_base.BaseCopy
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __enter__(self) -> 'Self' from psycopg._copy.Copy
 |
 |  __exit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg._copy.Copy
 |
 |  __init__(self, cursor: 'Cursor[Any]', *, binary: 'bool | None' = None, writer: 'Writer | None' = None) from psycopg._copy.Copy
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __iter__(self) -> 'Iterator[Buffer]' from psycopg._copy.Copy
 |      Implement block-by-block iteration on :sql:`COPY TO`.
 |
 |  finish(self, exc: 'BaseException | None') -> 'None' from psycopg._copy.Copy
 |      Terminate the copy operation and free the resources allocated.
 |
 |      You shouldn't need to call this function yourself: it is usually called
 |      by exit. It is available if, despite what is documented, you end up
 |      using the `Copy` object outside a block.
 |
 |  read(self) -> 'Buffer' from psycopg._copy.Copy
 |      Read an unparsed row after a :sql:`COPY TO` operation.
 |
 |      Return an empty string when the data is finished.
 |
 |  read_row(self) -> 'tuple[Any, ...] | None' from psycopg._copy.Copy
 |      Read a parsed row of data from a table after a :sql:`COPY TO` operation.
 |
 |      Return `!None` when the data is finished.
 |
 |      Note that the records returned will be tuples of unparsed strings or
 |      bytes, unless data types are specified using `set_types()`.
 |
 |  rows(self) -> 'Iterator[tuple[Any, ...]]' from psycopg._copy.Copy
 |      Iterate on the result of a :sql:`COPY TO` operation record by record.
 |
 |      Note that the records returned will be tuples of unparsed strings or
 |      bytes, unless data types are specified using `set_types()`.
 |
 |  write(self, buffer: 'Buffer | str') -> 'None' from psycopg._copy.Copy
 |      Write a block of data to a table after a :sql:`COPY FROM` operation.
 |
 |      If the :sql:`COPY` is in binary format `!buffer` must be `!bytes`. In
 |      text mode it can be either `!bytes` or `!str`.
 |
 |  write_row(self, row: 'Sequence[Any]') -> 'None' from psycopg._copy.Copy
 |      Write a record to a table after a :sql:`COPY FROM` operation.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {'writer': 'Writer'}
 |
 |  __orig_bases__ = (psycopg._copy_base.BaseCopy[ForwardRef('Connection[A...
 |
 |  __parameters__ = ()
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._copy_base.BaseCopy:
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  set_types(self, types: 'Sequence[int | str]') -> 'None'
 |      Set the types expected in a COPY operation.
 |
 |      The types must be specified as a sequence of oid or PostgreSQL type
 |      names (e.g. ``int4``, ``timestamptz[]``).
 |
 |      This operation overcomes the lack of metadata returned by PostgreSQL
 |      when a COPY operation begins:
 |
 |      - On :sql:`COPY TO`, `!set_types()` allows to specify what types the
 |        operation returns. If `!set_types()` is not used, the data will be
 |        returned as unparsed strings or bytes instead of Python objects.
 |
 |      - On :sql:`COPY FROM`, `!set_types()` allows to choose what type the
 |        database expects. This is especially useful in binary copy, because
 |        PostgreSQL will apply no cast rule.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._copy_base.BaseCopy:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.Cursor
Python Library Documentation: class Cursor in module psycopg

class Cursor(psycopg._cursor_base.BaseCursor)
 |  Cursor(connection: 'Connection[Any]', *, row_factory: 'RowFactory[Row] | None' = None)
 |
 |  Method resolution order:
 |      Cursor
 |      psycopg._cursor_base.BaseCursor
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __enter__(self) -> 'Self' from psycopg.cursor.Cursor
 |
 |  __exit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg.cursor.Cursor
 |
 |  __init__(self, connection: 'Connection[Any]', *, row_factory: 'RowFactory[Row] | None' = None) from psycopg.cursor.Cursor
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __iter__(self) -> 'Self' from psycopg.cursor.Cursor
 |
 |  __next__(self) -> 'Row' from psycopg.cursor.Cursor
 |
 |  close(self) -> 'None' from psycopg.cursor.Cursor
 |      Close the current cursor and free associated resources.
 |
 |  copy(self, statement: 'Query', params: 'Params | None' = None, *, writer: 'Writer | None' = None) -> 'Iterator[Copy]' from psycopg.cursor.Cursor
 |      Initiate a :sql:`COPY` operation and return an object to manage it.
 |
 |  execute(self, query: 'Query', params: 'Params | None' = None, *, prepare: 'bool | None' = None, binary: 'bool | None' = None) -> 'Self' from psycopg.cursor.Cursor
 |      Execute a query or command to the database.
 |
 |  executemany(self, query: 'Query', params_seq: 'Iterable[Params]', *, returning: 'bool' = False) -> 'None' from psycopg.cursor.Cursor
 |      Execute the same command with a sequence of input data.
 |
 |  fetchall(self) -> 'list[Row]' from psycopg.cursor.Cursor
 |      Return all the remaining records from the current result set.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  fetchmany(self, size: 'int' = 0) -> 'list[Row]' from psycopg.cursor.Cursor
 |      Return the next `!size` records from the current result set.
 |
 |      `!size` default to `!self.arraysize` if not specified.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  fetchone(self) -> 'Row | None' from psycopg.cursor.Cursor
 |      Return the next record from the current result set.
 |
 |      Return `!None` the result set is finished.
 |
 |      :rtype: Row | None, with Row defined by `row_factory`
 |
 |  results(self) -> 'Iterator[Self]' from psycopg.cursor.Cursor
 |      Iterate across multiple record sets received by the cursor.
 |
 |      Multiple record sets are received after using `executemany()` with
 |      `!returning=True` or using `execute()` with more than one query in the
 |      command.
 |
 |  scroll(self, value: 'int', mode: 'str' = 'relative') -> 'None' from psycopg.cursor.Cursor
 |      Move the cursor in the result set to a new position according to mode.
 |
 |      If `!mode` is ``'relative'`` (default), `!value` is taken as offset to
 |      the current position in the result set; if set to ``'absolute'``,
 |      `!value` states an absolute target position.
 |
 |      Raise `!IndexError` in case a scroll operation would leave the result
 |      set. In this case the position will not change.
 |
 |  set_result(self, index: 'int') -> 'Self' from psycopg.cursor.Cursor
 |      Move to a specific result set.
 |
 |      :arg index: index of the result to go to
 |      :type index: `!int`
 |
 |      More than one result will be available after executing calling
 |      `executemany()` or `execute()` with more than one query.
 |
 |      `!index` is 0-based and supports negative values, counting from the end,
 |      the same way you can index items in a list.
 |
 |      The function returns self, so that the result may be followed by a
 |      fetch operation. See `results()` for details.
 |
 |  stream(self, query: 'Query', params: 'Params | None' = None, *, binary: 'bool | None' = None, size: 'int' = 1) -> 'Iterator[Row]' from psycopg.cursor.Cursor
 |      Iterate row-by-row on a result from the database.
 |
 |      :param size: if greater than 1, results will be retrieved by chunks of
 |          this size from the server (but still yielded row-by-row); this is only
 |          available from version 17 of the libpq.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  row_factory
 |      Writable attribute to control how result rows are formed.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (psycopg._cursor_base.BaseCursor[ForwardRef('Connecti...
 |
 |  __parameters__ = (+Row,)
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  nextset(self) -> 'bool | None'
 |      Move to the result set of the next query executed through `executemany()`
 |      or to the next result set if `execute()` returned more than one.
 |
 |      Return `!True` if a new result is available, which will be the one
 |      methods `!fetch*()` will operate on.
 |
 |  setinputsizes(self, sizes: 'Sequence[Any]') -> 'None'
 |
 |  setoutputsize(self, size: 'Any', column: 'int | None' = None) -> 'None'
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._cursor_base.BaseCursor:
 |
 |  adapters
 |
 |  closed
 |      `True` if the cursor is closed.
 |
 |  connection
 |      The connection this cursor is using.
 |
 |  description
 |      A list of `Column` objects describing the current resultset.
 |
 |      `!None` if the current resultset didn't return tuples.
 |
 |  rowcount
 |      Number of records affected by the operation that produced
 |      the current result set.
 |
 |  rownumber
 |      Index of the next row to fetch in the current result set.
 |
 |      `!None` if there is no result to fetch.
 |
 |  statusmessage
 |      The status tag of the current result set.
 |
 |      `!None` if the cursor doesn't have a result available.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  arraysize
 |
 |  format
 |
 |  pgresult
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.DATETIME
Python Library Documentation: DBAPITypeObject in module psycopg.dbapi20 object

class DBAPITypeObject(builtins.object)
 |  DBAPITypeObject(name: 'str', oids: 'Sequence[int]')
 |
 |  Methods defined here:
 |
 |  __eq__(self, other: 'Any') -> 'bool'
 |      Return self==value.
 |
 |  __init__(self, name: 'str', oids: 'Sequence[int]')
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __ne__(self, other: 'Any') -> 'bool'
 |      Return self!=value.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __hash__ = None
psycopg.DataError
Python Library Documentation: class DataError in module psycopg

class DataError(DatabaseError)
 |  DataError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  An error caused by problems with the processed data.
 |
 |  Examples may be division by zero, numeric value out of range, etc.
 |
 |  Method resolution order:
 |      DataError
 |      DatabaseError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.DatabaseError
Python Library Documentation: class DatabaseError in module psycopg

class DatabaseError(Error)
 |  DatabaseError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Exception raised for errors that are related to the database.
 |
 |  Method resolution order:
 |      DatabaseError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Class methods defined here:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.Date
Python Library Documentation: function Date in module psycopg.dbapi20

Date(year: 'int', month: 'int', day: 'int') -> 'dt.date'
psycopg.DateFromTicks
Python Library Documentation: function DateFromTicks in module psycopg.dbapi20

DateFromTicks(ticks: 'float') -> 'dt.date'
psycopg.Error
Python Library Documentation: class Error in module psycopg

class Error(builtins.Exception)
 |  Error(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Base exception for all the errors psycopg will raise.
 |
 |  Exception that is the base class of all other error exceptions. You can
 |  use this to catch all errors with one single `!except` statement.
 |
 |  This exception is guaranteed to be picklable.
 |
 |  Method resolution order:
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties defined here:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {'sqlstate': 'str | None'}
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.IntegrityError
Python Library Documentation: class IntegrityError in module psycopg

class IntegrityError(DatabaseError)
 |  IntegrityError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  An error caused when the relational integrity of the database is affected.
 |
 |  An example may be a foreign key check failed.
 |
 |  Method resolution order:
 |      IntegrityError
 |      DatabaseError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.InterfaceError
Python Library Documentation: class InterfaceError in module psycopg

class InterfaceError(Error)
 |  InterfaceError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  An error related to the database interface rather than the database itself.
 |
 |  Method resolution order:
 |      InterfaceError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.InternalError
Python Library Documentation: class InternalError in module psycopg

class InternalError(DatabaseError)
 |  InternalError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  An error generated when the database encounters an internal error,
 |
 |  Examples could be the cursor is not valid anymore, the transaction is out
 |  of sync, etc.
 |
 |  Method resolution order:
 |      InternalError
 |      DatabaseError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.IsolationLevel
Python Library Documentation: class IsolationLevel in module psycopg

class IsolationLevel(enum.IntEnum)
 |  IsolationLevel(*values)
 |
 |  Enum representing the isolation level for a transaction.
 |
 |  Method resolution order:
 |      IsolationLevel
 |      enum.IntEnum
 |      builtins.int
 |      enum.ReprEnum
 |      enum.Enum
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __format__(self, format_spec, /) from builtins.int
 |      Convert to a string according to format_spec.
 |
 |  __new__(cls, value) from enum.Enum
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  READ_COMMITTED = <IsolationLevel.READ_COMMITTED: 2>
 |
 |  READ_UNCOMMITTED = <IsolationLevel.READ_UNCOMMITTED: 1>
 |
 |  REPEATABLE_READ = <IsolationLevel.REPEATABLE_READ: 3>
 |
 |  SERIALIZABLE = <IsolationLevel.SERIALIZABLE: 4>
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.IntEnum:
 |
 |  __repr__(self) from enum.Enum
 |      Return repr(self).
 |
 |  __str__ = __repr__(self, /) from builtins.int
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.int:
 |
 |  __abs__(self, /)
 |      abs(self)
 |
 |  __add__(self, value, /)
 |      Return self+value.
 |
 |  __and__(self, value, /)
 |      Return self&value.
 |
 |  __bool__(self, /)
 |      True if self else False
 |
 |  __ceil__(...)
 |      Ceiling of an Integral returns itself.
 |
 |  __divmod__(self, value, /)
 |      Return divmod(self, value).
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __float__(self, /)
 |      float(self)
 |
 |  __floor__(...)
 |      Flooring an Integral returns itself.
 |
 |  __floordiv__(self, value, /)
 |      Return self//value.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getnewargs__(self, /)
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __index__(self, /)
 |      Return self converted to an integer, if self is suitable for use as an index into a list.
 |
 |  __int__(self, /)
 |      int(self)
 |
 |  __invert__(self, /)
 |      ~self
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __lshift__(self, value, /)
 |      Return self<<value.
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __mod__(self, value, /)
 |      Return self%value.
 |
 |  __mul__(self, value, /)
 |      Return self*value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __neg__(self, /)
 |      -self
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __pos__(self, /)
 |      +self
 |
 |  __pow__(self, value, mod=None, /)
 |      Return pow(self, value, mod).
 |
 |  __radd__(self, value, /)
 |      Return value+self.
 |
 |  __rand__(self, value, /)
 |      Return value&self.
 |
 |  __rdivmod__(self, value, /)
 |      Return divmod(value, self).
 |
 |  __rfloordiv__(self, value, /)
 |      Return value//self.
 |
 |  __rlshift__(self, value, /)
 |      Return value<<self.
 |
 |  __rmod__(self, value, /)
 |      Return value%self.
 |
 |  __rmul__(self, value, /)
 |      Return value*self.
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  __round__(...)
 |      Rounding an Integral returns itself.
 |
 |      Rounding with an ndigits argument also returns an integer.
 |
 |  __rpow__(self, value, mod=None, /)
 |      Return pow(value, self, mod).
 |
 |  __rrshift__(self, value, /)
 |      Return value>>self.
 |
 |  __rshift__(self, value, /)
 |      Return self>>value.
 |
 |  __rsub__(self, value, /)
 |      Return value-self.
 |
 |  __rtruediv__(self, value, /)
 |      Return value/self.
 |
 |  __rxor__(self, value, /)
 |      Return value^self.
 |
 |  __sizeof__(self, /)
 |      Returns size in memory, in bytes.
 |
 |  __sub__(self, value, /)
 |      Return self-value.
 |
 |  __truediv__(self, value, /)
 |      Return self/value.
 |
 |  __trunc__(...)
 |      Truncating an Integral returns itself.
 |
 |  __xor__(self, value, /)
 |      Return self^value.
 |
 |  as_integer_ratio(self, /)
 |      Return a pair of integers, whose ratio is equal to the original int.
 |
 |      The ratio is in lowest terms and has a positive denominator.
 |
 |      >>> (10).as_integer_ratio()
 |      (10, 1)
 |      >>> (-10).as_integer_ratio()
 |      (-10, 1)
 |      >>> (0).as_integer_ratio()
 |      (0, 1)
 |
 |  bit_count(self, /)
 |      Number of ones in the binary representation of the absolute value of self.
 |
 |      Also known as the population count.
 |
 |      >>> bin(13)
 |      '0b1101'
 |      >>> (13).bit_count()
 |      3
 |
 |  bit_length(self, /)
 |      Number of bits necessary to represent self in binary.
 |
 |      >>> bin(37)
 |      '0b100101'
 |      >>> (37).bit_length()
 |      6
 |
 |  conjugate(...)
 |      Returns self, the complex conjugate of any int.
 |
 |  is_integer(self, /)
 |      Returns True. Exists for duck type compatibility with float.is_integer.
 |
 |  to_bytes(self, /, length=1, byteorder='big', *, signed=False)
 |      Return an array of bytes representing an integer.
 |
 |      length
 |        Length of bytes object to use.  An OverflowError is raised if the
 |        integer is not representable with the given number of bytes.  Default
 |        is length 1.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Determines whether two's complement is used to represent the integer.
 |        If signed is False and a negative integer is given, an OverflowError
 |        is raised.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from builtins.int:
 |
 |  from_bytes(bytes, byteorder='big', *, signed=False)
 |      Return the integer represented by the given array of bytes.
 |
 |      bytes
 |        Holds the array of bytes to convert.  The argument must either
 |        support the buffer protocol or be an iterable object producing bytes.
 |        Bytes and bytearray are examples of built-in objects that support the
 |        buffer protocol.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Indicates whether two's complement is used to represent the integer.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.int:
 |
 |  denominator
 |      the denominator of a rational number in lowest terms
 |
 |  imag
 |      the imaginary part of a complex number
 |
 |  numerator
 |      the numerator of a rational number in lowest terms
 |
 |  real
 |      the real part of a complex number
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.Enum:
 |
 |  __dir__(self)
 |      Returns public methods and other interesting attributes.
 |
 |  __init__(self, *args, **kwds)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce_ex__(self, proto)
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from enum.Enum:
 |
 |  name
 |      The name of the Enum member.
 |
 |  value
 |      The value of the Enum member.
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from enum.EnumType:
 |
 |  __contains__(value)
 |      Return True if `value` is in `cls`.
 |
 |      `value` is in `cls` if:
 |      1) `value` is a member of `cls`, or
 |      2) `value` is the value of one of the `cls`'s members.
 |
 |  __getitem__(name)
 |      Return the member matching `name`.
 |
 |  __iter__()
 |      Return members in definition order.
 |
 |  __len__()
 |      Return the number of members (no aliases)
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from enum.EnumType:
 |
 |  __members__
 |      Returns a mapping of member name->value.
 |
 |      This mapping lists all enum members, including aliases. Note that this
 |      is a read-only view of the internal mapping.
psycopg.NUMBER
Python Library Documentation: DBAPITypeObject in module psycopg.dbapi20 object

class DBAPITypeObject(builtins.object)
 |  DBAPITypeObject(name: 'str', oids: 'Sequence[int]')
 |
 |  Methods defined here:
 |
 |  __eq__(self, other: 'Any') -> 'bool'
 |      Return self==value.
 |
 |  __init__(self, name: 'str', oids: 'Sequence[int]')
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __ne__(self, other: 'Any') -> 'bool'
 |      Return self!=value.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __hash__ = None
psycopg.NotSupportedError
Python Library Documentation: class NotSupportedError in module psycopg

class NotSupportedError(DatabaseError)
 |  NotSupportedError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  A method or database API was used which is not supported by the database.
 |
 |  Method resolution order:
 |      NotSupportedError
 |      DatabaseError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.Notify
Python Library Documentation: class Notify in module psycopg

class Notify(builtins.tuple)
 |  Notify(channel: ForwardRef('str'), payload: ForwardRef('str'), pid: ForwardRef('int'))
 |
 |  An asynchronous notification received from the database.
 |
 |  Method resolution order:
 |      Notify
 |      builtins.tuple
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __getnewargs__(self) from collections.Notify
 |      Return self as a plain tuple.  Used by copy and pickle.
 |
 |  __repr__(self) from collections.Notify
 |      Return a nicely formatted representation string
 |
 |  _asdict(self) from collections.Notify
 |      Return a new dict which maps field names to their values.
 |
 |  _replace(self, /, **kwds) from collections.Notify
 |      Return a new Notify object replacing specified fields with new values
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  _make(iterable) from collections.Notify
 |      Make a new Notify object from a sequence or iterable
 |
 |  ----------------------------------------------------------------------
 |  Static methods defined here:
 |
 |  __new__(_cls, channel: ForwardRef('str'), payload: ForwardRef('str'), pid: ForwardRef('int')) from namedtuple_Notify.Notify
 |      Create new instance of Notify(channel, payload, pid)
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  channel
 |      Alias for field number 0
 |
 |  payload
 |      Alias for field number 1
 |
 |  pid
 |      Alias for field number 2
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {'channel': ForwardRef('str'), 'payload': ForwardRef...
 |
 |  __match_args__ = ('channel', 'payload', 'pid')
 |
 |  __orig_bases__ = (<function NamedTuple>,)
 |
 |  _field_defaults = {}
 |
 |  _fields = ('channel', 'payload', 'pid')
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.tuple:
 |
 |  __add__(self, value, /)
 |      Return self+value.
 |
 |  __contains__(self, key, /)
 |      Return bool(key in self).
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getitem__(self, key, /)
 |      Return self[key].
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __iter__(self, /)
 |      Implement iter(self).
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __len__(self, /)
 |      Return len(self).
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __mul__(self, value, /)
 |      Return self*value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __rmul__(self, value, /)
 |      Return value*self.
 |
 |  count(self, value, /)
 |      Return number of occurrences of value.
 |
 |  index(self, value, start=0, stop=9223372036854775807, /)
 |      Return first index of value.
 |
 |      Raises ValueError if the value is not present.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from builtins.tuple:
 |
 |  __class_getitem__(...)
 |      See PEP 585
psycopg.OperationalError
Python Library Documentation: class OperationalError in module psycopg

class OperationalError(DatabaseError)
 |  OperationalError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  An error related to the database's operation.
 |
 |  These errors are not necessarily under the control of the programmer, e.g.
 |  an unexpected disconnect occurs, the data source name is not found, a
 |  transaction could not be processed, a memory allocation error occurred
 |  during processing, etc.
 |
 |  Method resolution order:
 |      OperationalError
 |      DatabaseError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.Pipeline
Python Library Documentation: class Pipeline in module psycopg

class Pipeline(psycopg._pipeline_base.BasePipeline)
 |  Pipeline(conn: 'Connection[Any]', _no_lock: 'bool' = False) -> 'None'
 |
 |  Handler for (sync) connection in pipeline mode.
 |
 |  Method resolution order:
 |      Pipeline
 |      psycopg._pipeline_base.BasePipeline
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __enter__(self) -> 'Self' from psycopg._pipeline.Pipeline
 |
 |  __exit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg._pipeline.Pipeline
 |
 |  __init__(self, conn: 'Connection[Any]', _no_lock: 'bool' = False) -> 'None' from psycopg._pipeline.Pipeline
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  sync(self) -> 'None' from psycopg._pipeline.Pipeline
 |      Sync the pipeline, send any pending command and receive and process
 |      all available results.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {'_conn': 'Connection[Any]'}
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._pipeline_base.BasePipeline:
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg._pipeline_base.BasePipeline:
 |
 |  is_supported() -> 'bool'
 |      Return `!True` if the psycopg libpq wrapper supports pipeline mode.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._pipeline_base.BasePipeline:
 |
 |  status
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._pipeline_base.BasePipeline:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.ProgrammingError
Python Library Documentation: class ProgrammingError in module psycopg

class ProgrammingError(DatabaseError)
 |  ProgrammingError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Exception raised for programming errors
 |
 |  Examples may be table not found or already exists, syntax error in the SQL
 |  statement, wrong number of parameters specified, etc.
 |
 |  Method resolution order:
 |      ProgrammingError
 |      DatabaseError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.ROWID
Python Library Documentation: DBAPITypeObject in module psycopg.dbapi20 object

class DBAPITypeObject(builtins.object)
 |  DBAPITypeObject(name: 'str', oids: 'Sequence[int]')
 |
 |  Methods defined here:
 |
 |  __eq__(self, other: 'Any') -> 'bool'
 |      Return self==value.
 |
 |  __init__(self, name: 'str', oids: 'Sequence[int]')
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __ne__(self, other: 'Any') -> 'bool'
 |      Return self!=value.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __hash__ = None
psycopg.RawCursor
Python Library Documentation: class RawCursor in module psycopg

class RawCursor(psycopg.raw_cursor.RawCursorMixin, Cursor)
 |  RawCursor(connection: 'Connection[Any]', *, row_factory: 'RowFactory[Row] | None' = None)
 |
 |  Method resolution order:
 |      RawCursor
 |      psycopg.raw_cursor.RawCursorMixin
 |      Cursor
 |      psycopg._cursor_base.BaseCursor
 |      typing.Generic
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (psycopg.raw_cursor.RawCursorMixin[ForwardRef('Connec...
 |
 |  __parameters__ = (+Row,)
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.raw_cursor.RawCursorMixin:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Cursor:
 |
 |  __enter__(self) -> 'Self' from psycopg.cursor.Cursor
 |
 |  __exit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg.cursor.Cursor
 |
 |  __init__(self, connection: 'Connection[Any]', *, row_factory: 'RowFactory[Row] | None' = None) from psycopg.cursor.Cursor
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __iter__(self) -> 'Self' from psycopg.cursor.Cursor
 |
 |  __next__(self) -> 'Row' from psycopg.cursor.Cursor
 |
 |  close(self) -> 'None' from psycopg.cursor.Cursor
 |      Close the current cursor and free associated resources.
 |
 |  copy(self, statement: 'Query', params: 'Params | None' = None, *, writer: 'Writer | None' = None) -> 'Iterator[Copy]' from psycopg.cursor.Cursor
 |      Initiate a :sql:`COPY` operation and return an object to manage it.
 |
 |  execute(self, query: 'Query', params: 'Params | None' = None, *, prepare: 'bool | None' = None, binary: 'bool | None' = None) -> 'Self' from psycopg.cursor.Cursor
 |      Execute a query or command to the database.
 |
 |  executemany(self, query: 'Query', params_seq: 'Iterable[Params]', *, returning: 'bool' = False) -> 'None' from psycopg.cursor.Cursor
 |      Execute the same command with a sequence of input data.
 |
 |  fetchall(self) -> 'list[Row]' from psycopg.cursor.Cursor
 |      Return all the remaining records from the current result set.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  fetchmany(self, size: 'int' = 0) -> 'list[Row]' from psycopg.cursor.Cursor
 |      Return the next `!size` records from the current result set.
 |
 |      `!size` default to `!self.arraysize` if not specified.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  fetchone(self) -> 'Row | None' from psycopg.cursor.Cursor
 |      Return the next record from the current result set.
 |
 |      Return `!None` the result set is finished.
 |
 |      :rtype: Row | None, with Row defined by `row_factory`
 |
 |  results(self) -> 'Iterator[Self]' from psycopg.cursor.Cursor
 |      Iterate across multiple record sets received by the cursor.
 |
 |      Multiple record sets are received after using `executemany()` with
 |      `!returning=True` or using `execute()` with more than one query in the
 |      command.
 |
 |  scroll(self, value: 'int', mode: 'str' = 'relative') -> 'None' from psycopg.cursor.Cursor
 |      Move the cursor in the result set to a new position according to mode.
 |
 |      If `!mode` is ``'relative'`` (default), `!value` is taken as offset to
 |      the current position in the result set; if set to ``'absolute'``,
 |      `!value` states an absolute target position.
 |
 |      Raise `!IndexError` in case a scroll operation would leave the result
 |      set. In this case the position will not change.
 |
 |  set_result(self, index: 'int') -> 'Self' from psycopg.cursor.Cursor
 |      Move to a specific result set.
 |
 |      :arg index: index of the result to go to
 |      :type index: `!int`
 |
 |      More than one result will be available after executing calling
 |      `executemany()` or `execute()` with more than one query.
 |
 |      `!index` is 0-based and supports negative values, counting from the end,
 |      the same way you can index items in a list.
 |
 |      The function returns self, so that the result may be followed by a
 |      fetch operation. See `results()` for details.
 |
 |  stream(self, query: 'Query', params: 'Params | None' = None, *, binary: 'bool | None' = None, size: 'int' = 1) -> 'Iterator[Row]' from psycopg.cursor.Cursor
 |      Iterate row-by-row on a result from the database.
 |
 |      :param size: if greater than 1, results will be retrieved by chunks of
 |          this size from the server (but still yielded row-by-row); this is only
 |          available from version 17 of the libpq.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Cursor:
 |
 |  row_factory
 |      Writable attribute to control how result rows are formed.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  nextset(self) -> 'bool | None'
 |      Move to the result set of the next query executed through `executemany()`
 |      or to the next result set if `execute()` returned more than one.
 |
 |      Return `!True` if a new result is available, which will be the one
 |      methods `!fetch*()` will operate on.
 |
 |  setinputsizes(self, sizes: 'Sequence[Any]') -> 'None'
 |
 |  setoutputsize(self, size: 'Any', column: 'int | None' = None) -> 'None'
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._cursor_base.BaseCursor:
 |
 |  adapters
 |
 |  closed
 |      `True` if the cursor is closed.
 |
 |  connection
 |      The connection this cursor is using.
 |
 |  description
 |      A list of `Column` objects describing the current resultset.
 |
 |      `!None` if the current resultset didn't return tuples.
 |
 |  rowcount
 |      Number of records affected by the operation that produced
 |      the current result set.
 |
 |  rownumber
 |      Index of the next row to fetch in the current result set.
 |
 |      `!None` if there is no result to fetch.
 |
 |  statusmessage
 |      The status tag of the current result set.
 |
 |      `!None` if the cursor doesn't have a result available.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  arraysize
 |
 |  format
 |
 |  pgresult
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.RawServerCursor
Python Library Documentation: class RawServerCursor in module psycopg

class RawServerCursor(psycopg.raw_cursor.RawCursorMixin, ServerCursor)
 |  RawServerCursor(connection: 'Connection[Any]', name: 'str', *, row_factory: 'RowFactory[Row] | None' = None, scrollable: 'bool | None' = None, withhold: 'bool' = False)
 |
 |  Method resolution order:
 |      RawServerCursor
 |      psycopg.raw_cursor.RawCursorMixin
 |      ServerCursor
 |      psycopg._server_cursor_base.ServerCursorMixin
 |      Cursor
 |      psycopg._cursor_base.BaseCursor
 |      typing.Generic
 |      builtins.object
 |
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (psycopg.raw_cursor.RawCursorMixin[ForwardRef('Connec...
 |
 |  __parameters__ = (+Row,)
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from ServerCursor:
 |
 |  __init__(self, connection: 'Connection[Any]', name: 'str', *, row_factory: 'RowFactory[Row] | None' = None, scrollable: 'bool | None' = None, withhold: 'bool' = False) from psycopg._server_cursor.ServerCursor
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __iter__(self) -> 'Self' from psycopg._server_cursor.ServerCursor
 |
 |  __next__(self) -> 'Row' from psycopg._server_cursor.ServerCursor
 |
 |  close(self) -> 'None' from psycopg._server_cursor.ServerCursor
 |      Close the current cursor and free associated resources.
 |
 |  execute(self, query: 'Query', params: 'Params | None' = None, *, binary: 'bool | None' = None, **kwargs: 'Any') -> 'Self' from psycopg._server_cursor.ServerCursor
 |      Open a cursor to execute a query to the database.
 |
 |  executemany(self, query: 'Query', params_seq: 'Iterable[Params]', *, returning: 'bool' = True) -> 'None' from psycopg._server_cursor.ServerCursor
 |      Method not implemented for server-side cursors.
 |
 |  fetchall(self) -> 'list[Row]' from psycopg._server_cursor.ServerCursor
 |      Return all the remaining records from the current result set.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  fetchmany(self, size: 'int' = 0) -> 'list[Row]' from psycopg._server_cursor.ServerCursor
 |      Return the next `!size` records from the current result set.
 |
 |      `!size` default to `!self.arraysize` if not specified.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  fetchone(self) -> 'Row | None' from psycopg._server_cursor.ServerCursor
 |      Return the next record from the current result set.
 |
 |      Return `!None` the result set is finished.
 |
 |      :rtype: Row | None, with Row defined by `row_factory`
 |
 |  scroll(self, value: 'int', mode: 'str' = 'relative') -> 'None' from psycopg._server_cursor.ServerCursor
 |      Move the cursor in the result set to a new position according to mode.
 |
 |      If `!mode` is ``'relative'`` (default), `!value` is taken as offset to
 |      the current position in the result set; if set to ``'absolute'``,
 |      `!value` states an absolute target position.
 |
 |      Raise `!IndexError` in case a scroll operation would leave the result
 |      set. In this case the position will not change.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._server_cursor_base.ServerCursorMixin:
 |
 |  __del__(self, _ServerCursorMixin__warn: 'Any' = <built-in function warn>) -> 'None'
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._server_cursor_base.ServerCursorMixin:
 |
 |  name
 |      The name of the cursor.
 |
 |  rownumber
 |      Index of the next row to fetch in the current result.
 |
 |      `!None` if there is no result to fetch.
 |
 |  scrollable
 |      Whether the cursor is scrollable or not.
 |
 |      If `!None` leave the choice to the server. Use `!True` if you want to
 |      use `scroll()` on the cursor.
 |
 |  withhold
 |      If the cursor can be used after the creating transaction has committed.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._server_cursor_base.ServerCursorMixin:
 |
 |  itersize
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Cursor:
 |
 |  __enter__(self) -> 'Self' from psycopg.cursor.Cursor
 |
 |  __exit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg.cursor.Cursor
 |
 |  copy(self, statement: 'Query', params: 'Params | None' = None, *, writer: 'Writer | None' = None) -> 'Iterator[Copy]' from psycopg.cursor.Cursor
 |      Initiate a :sql:`COPY` operation and return an object to manage it.
 |
 |  results(self) -> 'Iterator[Self]' from psycopg.cursor.Cursor
 |      Iterate across multiple record sets received by the cursor.
 |
 |      Multiple record sets are received after using `executemany()` with
 |      `!returning=True` or using `execute()` with more than one query in the
 |      command.
 |
 |  set_result(self, index: 'int') -> 'Self' from psycopg.cursor.Cursor
 |      Move to a specific result set.
 |
 |      :arg index: index of the result to go to
 |      :type index: `!int`
 |
 |      More than one result will be available after executing calling
 |      `executemany()` or `execute()` with more than one query.
 |
 |      `!index` is 0-based and supports negative values, counting from the end,
 |      the same way you can index items in a list.
 |
 |      The function returns self, so that the result may be followed by a
 |      fetch operation. See `results()` for details.
 |
 |  stream(self, query: 'Query', params: 'Params | None' = None, *, binary: 'bool | None' = None, size: 'int' = 1) -> 'Iterator[Row]' from psycopg.cursor.Cursor
 |      Iterate row-by-row on a result from the database.
 |
 |      :param size: if greater than 1, results will be retrieved by chunks of
 |          this size from the server (but still yielded row-by-row); this is only
 |          available from version 17 of the libpq.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Cursor:
 |
 |  row_factory
 |      Writable attribute to control how result rows are formed.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._cursor_base.BaseCursor:
 |
 |  nextset(self) -> 'bool | None'
 |      Move to the result set of the next query executed through `executemany()`
 |      or to the next result set if `execute()` returned more than one.
 |
 |      Return `!True` if a new result is available, which will be the one
 |      methods `!fetch*()` will operate on.
 |
 |  setinputsizes(self, sizes: 'Sequence[Any]') -> 'None'
 |
 |  setoutputsize(self, size: 'Any', column: 'int | None' = None) -> 'None'
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._cursor_base.BaseCursor:
 |
 |  adapters
 |
 |  closed
 |      `True` if the cursor is closed.
 |
 |  connection
 |      The connection this cursor is using.
 |
 |  description
 |      A list of `Column` objects describing the current resultset.
 |
 |      `!None` if the current resultset didn't return tuples.
 |
 |  rowcount
 |      Number of records affected by the operation that produced
 |      the current result set.
 |
 |  statusmessage
 |      The status tag of the current result set.
 |
 |      `!None` if the cursor doesn't have a result available.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  arraysize
 |
 |  format
 |
 |  pgresult
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.Rollback
Python Library Documentation: class Rollback in module psycopg

class Rollback(builtins.Exception)
 |  Rollback(transaction: 'Transaction | AsyncTransaction | None' = None)
 |
 |  Exit the current `Transaction` context immediately and rollback any changes
 |  made within this context.
 |
 |  If a transaction context is specified in the constructor, rollback
 |  enclosing transactions contexts up to and including the one specified.
 |
 |  Method resolution order:
 |      Rollback
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __init__(self, transaction: 'Transaction | AsyncTransaction | None' = None) from psycopg.transaction.Rollback
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __repr__(self) -> 'str' from psycopg.transaction.Rollback
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __reduce__(...)
 |      Helper for pickle.
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.STRING
Python Library Documentation: DBAPITypeObject in module psycopg.dbapi20 object

class DBAPITypeObject(builtins.object)
 |  DBAPITypeObject(name: 'str', oids: 'Sequence[int]')
 |
 |  Methods defined here:
 |
 |  __eq__(self, other: 'Any') -> 'bool'
 |      Return self==value.
 |
 |  __init__(self, name: 'str', oids: 'Sequence[int]')
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __ne__(self, other: 'Any') -> 'bool'
 |      Return self!=value.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __hash__ = None
psycopg.ServerCursor
Python Library Documentation: class ServerCursor in module psycopg

class ServerCursor(psycopg._server_cursor_base.ServerCursorMixin, Cursor)
 |  ServerCursor(connection: 'Connection[Any]', name: 'str', *, row_factory: 'RowFactory[Row] | None' = None, scrollable: 'bool | None' = None, withhold: 'bool' = False)
 |
 |  Method resolution order:
 |      ServerCursor
 |      psycopg._server_cursor_base.ServerCursorMixin
 |      Cursor
 |      psycopg._cursor_base.BaseCursor
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __init__(self, connection: 'Connection[Any]', name: 'str', *, row_factory: 'RowFactory[Row] | None' = None, scrollable: 'bool | None' = None, withhold: 'bool' = False) from psycopg._server_cursor.ServerCursor
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __iter__(self) -> 'Self' from psycopg._server_cursor.ServerCursor
 |
 |  __next__(self) -> 'Row' from psycopg._server_cursor.ServerCursor
 |
 |  close(self) -> 'None' from psycopg._server_cursor.ServerCursor
 |      Close the current cursor and free associated resources.
 |
 |  execute(self, query: 'Query', params: 'Params | None' = None, *, binary: 'bool | None' = None, **kwargs: 'Any') -> 'Self' from psycopg._server_cursor.ServerCursor
 |      Open a cursor to execute a query to the database.
 |
 |  executemany(self, query: 'Query', params_seq: 'Iterable[Params]', *, returning: 'bool' = True) -> 'None' from psycopg._server_cursor.ServerCursor
 |      Method not implemented for server-side cursors.
 |
 |  fetchall(self) -> 'list[Row]' from psycopg._server_cursor.ServerCursor
 |      Return all the remaining records from the current result set.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  fetchmany(self, size: 'int' = 0) -> 'list[Row]' from psycopg._server_cursor.ServerCursor
 |      Return the next `!size` records from the current result set.
 |
 |      `!size` default to `!self.arraysize` if not specified.
 |
 |      :rtype: Sequence[Row], with Row defined by `row_factory`
 |
 |  fetchone(self) -> 'Row | None' from psycopg._server_cursor.ServerCursor
 |      Return the next record from the current result set.
 |
 |      Return `!None` the result set is finished.
 |
 |      :rtype: Row | None, with Row defined by `row_factory`
 |
 |  scroll(self, value: 'int', mode: 'str' = 'relative') -> 'None' from psycopg._server_cursor.ServerCursor
 |      Move the cursor in the result set to a new position according to mode.
 |
 |      If `!mode` is ``'relative'`` (default), `!value` is taken as offset to
 |      the current position in the result set; if set to ``'absolute'``,
 |      `!value` states an absolute target position.
 |
 |      Raise `!IndexError` in case a scroll operation would leave the result
 |      set. In this case the position will not change.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (psycopg._server_cursor_base.ServerCursorMixin[Forwar...
 |
 |  __parameters__ = (+Row,)
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._server_cursor_base.ServerCursorMixin:
 |
 |  __del__(self, _ServerCursorMixin__warn: 'Any' = <built-in function warn>) -> 'None'
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._server_cursor_base.ServerCursorMixin:
 |
 |  name
 |      The name of the cursor.
 |
 |  rownumber
 |      Index of the next row to fetch in the current result.
 |
 |      `!None` if there is no result to fetch.
 |
 |  scrollable
 |      Whether the cursor is scrollable or not.
 |
 |      If `!None` leave the choice to the server. Use `!True` if you want to
 |      use `scroll()` on the cursor.
 |
 |  withhold
 |      If the cursor can be used after the creating transaction has committed.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._server_cursor_base.ServerCursorMixin:
 |
 |  itersize
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Cursor:
 |
 |  __enter__(self) -> 'Self' from psycopg.cursor.Cursor
 |
 |  __exit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'None' from psycopg.cursor.Cursor
 |
 |  copy(self, statement: 'Query', params: 'Params | None' = None, *, writer: 'Writer | None' = None) -> 'Iterator[Copy]' from psycopg.cursor.Cursor
 |      Initiate a :sql:`COPY` operation and return an object to manage it.
 |
 |  results(self) -> 'Iterator[Self]' from psycopg.cursor.Cursor
 |      Iterate across multiple record sets received by the cursor.
 |
 |      Multiple record sets are received after using `executemany()` with
 |      `!returning=True` or using `execute()` with more than one query in the
 |      command.
 |
 |  set_result(self, index: 'int') -> 'Self' from psycopg.cursor.Cursor
 |      Move to a specific result set.
 |
 |      :arg index: index of the result to go to
 |      :type index: `!int`
 |
 |      More than one result will be available after executing calling
 |      `executemany()` or `execute()` with more than one query.
 |
 |      `!index` is 0-based and supports negative values, counting from the end,
 |      the same way you can index items in a list.
 |
 |      The function returns self, so that the result may be followed by a
 |      fetch operation. See `results()` for details.
 |
 |  stream(self, query: 'Query', params: 'Params | None' = None, *, binary: 'bool | None' = None, size: 'int' = 1) -> 'Iterator[Row]' from psycopg.cursor.Cursor
 |      Iterate row-by-row on a result from the database.
 |
 |      :param size: if greater than 1, results will be retrieved by chunks of
 |          this size from the server (but still yielded row-by-row); this is only
 |          available from version 17 of the libpq.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Cursor:
 |
 |  row_factory
 |      Writable attribute to control how result rows are formed.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg._cursor_base.BaseCursor:
 |
 |  nextset(self) -> 'bool | None'
 |      Move to the result set of the next query executed through `executemany()`
 |      or to the next result set if `execute()` returned more than one.
 |
 |      Return `!True` if a new result is available, which will be the one
 |      methods `!fetch*()` will operate on.
 |
 |  setinputsizes(self, sizes: 'Sequence[Any]') -> 'None'
 |
 |  setoutputsize(self, size: 'Any', column: 'int | None' = None) -> 'None'
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg._cursor_base.BaseCursor:
 |
 |  adapters
 |
 |  closed
 |      `True` if the cursor is closed.
 |
 |  connection
 |      The connection this cursor is using.
 |
 |  description
 |      A list of `Column` objects describing the current resultset.
 |
 |      `!None` if the current resultset didn't return tuples.
 |
 |  rowcount
 |      Number of records affected by the operation that produced
 |      the current result set.
 |
 |  statusmessage
 |      The status tag of the current result set.
 |
 |      `!None` if the cursor doesn't have a result available.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg._cursor_base.BaseCursor:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  arraysize
 |
 |  format
 |
 |  pgresult
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.Time
Python Library Documentation: function Time in module psycopg.dbapi20

Time(hour: 'int', minute: 'int', second: 'int') -> 'dt.time'
psycopg.TimeFromTicks
Python Library Documentation: function TimeFromTicks in module psycopg.dbapi20

TimeFromTicks(ticks: 'float') -> 'dt.time'
psycopg.Timestamp
Python Library Documentation: function Timestamp in module psycopg.dbapi20

Timestamp(year: 'int', month: 'int', day: 'int', hour: 'int', minute: 'int', second: 'int') -> 'dt.datetime'
psycopg.TimestampFromTicks
Python Library Documentation: function TimestampFromTicks in module psycopg.dbapi20

TimestampFromTicks(ticks: 'float') -> 'dt.datetime'
psycopg.Transaction
Python Library Documentation: class Transaction in module psycopg

class Transaction(psycopg.transaction.BaseTransaction)
 |  Transaction(connection: 'ConnectionType', savepoint_name: 'str | None' = None, force_rollback: 'bool' = False)
 |
 |  Returned by `Connection.transaction()` to handle a transaction block.
 |
 |  Method resolution order:
 |      Transaction
 |      psycopg.transaction.BaseTransaction
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __enter__(self) -> 'Self' from psycopg.transaction.Transaction
 |
 |  __exit__(self, exc_type: 'type[BaseException] | None', exc_val: 'BaseException | None', exc_tb: 'TracebackType | None') -> 'bool' from psycopg.transaction.Transaction
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties defined here:
 |
 |  connection
 |      The connection the object is managing.
 |
 |      :type: `Connection`
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (psycopg.transaction.BaseTransaction[ForwardRef('Conn...
 |
 |  __parameters__ = ()
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.transaction.BaseTransaction:
 |
 |  __init__(self, connection: 'ConnectionType', savepoint_name: 'str | None' = None, force_rollback: 'bool' = False)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.transaction.BaseTransaction:
 |
 |  savepoint_name
 |      The name of the savepoint; `!None` if handling the main transaction.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.transaction.BaseTransaction:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from psycopg.transaction.BaseTransaction:
 |
 |  Status = <enum 'Status'>
 |      The current status of a transaction.
 |
 |      Exposed as the `~psycopg.Transaction.status` attribute of
 |      `~psycopg.Transaction` and `~psycopg.AsyncTransaction` objects.
 |
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
 |
 |  __init_subclass__(...)
 |      Function to initialize subclasses.
psycopg.Warning
Python Library Documentation: class Warning in module psycopg

class Warning(builtins.Exception)
 |  Exception raised for important warnings.
 |
 |  Defined for DBAPI compatibility, but never raised by ``psycopg``.
 |
 |  Method resolution order:
 |      Warning
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data descriptors defined here:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.Exception:
 |
 |  __init__(self, /, *args, **kwargs)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __reduce__(...)
 |      Helper for pickle.
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.Xid
Python Library Documentation: class Xid in module psycopg

class Xid(builtins.object)
 |  Xid(format_id: 'int | None', gtrid: 'str', bqual: 'str | None', prepared: 'dt.datetime | None' = None, owner: 'str | None' = None, database: 'str | None' = None) -> None
 |
 |  A two-phase commit transaction identifier.
 |
 |  The object can also be unpacked as a 3-item tuple (`format_id`, `gtrid`,
 |  `bqual`).
 |
 |  Methods defined here:
 |
 |  __delattr__(self, name) from psycopg._tpc.Xid
 |      Implement delattr(self, name).
 |
 |  __eq__(self, other) from psycopg._tpc.Xid
 |      Return self==value.
 |
 |  __getitem__(self, index: 'int') -> 'int | str | None' from psycopg._tpc.Xid
 |
 |  __hash__(self) from psycopg._tpc.Xid
 |      Return hash(self).
 |
 |  __init__(self, format_id: 'int | None', gtrid: 'str', bqual: 'str | None', prepared: 'dt.datetime | None' = None, owner: 'str | None' = None, database: 'str | None' = None) -> None from psycopg._tpc.Xid
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __len__(self) -> 'int' from psycopg._tpc.Xid
 |
 |  __repr__(self) from psycopg._tpc.Xid
 |      Return repr(self).
 |
 |  __setattr__(self, name, value) from psycopg._tpc.Xid
 |      Implement setattr(self, name, value).
 |
 |  __str__(self) -> 'str' from psycopg._tpc.Xid
 |      Return str(self).
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  from_parts(format_id: 'int | None', gtrid: 'str', bqual: 'str | None') -> 'Xid' from psycopg._tpc.Xid
 |
 |  from_string(s: 'str') -> 'Xid' from psycopg._tpc.Xid
 |      Try to parse an XA triple from the string.
 |
 |      This may fail for several reasons. In such case return an unparsed Xid.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {'bqual': 'str | None', 'database': 'str | None', 'f...
 |
 |  __dataclass_fields__ = {'bqual': Field(name='bqual',type='str | None',...
 |
 |  __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
 |
 |  __match_args__ = ('format_id', 'gtrid', 'bqual', 'prepared', 'owner', ...
 |
 |  database = None
 |
 |  owner = None
 |
 |  prepared = None
psycopg.adapters
Python Library Documentation: AdaptersMap in module psycopg.adapt object

class AdaptersMap(builtins.object)
 |  AdaptersMap(template: 'AdaptersMap | None' = None, types: 'TypesRegistry | None' = None)
 |
 |  Establish how types should be converted between Python and PostgreSQL in
 |  an `~psycopg.abc.AdaptContext`.
 |
 |  `!AdaptersMap` maps Python types to `~psycopg.adapt.Dumper` classes to
 |  define how Python types are converted to PostgreSQL, and maps OIDs to
 |  `~psycopg.adapt.Loader` classes to establish how query results are
 |  converted to Python.
 |
 |  Every `!AdaptContext` object has an underlying `!AdaptersMap` defining how
 |  types are converted in that context, exposed as the
 |  `~psycopg.abc.AdaptContext.adapters` attribute: changing such map allows
 |  to customise adaptation in a context without changing separated contexts.
 |
 |  When a context is created from another context (for instance when a
 |  `~psycopg.Cursor` is created from a `~psycopg.Connection`), the parent's
 |  `!adapters` are used as template for the child's `!adapters`, so that every
 |  cursor created from the same connection use the connection's types
 |  configuration, but separate connections have independent mappings.
 |
 |  Once created, `!AdaptersMap` are independent. This means that objects
 |  already created are not affected if a wider scope (e.g. the global one) is
 |  changed.
 |
 |  The connections adapters are initialised using a global `!AdptersMap`
 |  template, exposed as `psycopg.adapters`: changing such mapping allows to
 |  customise the type mapping for every connections created afterwards.
 |
 |  The object can start empty or copy from another object of the same class.
 |  Copies are copy-on-write: if the maps are updated make a copy. This way
 |  extending e.g. global map by a connection or a connection map from a cursor
 |  is cheap: a copy is only made on customisation.
 |
 |  Methods defined here:
 |
 |  __init__(self, template: 'AdaptersMap | None' = None, types: 'TypesRegistry | None' = None) from psycopg._adapters_map.AdaptersMap
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  get_dumper(self, cls: 'type', format: 'PyFormat') -> 'type[Dumper]' from psycopg._adapters_map.AdaptersMap
 |      Return the dumper class for the given type and format.
 |
 |      Raise `~psycopg.ProgrammingError` if a class is not available.
 |
 |      :param cls: The class to adapt.
 |      :param format: The format to dump to. If `~psycopg.adapt.PyFormat.AUTO`,
 |          use the last one of the dumpers registered on `!cls`.
 |
 |  get_dumper_by_oid(self, oid: 'int', format: 'pq.Format') -> 'type[Dumper]' from psycopg._adapters_map.AdaptersMap
 |      Return the dumper class for the given oid and format.
 |
 |      Raise `~psycopg.ProgrammingError` if a class is not available.
 |
 |      :param oid: The oid of the type to dump to.
 |      :param format: The format to dump to.
 |
 |  get_loader(self, oid: 'int', format: 'pq.Format') -> 'type[Loader] | None' from psycopg._adapters_map.AdaptersMap
 |      Return the loader class for the given oid and format.
 |
 |      Return `!None` if not found.
 |
 |      :param oid: The oid of the type to load.
 |      :param format: The format to load from.
 |
 |  register_dumper(self, cls: 'type | str | None', dumper: 'type[Dumper]') -> 'None' from psycopg._adapters_map.AdaptersMap
 |      Configure the context to use `!dumper` to convert objects of type `!cls`.
 |
 |      If two dumpers with different `~Dumper.format` are registered for the
 |      same type, the last one registered will be chosen when the query
 |      doesn't specify a format (i.e. when the value is used with a ``%s``
 |      "`~PyFormat.AUTO`" placeholder).
 |
 |      :param cls: The type to manage.
 |      :param dumper: The dumper to register for `!cls`.
 |
 |      If `!cls` is specified as string it will be lazy-loaded, so that it
 |      will be possible to register it without importing it before. In this
 |      case it should be the fully qualified name of the object (e.g.
 |      ``"uuid.UUID"``).
 |
 |      If `!cls` is None, only use the dumper when looking up using
 |      `get_dumper_by_oid()`, which happens when we know the Postgres type to
 |      adapt to, but not the Python type that will be adapted (e.g. in COPY
 |      after using `~psycopg.Copy.set_types()`).
 |
 |  register_loader(self, oid: 'int | str', loader: 'type[Loader]') -> 'None' from psycopg._adapters_map.AdaptersMap
 |      Configure the context to use `!loader` to convert data of oid `!oid`.
 |
 |      :param oid: The PostgreSQL OID or type name to manage.
 |      :param loader: The loar to register for `!oid`.
 |
 |      If `oid` is specified as string, it refers to a type name, which is
 |      looked up in the `types` registry.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties defined here:
 |
 |  adapters
 |
 |  connection
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {'_dumpers': 'dict[PyFormat, dict[type | str, type[D...
psycopg.apilevel
Error rendering doc: No Python documentation found for '2.0'.
Use help() to get the interactive help utility.
Use help(str) for help on the str class.
psycopg.capabilities
Python Library Documentation: Capabilities in module psycopg._capabilities object

class Capabilities(builtins.object)
 |  Capabilities() -> 'None'
 |
 |  An object to check if a feature is supported by the libpq available on the client.
 |
 |  Methods defined here:
 |
 |  __init__(self) -> 'None'
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  has_cancel_safe(self, check: 'bool' = False) -> 'bool'
 |      Check if the `Connection.cancel_safe()` method is implemented.
 |
 |      The feature requires libpq 17.0 or greater.
 |
 |  has_encrypt_password(self, check: 'bool' = False) -> 'bool'
 |      Check if the `PGconn.encrypt_password()` method is implemented.
 |
 |      The feature requires libpq 10.0 or greater.
 |
 |  has_full_protocol_version(self, check: 'bool' = False) -> 'bool'
 |      Check if the `PGconn.full_protocol_version()` method is implemented.
 |
 |      If the method is implemented, then `ConnectionInfo.full_protocol_version`
 |      will return a meaningful value.
 |
 |      The feature requires libpq 18.0 and greater.
 |
 |  has_hostaddr(self, check: 'bool' = False) -> 'bool'
 |      Check if the `ConnectionInfo.hostaddr` attribute is implemented.
 |
 |      The feature requires libpq 12.0 or greater.
 |
 |  has_pipeline(self, check: 'bool' = False) -> 'bool'
 |      Check if the :ref:`pipeline mode <pipeline-mode>` is supported.
 |
 |      The feature requires libpq 14.0 or greater.
 |
 |  has_send_close_prepared(self, check: 'bool' = False) -> 'bool'
 |      Check if the `pq.PGconn.send_closed_prepared()` method is implemented.
 |
 |      The feature requires libpq 17.0 or greater.
 |
 |  has_set_trace_flags(self, check: 'bool' = False) -> 'bool'
 |      Check if the `pq.PGconn.set_trace_flags()` method is implemented.
 |
 |      The feature requires libpq 14.0 or greater.
 |
 |  has_stream_chunked(self, check: 'bool' = False) -> 'bool'
 |      Check if `Cursor.stream()` can handle a `size` parameter value
 |      greater than 1 to retrieve results by chunks.
 |
 |      The feature requires libpq 17.0 or greater.
 |
 |  has_used_gssapi(self, check: 'bool' = False) -> 'bool'
 |      Check if the `pq.PGconn.used_gssapi` attribute is implemented.
 |
 |      The feature requires libpq 16.0 or greater.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.connect
Python Library Documentation: method connect in module psycopg.connection

connect(conninfo: 'str' = '', *, autocommit: 'bool' = False, prepare_threshold: 'int | None' = 5, context: 'AdaptContext | None' = None, row_factory: 'RowFactory[Row] | None' = None, cursor_factory: 'type[Cursor[Row]] | None' = None, **kwargs: 'ConnParam') -> 'Self' class method of psycopg.Connection
    Connect to a database server and return a new `Connection` instance.
psycopg.logger
Python Library Documentation: Logger in module logging object

class Logger(Filterer)
 |  Logger(name, level=0)
 |
 |  Instances of the Logger class represent a single logging channel. A
 |  "logging channel" indicates an area of an application. Exactly how an
 |  "area" is defined is up to the application developer. Since an
 |  application can have any number of areas, logging channels are identified
 |  by a unique string. Application areas can be nested (e.g. an area
 |  of "input processing" might include sub-areas "read CSV files", "read
 |  XLS files" and "read Gnumeric files"). To cater for this natural nesting,
 |  channel names are organized into a namespace hierarchy where levels are
 |  separated by periods, much like the Java or Python package namespace. So
 |  in the instance given above, channel names might be "input" for the upper
 |  level, and "input.csv", "input.xls" and "input.gnu" for the sub-levels.
 |  There is no arbitrary limit to the depth of nesting.
 |
 |  Method resolution order:
 |      Logger
 |      Filterer
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __init__(self, name, level=0)
 |      Initialize the logger with a name and an optional level.
 |
 |  __reduce__(self)
 |      Helper for pickle.
 |
 |  __repr__(self)
 |      Return repr(self).
 |
 |  addHandler(self, hdlr)
 |      Add the specified handler to this logger.
 |
 |  callHandlers(self, record)
 |      Pass a record to all relevant handlers.
 |
 |      Loop through all handlers for this logger and its parents in the
 |      logger hierarchy. If no handler was found, output a one-off error
 |      message to sys.stderr. Stop searching up the hierarchy whenever a
 |      logger with the "propagate" attribute set to zero is found - that
 |      will be the last logger whose handlers are called.
 |
 |  critical(self, msg, *args, **kwargs)
 |      Log 'msg % args' with severity 'CRITICAL'.
 |
 |      To pass exception information, use the keyword argument exc_info with
 |      a true value, e.g.
 |
 |      logger.critical("Houston, we have a %s", "major disaster", exc_info=True)
 |
 |  debug(self, msg, *args, **kwargs)
 |      Log 'msg % args' with severity 'DEBUG'.
 |
 |      To pass exception information, use the keyword argument exc_info with
 |      a true value, e.g.
 |
 |      logger.debug("Houston, we have a %s", "thorny problem", exc_info=True)
 |
 |  error(self, msg, *args, **kwargs)
 |      Log 'msg % args' with severity 'ERROR'.
 |
 |      To pass exception information, use the keyword argument exc_info with
 |      a true value, e.g.
 |
 |      logger.error("Houston, we have a %s", "major problem", exc_info=True)
 |
 |  exception(self, msg, *args, exc_info=True, **kwargs)
 |      Convenience method for logging an ERROR with exception information.
 |
 |  fatal(self, msg, *args, **kwargs)
 |      Don't use this method, use critical() instead.
 |
 |  findCaller(self, stack_info=False, stacklevel=1)
 |      Find the stack frame of the caller so that we can note the source
 |      file name, line number and function name.
 |
 |  getChild(self, suffix)
 |      Get a logger which is a descendant to this one.
 |
 |      This is a convenience method, such that
 |
 |      logging.getLogger('abc').getChild('def.ghi')
 |
 |      is the same as
 |
 |      logging.getLogger('abc.def.ghi')
 |
 |      It's useful, for example, when the parent logger is named using
 |      __name__ rather than a literal string.
 |
 |  getChildren(self)
 |
 |  getEffectiveLevel(self)
 |      Get the effective level for this logger.
 |
 |      Loop through this logger and its parents in the logger hierarchy,
 |      looking for a non-zero logging level. Return the first one found.
 |
 |  handle(self, record)
 |      Call the handlers for the specified record.
 |
 |      This method is used for unpickled records received from a socket, as
 |      well as those created locally. Logger-level filtering is applied.
 |
 |  hasHandlers(self)
 |      See if this logger has any handlers configured.
 |
 |      Loop through all handlers for this logger and its parents in the
 |      logger hierarchy. Return True if a handler was found, else False.
 |      Stop searching up the hierarchy whenever a logger with the "propagate"
 |      attribute set to zero is found - that will be the last logger which
 |      is checked for the existence of handlers.
 |
 |  info(self, msg, *args, **kwargs)
 |      Log 'msg % args' with severity 'INFO'.
 |
 |      To pass exception information, use the keyword argument exc_info with
 |      a true value, e.g.
 |
 |      logger.info("Houston, we have a %s", "notable problem", exc_info=True)
 |
 |  isEnabledFor(self, level)
 |      Is this logger enabled for level 'level'?
 |
 |  log(self, level, msg, *args, **kwargs)
 |      Log 'msg % args' with the integer severity 'level'.
 |
 |      To pass exception information, use the keyword argument exc_info with
 |      a true value, e.g.
 |
 |      logger.log(level, "We have a %s", "mysterious problem", exc_info=True)
 |
 |  makeRecord(self, name, level, fn, lno, msg, args, exc_info, func=None, extra=None, sinfo=None)
 |      A factory method which can be overridden in subclasses to create
 |      specialized LogRecords.
 |
 |  removeHandler(self, hdlr)
 |      Remove the specified handler from this logger.
 |
 |  setLevel(self, level)
 |      Set the logging level of this logger.  level must be an int or a str.
 |
 |  warn(self, msg, *args, **kwargs)
 |
 |  warning(self, msg, *args, **kwargs)
 |      Log 'msg % args' with severity 'WARNING'.
 |
 |      To pass exception information, use the keyword argument exc_info with
 |      a true value, e.g.
 |
 |      logger.warning("Houston, we have a %s", "bit of a problem", exc_info=True)
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  manager = <logging.Manager object>
 |
 |  root = <RootLogger root (WARNING)>
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Filterer:
 |
 |  addFilter(self, filter)
 |      Add the specified filter to this handler.
 |
 |  filter(self, record)
 |      Determine if a record is loggable by consulting all the filters.
 |
 |      The default is to allow the record to be logged; any filter can veto
 |      this by returning a false value.
 |      If a filter attached to a handler returns a log record instance,
 |      then that instance is used in place of the original log record in
 |      any further processing of the event by that handler.
 |      If a filter returns any other true value, the original log record
 |      is used in any further processing of the event by that handler.
 |
 |      If none of the filters return false values, this method returns
 |      a log record.
 |      If any of the filters return a false value, this method returns
 |      a false value.
 |
 |      .. versionchanged:: 3.2
 |
 |         Allow filters to be just callables.
 |
 |      .. versionchanged:: 3.12
 |         Allow filters to return a LogRecord instead of
 |         modifying it in place.
 |
 |  removeFilter(self, filter)
 |      Remove the specified filter from this handler.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Filterer:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.paramstyle
Error rendering doc: No Python documentation found for 'pyformat'.
Use help() to get the interactive help utility.
Use help(str) for help on the str class.
psycopg.threadsafety
Python Library Documentation: int object

class int(object)
 |  int([x]) -> integer
 |  int(x, base=10) -> integer
 |
 |  Convert a number or string to an integer, or return 0 if no arguments
 |  are given.  If x is a number, return x.__int__().  For floating-point
 |  numbers, this truncates towards zero.
 |
 |  If x is not a number or if base is given, then x must be a string,
 |  bytes, or bytearray instance representing an integer literal in the
 |  given base.  The literal can be preceded by '+' or '-' and be surrounded
 |  by whitespace.  The base defaults to 10.  Valid bases are 0 and 2-36.
 |  Base 0 means to interpret the base from the string as an integer literal.
 |  >>> int('0b100', base=0)
 |  4
 |
 |  Built-in subclasses:
 |      bool
 |
 |  Methods defined here:
 |
 |  __abs__(self, /)
 |      abs(self)
 |
 |  __add__(self, value, /)
 |      Return self+value.
 |
 |  __and__(self, value, /)
 |      Return self&value.
 |
 |  __bool__(self, /)
 |      True if self else False
 |
 |  __ceil__(...)
 |      Ceiling of an Integral returns itself.
 |
 |  __divmod__(self, value, /)
 |      Return divmod(self, value).
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __float__(self, /)
 |      float(self)
 |
 |  __floor__(...)
 |      Flooring an Integral returns itself.
 |
 |  __floordiv__(self, value, /)
 |      Return self//value.
 |
 |  __format__(self, format_spec, /)
 |      Convert to a string according to format_spec.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getnewargs__(self, /)
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __index__(self, /)
 |      Return self converted to an integer, if self is suitable for use as an index into a list.
 |
 |  __int__(self, /)
 |      int(self)
 |
 |  __invert__(self, /)
 |      ~self
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __lshift__(self, value, /)
 |      Return self<<value.
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __mod__(self, value, /)
 |      Return self%value.
 |
 |  __mul__(self, value, /)
 |      Return self*value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __neg__(self, /)
 |      -self
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __pos__(self, /)
 |      +self
 |
 |  __pow__(self, value, mod=None, /)
 |      Return pow(self, value, mod).
 |
 |  __radd__(self, value, /)
 |      Return value+self.
 |
 |  __rand__(self, value, /)
 |      Return value&self.
 |
 |  __rdivmod__(self, value, /)
 |      Return divmod(value, self).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __rfloordiv__(self, value, /)
 |      Return value//self.
 |
 |  __rlshift__(self, value, /)
 |      Return value<<self.
 |
 |  __rmod__(self, value, /)
 |      Return value%self.
 |
 |  __rmul__(self, value, /)
 |      Return value*self.
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  __round__(...)
 |      Rounding an Integral returns itself.
 |
 |      Rounding with an ndigits argument also returns an integer.
 |
 |  __rpow__(self, value, mod=None, /)
 |      Return pow(value, self, mod).
 |
 |  __rrshift__(self, value, /)
 |      Return value>>self.
 |
 |  __rshift__(self, value, /)
 |      Return self>>value.
 |
 |  __rsub__(self, value, /)
 |      Return value-self.
 |
 |  __rtruediv__(self, value, /)
 |      Return value/self.
 |
 |  __rxor__(self, value, /)
 |      Return value^self.
 |
 |  __sizeof__(self, /)
 |      Returns size in memory, in bytes.
 |
 |  __sub__(self, value, /)
 |      Return self-value.
 |
 |  __truediv__(self, value, /)
 |      Return self/value.
 |
 |  __trunc__(...)
 |      Truncating an Integral returns itself.
 |
 |  __xor__(self, value, /)
 |      Return self^value.
 |
 |  as_integer_ratio(self, /)
 |      Return a pair of integers, whose ratio is equal to the original int.
 |
 |      The ratio is in lowest terms and has a positive denominator.
 |
 |      >>> (10).as_integer_ratio()
 |      (10, 1)
 |      >>> (-10).as_integer_ratio()
 |      (-10, 1)
 |      >>> (0).as_integer_ratio()
 |      (0, 1)
 |
 |  bit_count(self, /)
 |      Number of ones in the binary representation of the absolute value of self.
 |
 |      Also known as the population count.
 |
 |      >>> bin(13)
 |      '0b1101'
 |      >>> (13).bit_count()
 |      3
 |
 |  bit_length(self, /)
 |      Number of bits necessary to represent self in binary.
 |
 |      >>> bin(37)
 |      '0b100101'
 |      >>> (37).bit_length()
 |      6
 |
 |  conjugate(...)
 |      Returns self, the complex conjugate of any int.
 |
 |  is_integer(self, /)
 |      Returns True. Exists for duck type compatibility with float.is_integer.
 |
 |  to_bytes(self, /, length=1, byteorder='big', *, signed=False)
 |      Return an array of bytes representing an integer.
 |
 |      length
 |        Length of bytes object to use.  An OverflowError is raised if the
 |        integer is not representable with the given number of bytes.  Default
 |        is length 1.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Determines whether two's complement is used to represent the integer.
 |        If signed is False and a negative integer is given, an OverflowError
 |        is raised.
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  from_bytes(bytes, byteorder='big', *, signed=False)
 |      Return the integer represented by the given array of bytes.
 |
 |      bytes
 |        Holds the array of bytes to convert.  The argument must either
 |        support the buffer protocol or be an iterable object producing bytes.
 |        Bytes and bytearray are examples of built-in objects that support the
 |        buffer protocol.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Indicates whether two's complement is used to represent the integer.
 |
 |  ----------------------------------------------------------------------
 |  Static methods defined here:
 |
 |  __new__(*args, **kwargs)
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  denominator
 |      the denominator of a rational number in lowest terms
 |
 |  imag
 |      the imaginary part of a complex number
 |
 |  numerator
 |      the numerator of a rational number in lowest terms
 |
 |  real
 |      the real part of a complex number
psycopg.rows.Any
Python Library Documentation: class Any in module typing

class Any(builtins.object)
 |  Any(*args, **kwargs)
 |
 |  Special type indicating an unconstrained type.
 |
 |  - Any is compatible with every type.
 |  - Any assumed to have all methods.
 |  - All values assumed to be instances of Any.
 |
 |  Note that all the above statements are true from the point of view of
 |  static type checkers. At runtime, Any should not be used with instance
 |  checks.
 |
 |  Static methods defined here:
 |
 |  __new__(cls, *args, **kwargs)
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.rows.AsyncRowFactory
Python Library Documentation: class AsyncRowFactory in module psycopg.rows

class AsyncRowFactory(typing.Protocol)
 |  AsyncRowFactory(*args, **kwargs)
 |
 |  Like `RowFactory`, taking an async cursor as argument.
 |
 |  Method resolution order:
 |      AsyncRowFactory
 |      typing.Protocol
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __call__(self, _AsyncRowFactory__cursor: 'AsyncCursor[Any]') -> 'RowMaker[Row]'
 |      Call self as a function.
 |
 |  __init__ = _no_init_or_replace_init(self, *args, **kwargs) from typing
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  __subclasshook__ = _proto_hook(other) from typing
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (typing.Protocol[+Row],)
 |
 |  __parameters__ = (+Row,)
 |
 |  __protocol_attrs__ = {'__call__'}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Protocol:
 |
 |  __init_subclass__(*args, **kwargs)
 |      Function to initialize subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
psycopg.rows.BaseRowFactory
Python Library Documentation: class BaseRowFactory in module psycopg.rows

class BaseRowFactory(typing.Protocol)
 |  BaseRowFactory(*args, **kwargs)
 |
 |  Like `RowFactory`, taking either type of cursor as argument.
 |
 |  Method resolution order:
 |      BaseRowFactory
 |      typing.Protocol
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __call__(self, _BaseRowFactory__cursor: 'BaseCursor[Any, Any]') -> 'RowMaker[Row]'
 |      Call self as a function.
 |
 |  __init__ = _no_init_or_replace_init(self, *args, **kwargs) from typing
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  __subclasshook__ = _proto_hook(other) from typing
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (typing.Protocol[+Row],)
 |
 |  __parameters__ = (+Row,)
 |
 |  __protocol_attrs__ = {'__call__'}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Protocol:
 |
 |  __init_subclass__(*args, **kwargs)
 |      Function to initialize subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
psycopg.rows.COMMAND_OK
Python Library Documentation: ExecStatus in module psycopg.pq object

class ExecStatus(enum.IntEnum)
 |  ExecStatus(*values)
 |
 |  The status of a command.
 |
 |  Method resolution order:
 |      ExecStatus
 |      enum.IntEnum
 |      builtins.int
 |      enum.ReprEnum
 |      enum.Enum
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __format__(self, format_spec, /) from builtins.int
 |      Convert to a string according to format_spec.
 |
 |  __new__(cls, value) from enum.Enum
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  BAD_RESPONSE = <ExecStatus.BAD_RESPONSE: 5>
 |
 |  COMMAND_OK = <ExecStatus.COMMAND_OK: 1>
 |
 |  COPY_BOTH = <ExecStatus.COPY_BOTH: 8>
 |
 |  COPY_IN = <ExecStatus.COPY_IN: 4>
 |
 |  COPY_OUT = <ExecStatus.COPY_OUT: 3>
 |
 |  EMPTY_QUERY = <ExecStatus.EMPTY_QUERY: 0>
 |
 |  FATAL_ERROR = <ExecStatus.FATAL_ERROR: 7>
 |
 |  NONFATAL_ERROR = <ExecStatus.NONFATAL_ERROR: 6>
 |
 |  PIPELINE_ABORTED = <ExecStatus.PIPELINE_ABORTED: 11>
 |
 |  PIPELINE_SYNC = <ExecStatus.PIPELINE_SYNC: 10>
 |
 |  SINGLE_TUPLE = <ExecStatus.SINGLE_TUPLE: 9>
 |
 |  TUPLES_CHUNK = <ExecStatus.TUPLES_CHUNK: 12>
 |
 |  TUPLES_OK = <ExecStatus.TUPLES_OK: 2>
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.IntEnum:
 |
 |  __repr__(self) from enum.Enum
 |      Return repr(self).
 |
 |  __str__ = __repr__(self, /) from builtins.int
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.int:
 |
 |  __abs__(self, /)
 |      abs(self)
 |
 |  __add__(self, value, /)
 |      Return self+value.
 |
 |  __and__(self, value, /)
 |      Return self&value.
 |
 |  __bool__(self, /)
 |      True if self else False
 |
 |  __ceil__(...)
 |      Ceiling of an Integral returns itself.
 |
 |  __divmod__(self, value, /)
 |      Return divmod(self, value).
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __float__(self, /)
 |      float(self)
 |
 |  __floor__(...)
 |      Flooring an Integral returns itself.
 |
 |  __floordiv__(self, value, /)
 |      Return self//value.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getnewargs__(self, /)
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __index__(self, /)
 |      Return self converted to an integer, if self is suitable for use as an index into a list.
 |
 |  __int__(self, /)
 |      int(self)
 |
 |  __invert__(self, /)
 |      ~self
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __lshift__(self, value, /)
 |      Return self<<value.
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __mod__(self, value, /)
 |      Return self%value.
 |
 |  __mul__(self, value, /)
 |      Return self*value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __neg__(self, /)
 |      -self
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __pos__(self, /)
 |      +self
 |
 |  __pow__(self, value, mod=None, /)
 |      Return pow(self, value, mod).
 |
 |  __radd__(self, value, /)
 |      Return value+self.
 |
 |  __rand__(self, value, /)
 |      Return value&self.
 |
 |  __rdivmod__(self, value, /)
 |      Return divmod(value, self).
 |
 |  __rfloordiv__(self, value, /)
 |      Return value//self.
 |
 |  __rlshift__(self, value, /)
 |      Return value<<self.
 |
 |  __rmod__(self, value, /)
 |      Return value%self.
 |
 |  __rmul__(self, value, /)
 |      Return value*self.
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  __round__(...)
 |      Rounding an Integral returns itself.
 |
 |      Rounding with an ndigits argument also returns an integer.
 |
 |  __rpow__(self, value, mod=None, /)
 |      Return pow(value, self, mod).
 |
 |  __rrshift__(self, value, /)
 |      Return value>>self.
 |
 |  __rshift__(self, value, /)
 |      Return self>>value.
 |
 |  __rsub__(self, value, /)
 |      Return value-self.
 |
 |  __rtruediv__(self, value, /)
 |      Return value/self.
 |
 |  __rxor__(self, value, /)
 |      Return value^self.
 |
 |  __sizeof__(self, /)
 |      Returns size in memory, in bytes.
 |
 |  __sub__(self, value, /)
 |      Return self-value.
 |
 |  __truediv__(self, value, /)
 |      Return self/value.
 |
 |  __trunc__(...)
 |      Truncating an Integral returns itself.
 |
 |  __xor__(self, value, /)
 |      Return self^value.
 |
 |  as_integer_ratio(self, /)
 |      Return a pair of integers, whose ratio is equal to the original int.
 |
 |      The ratio is in lowest terms and has a positive denominator.
 |
 |      >>> (10).as_integer_ratio()
 |      (10, 1)
 |      >>> (-10).as_integer_ratio()
 |      (-10, 1)
 |      >>> (0).as_integer_ratio()
 |      (0, 1)
 |
 |  bit_count(self, /)
 |      Number of ones in the binary representation of the absolute value of self.
 |
 |      Also known as the population count.
 |
 |      >>> bin(13)
 |      '0b1101'
 |      >>> (13).bit_count()
 |      3
 |
 |  bit_length(self, /)
 |      Number of bits necessary to represent self in binary.
 |
 |      >>> bin(37)
 |      '0b100101'
 |      >>> (37).bit_length()
 |      6
 |
 |  conjugate(...)
 |      Returns self, the complex conjugate of any int.
 |
 |  is_integer(self, /)
 |      Returns True. Exists for duck type compatibility with float.is_integer.
 |
 |  to_bytes(self, /, length=1, byteorder='big', *, signed=False)
 |      Return an array of bytes representing an integer.
 |
 |      length
 |        Length of bytes object to use.  An OverflowError is raised if the
 |        integer is not representable with the given number of bytes.  Default
 |        is length 1.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Determines whether two's complement is used to represent the integer.
 |        If signed is False and a negative integer is given, an OverflowError
 |        is raised.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from builtins.int:
 |
 |  from_bytes(bytes, byteorder='big', *, signed=False)
 |      Return the integer represented by the given array of bytes.
 |
 |      bytes
 |        Holds the array of bytes to convert.  The argument must either
 |        support the buffer protocol or be an iterable object producing bytes.
 |        Bytes and bytearray are examples of built-in objects that support the
 |        buffer protocol.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Indicates whether two's complement is used to represent the integer.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.int:
 |
 |  denominator
 |      the denominator of a rational number in lowest terms
 |
 |  imag
 |      the imaginary part of a complex number
 |
 |  numerator
 |      the numerator of a rational number in lowest terms
 |
 |  real
 |      the real part of a complex number
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.Enum:
 |
 |  __dir__(self)
 |      Returns public methods and other interesting attributes.
 |
 |  __init__(self, *args, **kwds)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce_ex__(self, proto)
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from enum.Enum:
 |
 |  name
 |      The name of the Enum member.
 |
 |  value
 |      The value of the Enum member.
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from enum.EnumType:
 |
 |  __contains__(value)
 |      Return True if `value` is in `cls`.
 |
 |      `value` is in `cls` if:
 |      1) `value` is a member of `cls`, or
 |      2) `value` is the value of one of the `cls`'s members.
 |
 |  __getitem__(name)
 |      Return the member matching `name`.
 |
 |  __iter__()
 |      Return members in definition order.
 |
 |  __len__()
 |      Return the number of members (no aliases)
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from enum.EnumType:
 |
 |  __members__
 |      Returns a mapping of member name->value.
 |
 |      This mapping lists all enum members, including aliases. Note that this
 |      is a read-only view of the internal mapping.
psycopg.rows.Callable
Python Library Documentation: class Callable in module collections.abc

class Callable(builtins.object)
 |  Methods defined here:
 |
 |  __call__(self, *args, **kwds)
 |      Call self as a function.
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  __class_getitem__ = _CallableGenericAlias(args)
 |      Represent `Callable[argtypes, resulttype]`.
 |
 |      This sets ``__args__`` to a tuple containing the flattened ``argtypes``
 |      followed by ``resulttype``.
 |
 |      Example: ``Callable[[int, str], float]`` sets ``__args__`` to
 |      ``(int, str, float)``.
 |
 |  __subclasshook__(C)
 |      Abstract classes can override this to customize issubclass().
 |
 |      This is invoked early on by abc.ABCMeta.__subclasscheck__().
 |      It should return True, False or NotImplemented.  If it returns
 |      NotImplemented, the normal algorithm is used.  Otherwise, it
 |      overrides the normal algorithm (and the outcome is cached).
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset({'__call__'})
psycopg.rows.DictRow
Python Library Documentation: GenericAlias in module builtins

class dict(object)
 |  dict() -> new empty dictionary
 |  dict(mapping) -> new dictionary initialized from a mapping object's
 |      (key, value) pairs
 |  dict(iterable) -> new dictionary initialized as if via:
 |      d = {}
 |      for k, v in iterable:
 |          d[k] = v
 |  dict(**kwargs) -> new dictionary initialized with the name=value pairs
 |      in the keyword argument list.  For example:  dict(one=1, two=2)
 |
 |  Built-in subclasses:
 |      StgDict
 |
 |  Methods defined here:
 |
 |  __contains__(self, key, /)
 |      True if the dictionary has the specified key, else False.
 |
 |  __delitem__(self, key, /)
 |      Delete self[key].
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getitem__(self, key, /)
 |      Return self[key].
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __init__(self, /, *args, **kwargs)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __ior__(self, value, /)
 |      Return self|=value.
 |
 |  __iter__(self, /)
 |      Implement iter(self).
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __len__(self, /)
 |      Return len(self).
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __reversed__(self, /)
 |      Return a reverse iterator over the dict keys.
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  __setitem__(self, key, value, /)
 |      Set self[key] to value.
 |
 |  __sizeof__(...)
 |      D.__sizeof__() -> size of D in memory, in bytes
 |
 |  clear(...)
 |      D.clear() -> None.  Remove all items from D.
 |
 |  copy(...)
 |      D.copy() -> a shallow copy of D
 |
 |  get(self, key, default=None, /)
 |      Return the value for key if key is in the dictionary, else default.
 |
 |  items(...)
 |      D.items() -> a set-like object providing a view on D's items
 |
 |  keys(...)
 |      D.keys() -> a set-like object providing a view on D's keys
 |
 |  pop(...)
 |      D.pop(k[,d]) -> v, remove specified key and return the corresponding value.
 |
 |      If the key is not found, return the default if given; otherwise,
 |      raise a KeyError.
 |
 |  popitem(self, /)
 |      Remove and return a (key, value) pair as a 2-tuple.
 |
 |      Pairs are returned in LIFO (last-in, first-out) order.
 |      Raises KeyError if the dict is empty.
 |
 |  setdefault(self, key, default=None, /)
 |      Insert key with a value of default if key is not in the dictionary.
 |
 |      Return the value for key if key is in the dictionary, else default.
 |
 |  update(...)
 |      D.update([E, ]**F) -> None.  Update D from dict/iterable E and F.
 |      If E is present and has a .keys() method, then does:  for k in E: D[k] = E[k]
 |      If E is present and lacks a .keys() method, then does:  for k, v in E: D[k] = v
 |      In either case, this is followed by: for k in F:  D[k] = F[k]
 |
 |  values(...)
 |      D.values() -> an object providing a view on D's values
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  __class_getitem__(...)
 |      See PEP 585
 |
 |  fromkeys(iterable, value=None, /)
 |      Create a new dictionary with keys from iterable and values set to value.
 |
 |  ----------------------------------------------------------------------
 |  Static methods defined here:
 |
 |  __new__(*args, **kwargs)
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __hash__ = None
psycopg.rows.NamedTuple
Python Library Documentation: function NamedTuple in module typing

NamedTuple(typename, fields=None, /, **kwargs)
    Typed version of namedtuple.

    Usage::

        class Employee(NamedTuple):
            name: str
            id: int

    This is equivalent to::

        Employee = collections.namedtuple('Employee', ['name', 'id'])

    The resulting class has an extra __annotations__ attribute, giving a
    dict that maps field names to types.  (The field names are also in
    the _fields attribute, which is part of the namedtuple API.)
    An alternative equivalent functional syntax is also accepted::

        Employee = NamedTuple('Employee', [('name', str), ('id', int)])
psycopg.rows.NoReturn
Python Library Documentation: _SpecialForm in module typing

NoReturn = typing.NoReturn
    Special type indicating functions that never return.

    Example::

        from typing import NoReturn

        def stop() -> NoReturn:
            raise Exception('no way')

    NoReturn can also be used as a bottom type, a type that
    has no values. Starting in Python 3.11, the Never type should
    be used for this concept instead. Type checkers should treat the two
    equivalently.
psycopg.rows.Protocol
Python Library Documentation: class Protocol in module typing

class Protocol(Generic)
 |  Base class for protocol classes.
 |
 |  Protocol classes are defined as::
 |
 |      class Proto(Protocol):
 |          def meth(self) -> int:
 |              ...
 |
 |  Such classes are primarily used with static type checkers that recognize
 |  structural subtyping (static duck-typing).
 |
 |  For example::
 |
 |      class C:
 |          def meth(self) -> int:
 |              return 0
 |
 |      def func(x: Proto) -> int:
 |          return x.meth()
 |
 |      func(C())  # Passes static type check
 |
 |  See PEP 544 for details. Protocol classes decorated with
 |  @typing.runtime_checkable act as simple-minded runtime protocols that check
 |  only the presence of given attributes, ignoring their type signatures.
 |  Protocol classes can be generic, they are defined as::
 |
 |      class GenProto[T](Protocol):
 |          def meth(self) -> T:
 |              ...
 |
 |  Method resolution order:
 |      Protocol
 |      Generic
 |      builtins.object
 |
 |  Class methods defined here:
 |
 |  __init_subclass__(*args, **kwargs)
 |      Function to initialize subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __annotations__ = {}
 |
 |  __parameters__ = ()
 |
 |  __protocol_attrs__ = set()
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
psycopg.rows.Row
Python Library Documentation: TypeVar in module psycopg.rows object

Row = class TypeVar(builtins.object)
 |  Type variable.
 |
 |  The preferred way to construct a type variable is via the dedicated
 |  syntax for generic functions, classes, and type aliases::
 |
 |      class Sequence[T]:  # T is a TypeVar
 |          ...
 |
 |  This syntax can also be used to create bound and constrained type
 |  variables::
 |
 |      # S is a TypeVar bound to str
 |      class StrSequence[S: str]:
 |          ...
 |
 |      # A is a TypeVar constrained to str or bytes
 |      class StrOrBytesSequence[A: (str, bytes)]:
 |          ...
 |
 |  However, if desired, reusable type variables can also be constructed
 |  manually, like so::
 |
 |     T = TypeVar('T')  # Can be anything
 |     S = TypeVar('S', bound=str)  # Can be any subtype of str
 |     A = TypeVar('A', str, bytes)  # Must be exactly str or bytes
 |
 |  Type variables exist primarily for the benefit of static type
 |  checkers.  They serve as the parameters for generic types as well
 |  as for generic function and type alias definitions.
 |
 |  The variance of type variables is inferred by type checkers when they
 |  are created through the type parameter syntax and when
 |  ``infer_variance=True`` is passed. Manually created type variables may
 |  be explicitly marked covariant or contravariant by passing
 |  ``covariant=True`` or ``contravariant=True``. By default, manually
 |  created type variables are invariant. See PEP 484 and PEP 695 for more
 |  details.
 |
 |  Methods defined here:
 |
 |  __mro_entries__(...)
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __reduce__(self, /)
 |      Helper for pickle.
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  __typing_subst__(self, /, arg)
 |
 |  ----------------------------------------------------------------------
 |  Static methods defined here:
 |
 |  __new__(*args, **kwargs)
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __bound__
 |
 |  __constraints__
 |
 |  __contravariant__
 |
 |  __covariant__
 |
 |  __infer_variance__
psycopg.rows.RowFactory
Python Library Documentation: class RowFactory in module psycopg.rows

class RowFactory(typing.Protocol)
 |  RowFactory(*args, **kwargs)
 |
 |  Callable protocol taking a `~psycopg.Cursor` and returning a `RowMaker`.
 |
 |  A `!RowFactory` is typically called when a `!Cursor` receives a result.
 |  This way it can inspect the cursor state (for instance the
 |  `~psycopg.Cursor.description` attribute) and help a `!RowMaker` to create
 |  a complete object.
 |
 |  For instance the `dict_row()` `!RowFactory` uses the names of the column to
 |  define the dictionary key and returns a `!RowMaker` function which would
 |  use the values to create a dictionary for each record.
 |
 |  Method resolution order:
 |      RowFactory
 |      typing.Protocol
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __call__(self, _RowFactory__cursor: 'Cursor[Any]') -> 'RowMaker[Row]'
 |      Call self as a function.
 |
 |  __init__ = _no_init_or_replace_init(self, *args, **kwargs) from typing
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  __subclasshook__ = _proto_hook(other) from typing
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (typing.Protocol[+Row],)
 |
 |  __parameters__ = (+Row,)
 |
 |  __protocol_attrs__ = {'__call__'}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Protocol:
 |
 |  __init_subclass__(*args, **kwargs)
 |      Function to initialize subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
psycopg.rows.RowMaker
Python Library Documentation: class RowMaker in module psycopg.rows

class RowMaker(typing.Protocol)
 |  RowMaker(*args, **kwargs)
 |
 |  Callable protocol taking a sequence of value and returning an object.
 |
 |  The sequence of value is what is returned from a database query, already
 |  adapted to the right Python types. The return value is the object that your
 |  program would like to receive: by default (`tuple_row()`) it is a simple
 |  tuple, but it may be any type of object.
 |
 |  Typically, `!RowMaker` functions are returned by `RowFactory`.
 |
 |  Method resolution order:
 |      RowMaker
 |      typing.Protocol
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __call__(self, _RowMaker__values: 'Sequence[Any]') -> 'Row'
 |      Call self as a function.
 |
 |  __init__ = _no_init_or_replace_init(self, *args, **kwargs) from typing
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  __subclasshook__ = _proto_hook(other) from typing
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __annotations__ = {}
 |
 |  __orig_bases__ = (typing.Protocol[+Row],)
 |
 |  __parameters__ = (+Row,)
 |
 |  __protocol_attrs__ = {'__call__'}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Protocol:
 |
 |  __init_subclass__(*args, **kwargs)
 |      Function to initialize subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
psycopg.rows.SINGLE_TUPLE
Python Library Documentation: ExecStatus in module psycopg.pq object

class ExecStatus(enum.IntEnum)
 |  ExecStatus(*values)
 |
 |  The status of a command.
 |
 |  Method resolution order:
 |      ExecStatus
 |      enum.IntEnum
 |      builtins.int
 |      enum.ReprEnum
 |      enum.Enum
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __format__(self, format_spec, /) from builtins.int
 |      Convert to a string according to format_spec.
 |
 |  __new__(cls, value) from enum.Enum
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  BAD_RESPONSE = <ExecStatus.BAD_RESPONSE: 5>
 |
 |  COMMAND_OK = <ExecStatus.COMMAND_OK: 1>
 |
 |  COPY_BOTH = <ExecStatus.COPY_BOTH: 8>
 |
 |  COPY_IN = <ExecStatus.COPY_IN: 4>
 |
 |  COPY_OUT = <ExecStatus.COPY_OUT: 3>
 |
 |  EMPTY_QUERY = <ExecStatus.EMPTY_QUERY: 0>
 |
 |  FATAL_ERROR = <ExecStatus.FATAL_ERROR: 7>
 |
 |  NONFATAL_ERROR = <ExecStatus.NONFATAL_ERROR: 6>
 |
 |  PIPELINE_ABORTED = <ExecStatus.PIPELINE_ABORTED: 11>
 |
 |  PIPELINE_SYNC = <ExecStatus.PIPELINE_SYNC: 10>
 |
 |  SINGLE_TUPLE = <ExecStatus.SINGLE_TUPLE: 9>
 |
 |  TUPLES_CHUNK = <ExecStatus.TUPLES_CHUNK: 12>
 |
 |  TUPLES_OK = <ExecStatus.TUPLES_OK: 2>
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.IntEnum:
 |
 |  __repr__(self) from enum.Enum
 |      Return repr(self).
 |
 |  __str__ = __repr__(self, /) from builtins.int
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.int:
 |
 |  __abs__(self, /)
 |      abs(self)
 |
 |  __add__(self, value, /)
 |      Return self+value.
 |
 |  __and__(self, value, /)
 |      Return self&value.
 |
 |  __bool__(self, /)
 |      True if self else False
 |
 |  __ceil__(...)
 |      Ceiling of an Integral returns itself.
 |
 |  __divmod__(self, value, /)
 |      Return divmod(self, value).
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __float__(self, /)
 |      float(self)
 |
 |  __floor__(...)
 |      Flooring an Integral returns itself.
 |
 |  __floordiv__(self, value, /)
 |      Return self//value.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getnewargs__(self, /)
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __index__(self, /)
 |      Return self converted to an integer, if self is suitable for use as an index into a list.
 |
 |  __int__(self, /)
 |      int(self)
 |
 |  __invert__(self, /)
 |      ~self
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __lshift__(self, value, /)
 |      Return self<<value.
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __mod__(self, value, /)
 |      Return self%value.
 |
 |  __mul__(self, value, /)
 |      Return self*value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __neg__(self, /)
 |      -self
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __pos__(self, /)
 |      +self
 |
 |  __pow__(self, value, mod=None, /)
 |      Return pow(self, value, mod).
 |
 |  __radd__(self, value, /)
 |      Return value+self.
 |
 |  __rand__(self, value, /)
 |      Return value&self.
 |
 |  __rdivmod__(self, value, /)
 |      Return divmod(value, self).
 |
 |  __rfloordiv__(self, value, /)
 |      Return value//self.
 |
 |  __rlshift__(self, value, /)
 |      Return value<<self.
 |
 |  __rmod__(self, value, /)
 |      Return value%self.
 |
 |  __rmul__(self, value, /)
 |      Return value*self.
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  __round__(...)
 |      Rounding an Integral returns itself.
 |
 |      Rounding with an ndigits argument also returns an integer.
 |
 |  __rpow__(self, value, mod=None, /)
 |      Return pow(value, self, mod).
 |
 |  __rrshift__(self, value, /)
 |      Return value>>self.
 |
 |  __rshift__(self, value, /)
 |      Return self>>value.
 |
 |  __rsub__(self, value, /)
 |      Return value-self.
 |
 |  __rtruediv__(self, value, /)
 |      Return value/self.
 |
 |  __rxor__(self, value, /)
 |      Return value^self.
 |
 |  __sizeof__(self, /)
 |      Returns size in memory, in bytes.
 |
 |  __sub__(self, value, /)
 |      Return self-value.
 |
 |  __truediv__(self, value, /)
 |      Return self/value.
 |
 |  __trunc__(...)
 |      Truncating an Integral returns itself.
 |
 |  __xor__(self, value, /)
 |      Return self^value.
 |
 |  as_integer_ratio(self, /)
 |      Return a pair of integers, whose ratio is equal to the original int.
 |
 |      The ratio is in lowest terms and has a positive denominator.
 |
 |      >>> (10).as_integer_ratio()
 |      (10, 1)
 |      >>> (-10).as_integer_ratio()
 |      (-10, 1)
 |      >>> (0).as_integer_ratio()
 |      (0, 1)
 |
 |  bit_count(self, /)
 |      Number of ones in the binary representation of the absolute value of self.
 |
 |      Also known as the population count.
 |
 |      >>> bin(13)
 |      '0b1101'
 |      >>> (13).bit_count()
 |      3
 |
 |  bit_length(self, /)
 |      Number of bits necessary to represent self in binary.
 |
 |      >>> bin(37)
 |      '0b100101'
 |      >>> (37).bit_length()
 |      6
 |
 |  conjugate(...)
 |      Returns self, the complex conjugate of any int.
 |
 |  is_integer(self, /)
 |      Returns True. Exists for duck type compatibility with float.is_integer.
 |
 |  to_bytes(self, /, length=1, byteorder='big', *, signed=False)
 |      Return an array of bytes representing an integer.
 |
 |      length
 |        Length of bytes object to use.  An OverflowError is raised if the
 |        integer is not representable with the given number of bytes.  Default
 |        is length 1.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Determines whether two's complement is used to represent the integer.
 |        If signed is False and a negative integer is given, an OverflowError
 |        is raised.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from builtins.int:
 |
 |  from_bytes(bytes, byteorder='big', *, signed=False)
 |      Return the integer represented by the given array of bytes.
 |
 |      bytes
 |        Holds the array of bytes to convert.  The argument must either
 |        support the buffer protocol or be an iterable object producing bytes.
 |        Bytes and bytearray are examples of built-in objects that support the
 |        buffer protocol.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Indicates whether two's complement is used to represent the integer.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.int:
 |
 |  denominator
 |      the denominator of a rational number in lowest terms
 |
 |  imag
 |      the imaginary part of a complex number
 |
 |  numerator
 |      the numerator of a rational number in lowest terms
 |
 |  real
 |      the real part of a complex number
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.Enum:
 |
 |  __dir__(self)
 |      Returns public methods and other interesting attributes.
 |
 |  __init__(self, *args, **kwds)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce_ex__(self, proto)
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from enum.Enum:
 |
 |  name
 |      The name of the Enum member.
 |
 |  value
 |      The value of the Enum member.
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from enum.EnumType:
 |
 |  __contains__(value)
 |      Return True if `value` is in `cls`.
 |
 |      `value` is in `cls` if:
 |      1) `value` is a member of `cls`, or
 |      2) `value` is the value of one of the `cls`'s members.
 |
 |  __getitem__(name)
 |      Return the member matching `name`.
 |
 |  __iter__()
 |      Return members in definition order.
 |
 |  __len__()
 |      Return the number of members (no aliases)
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from enum.EnumType:
 |
 |  __members__
 |      Returns a mapping of member name->value.
 |
 |      This mapping lists all enum members, including aliases. Note that this
 |      is a read-only view of the internal mapping.
psycopg.rows.Sequence
Python Library Documentation: class Sequence in module collections.abc

class Sequence(Reversible, Collection)
 |  All the operations on a read-only sequence.
 |
 |  Concrete subclasses must override __new__ or __init__,
 |  __getitem__, and __len__.
 |
 |  Method resolution order:
 |      Sequence
 |      Reversible
 |      Collection
 |      Sized
 |      Iterable
 |      Container
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __contains__(self, value)
 |
 |  __getitem__(self, index)
 |
 |  __iter__(self)
 |
 |  __reversed__(self)
 |
 |  count(self, value)
 |      S.count(value) -> integer -- return number of occurrences of value
 |
 |  index(self, value, start=0, stop=None)
 |      S.index(value, [start, [stop]]) -> integer -- return first index of value.
 |      Raises ValueError if the value is not present.
 |
 |      Supporting start and stop arguments is optional, but
 |      recommended.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset({'__getitem__', '__len__'})
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from Reversible:
 |
 |  __subclasshook__(C)
 |      Abstract classes can override this to customize issubclass().
 |
 |      This is invoked early on by abc.ABCMeta.__subclasscheck__().
 |      It should return True, False or NotImplemented.  If it returns
 |      NotImplemented, the normal algorithm is used.  Otherwise, it
 |      overrides the normal algorithm (and the outcome is cached).
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Sized:
 |
 |  __len__(self)
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from Iterable:
 |
 |  __class_getitem__ = GenericAlias(...)
 |      Represent a PEP 585 generic type
 |
 |      E.g. for t = list[int], t.__origin__ is list and t.__args__ is (int,).
psycopg.rows.T
Python Library Documentation: TypeVar in module psycopg.rows object

T = class TypeVar(builtins.object)
 |  Type variable.
 |
 |  The preferred way to construct a type variable is via the dedicated
 |  syntax for generic functions, classes, and type aliases::
 |
 |      class Sequence[T]:  # T is a TypeVar
 |          ...
 |
 |  This syntax can also be used to create bound and constrained type
 |  variables::
 |
 |      # S is a TypeVar bound to str
 |      class StrSequence[S: str]:
 |          ...
 |
 |      # A is a TypeVar constrained to str or bytes
 |      class StrOrBytesSequence[A: (str, bytes)]:
 |          ...
 |
 |  However, if desired, reusable type variables can also be constructed
 |  manually, like so::
 |
 |     T = TypeVar('T')  # Can be anything
 |     S = TypeVar('S', bound=str)  # Can be any subtype of str
 |     A = TypeVar('A', str, bytes)  # Must be exactly str or bytes
 |
 |  Type variables exist primarily for the benefit of static type
 |  checkers.  They serve as the parameters for generic types as well
 |  as for generic function and type alias definitions.
 |
 |  The variance of type variables is inferred by type checkers when they
 |  are created through the type parameter syntax and when
 |  ``infer_variance=True`` is passed. Manually created type variables may
 |  be explicitly marked covariant or contravariant by passing
 |  ``covariant=True`` or ``contravariant=True``. By default, manually
 |  created type variables are invariant. See PEP 484 and PEP 695 for more
 |  details.
 |
 |  Methods defined here:
 |
 |  __mro_entries__(...)
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __reduce__(self, /)
 |      Helper for pickle.
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  __typing_subst__(self, /, arg)
 |
 |  ----------------------------------------------------------------------
 |  Static methods defined here:
 |
 |  __new__(*args, **kwargs)
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __bound__
 |
 |  __constraints__
 |
 |  __contravariant__
 |
 |  __covariant__
 |
 |  __infer_variance__
psycopg.rows.TUPLES_CHUNK
Python Library Documentation: ExecStatus in module psycopg.pq object

class ExecStatus(enum.IntEnum)
 |  ExecStatus(*values)
 |
 |  The status of a command.
 |
 |  Method resolution order:
 |      ExecStatus
 |      enum.IntEnum
 |      builtins.int
 |      enum.ReprEnum
 |      enum.Enum
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __format__(self, format_spec, /) from builtins.int
 |      Convert to a string according to format_spec.
 |
 |  __new__(cls, value) from enum.Enum
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  BAD_RESPONSE = <ExecStatus.BAD_RESPONSE: 5>
 |
 |  COMMAND_OK = <ExecStatus.COMMAND_OK: 1>
 |
 |  COPY_BOTH = <ExecStatus.COPY_BOTH: 8>
 |
 |  COPY_IN = <ExecStatus.COPY_IN: 4>
 |
 |  COPY_OUT = <ExecStatus.COPY_OUT: 3>
 |
 |  EMPTY_QUERY = <ExecStatus.EMPTY_QUERY: 0>
 |
 |  FATAL_ERROR = <ExecStatus.FATAL_ERROR: 7>
 |
 |  NONFATAL_ERROR = <ExecStatus.NONFATAL_ERROR: 6>
 |
 |  PIPELINE_ABORTED = <ExecStatus.PIPELINE_ABORTED: 11>
 |
 |  PIPELINE_SYNC = <ExecStatus.PIPELINE_SYNC: 10>
 |
 |  SINGLE_TUPLE = <ExecStatus.SINGLE_TUPLE: 9>
 |
 |  TUPLES_CHUNK = <ExecStatus.TUPLES_CHUNK: 12>
 |
 |  TUPLES_OK = <ExecStatus.TUPLES_OK: 2>
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.IntEnum:
 |
 |  __repr__(self) from enum.Enum
 |      Return repr(self).
 |
 |  __str__ = __repr__(self, /) from builtins.int
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.int:
 |
 |  __abs__(self, /)
 |      abs(self)
 |
 |  __add__(self, value, /)
 |      Return self+value.
 |
 |  __and__(self, value, /)
 |      Return self&value.
 |
 |  __bool__(self, /)
 |      True if self else False
 |
 |  __ceil__(...)
 |      Ceiling of an Integral returns itself.
 |
 |  __divmod__(self, value, /)
 |      Return divmod(self, value).
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __float__(self, /)
 |      float(self)
 |
 |  __floor__(...)
 |      Flooring an Integral returns itself.
 |
 |  __floordiv__(self, value, /)
 |      Return self//value.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getnewargs__(self, /)
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __index__(self, /)
 |      Return self converted to an integer, if self is suitable for use as an index into a list.
 |
 |  __int__(self, /)
 |      int(self)
 |
 |  __invert__(self, /)
 |      ~self
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __lshift__(self, value, /)
 |      Return self<<value.
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __mod__(self, value, /)
 |      Return self%value.
 |
 |  __mul__(self, value, /)
 |      Return self*value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __neg__(self, /)
 |      -self
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __pos__(self, /)
 |      +self
 |
 |  __pow__(self, value, mod=None, /)
 |      Return pow(self, value, mod).
 |
 |  __radd__(self, value, /)
 |      Return value+self.
 |
 |  __rand__(self, value, /)
 |      Return value&self.
 |
 |  __rdivmod__(self, value, /)
 |      Return divmod(value, self).
 |
 |  __rfloordiv__(self, value, /)
 |      Return value//self.
 |
 |  __rlshift__(self, value, /)
 |      Return value<<self.
 |
 |  __rmod__(self, value, /)
 |      Return value%self.
 |
 |  __rmul__(self, value, /)
 |      Return value*self.
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  __round__(...)
 |      Rounding an Integral returns itself.
 |
 |      Rounding with an ndigits argument also returns an integer.
 |
 |  __rpow__(self, value, mod=None, /)
 |      Return pow(value, self, mod).
 |
 |  __rrshift__(self, value, /)
 |      Return value>>self.
 |
 |  __rshift__(self, value, /)
 |      Return self>>value.
 |
 |  __rsub__(self, value, /)
 |      Return value-self.
 |
 |  __rtruediv__(self, value, /)
 |      Return value/self.
 |
 |  __rxor__(self, value, /)
 |      Return value^self.
 |
 |  __sizeof__(self, /)
 |      Returns size in memory, in bytes.
 |
 |  __sub__(self, value, /)
 |      Return self-value.
 |
 |  __truediv__(self, value, /)
 |      Return self/value.
 |
 |  __trunc__(...)
 |      Truncating an Integral returns itself.
 |
 |  __xor__(self, value, /)
 |      Return self^value.
 |
 |  as_integer_ratio(self, /)
 |      Return a pair of integers, whose ratio is equal to the original int.
 |
 |      The ratio is in lowest terms and has a positive denominator.
 |
 |      >>> (10).as_integer_ratio()
 |      (10, 1)
 |      >>> (-10).as_integer_ratio()
 |      (-10, 1)
 |      >>> (0).as_integer_ratio()
 |      (0, 1)
 |
 |  bit_count(self, /)
 |      Number of ones in the binary representation of the absolute value of self.
 |
 |      Also known as the population count.
 |
 |      >>> bin(13)
 |      '0b1101'
 |      >>> (13).bit_count()
 |      3
 |
 |  bit_length(self, /)
 |      Number of bits necessary to represent self in binary.
 |
 |      >>> bin(37)
 |      '0b100101'
 |      >>> (37).bit_length()
 |      6
 |
 |  conjugate(...)
 |      Returns self, the complex conjugate of any int.
 |
 |  is_integer(self, /)
 |      Returns True. Exists for duck type compatibility with float.is_integer.
 |
 |  to_bytes(self, /, length=1, byteorder='big', *, signed=False)
 |      Return an array of bytes representing an integer.
 |
 |      length
 |        Length of bytes object to use.  An OverflowError is raised if the
 |        integer is not representable with the given number of bytes.  Default
 |        is length 1.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Determines whether two's complement is used to represent the integer.
 |        If signed is False and a negative integer is given, an OverflowError
 |        is raised.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from builtins.int:
 |
 |  from_bytes(bytes, byteorder='big', *, signed=False)
 |      Return the integer represented by the given array of bytes.
 |
 |      bytes
 |        Holds the array of bytes to convert.  The argument must either
 |        support the buffer protocol or be an iterable object producing bytes.
 |        Bytes and bytearray are examples of built-in objects that support the
 |        buffer protocol.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Indicates whether two's complement is used to represent the integer.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.int:
 |
 |  denominator
 |      the denominator of a rational number in lowest terms
 |
 |  imag
 |      the imaginary part of a complex number
 |
 |  numerator
 |      the numerator of a rational number in lowest terms
 |
 |  real
 |      the real part of a complex number
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.Enum:
 |
 |  __dir__(self)
 |      Returns public methods and other interesting attributes.
 |
 |  __init__(self, *args, **kwds)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce_ex__(self, proto)
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from enum.Enum:
 |
 |  name
 |      The name of the Enum member.
 |
 |  value
 |      The value of the Enum member.
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from enum.EnumType:
 |
 |  __contains__(value)
 |      Return True if `value` is in `cls`.
 |
 |      `value` is in `cls` if:
 |      1) `value` is a member of `cls`, or
 |      2) `value` is the value of one of the `cls`'s members.
 |
 |  __getitem__(name)
 |      Return the member matching `name`.
 |
 |  __iter__()
 |      Return members in definition order.
 |
 |  __len__()
 |      Return the number of members (no aliases)
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from enum.EnumType:
 |
 |  __members__
 |      Returns a mapping of member name->value.
 |
 |      This mapping lists all enum members, including aliases. Note that this
 |      is a read-only view of the internal mapping.
psycopg.rows.TUPLES_OK
Python Library Documentation: ExecStatus in module psycopg.pq object

class ExecStatus(enum.IntEnum)
 |  ExecStatus(*values)
 |
 |  The status of a command.
 |
 |  Method resolution order:
 |      ExecStatus
 |      enum.IntEnum
 |      builtins.int
 |      enum.ReprEnum
 |      enum.Enum
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __format__(self, format_spec, /) from builtins.int
 |      Convert to a string according to format_spec.
 |
 |  __new__(cls, value) from enum.Enum
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  BAD_RESPONSE = <ExecStatus.BAD_RESPONSE: 5>
 |
 |  COMMAND_OK = <ExecStatus.COMMAND_OK: 1>
 |
 |  COPY_BOTH = <ExecStatus.COPY_BOTH: 8>
 |
 |  COPY_IN = <ExecStatus.COPY_IN: 4>
 |
 |  COPY_OUT = <ExecStatus.COPY_OUT: 3>
 |
 |  EMPTY_QUERY = <ExecStatus.EMPTY_QUERY: 0>
 |
 |  FATAL_ERROR = <ExecStatus.FATAL_ERROR: 7>
 |
 |  NONFATAL_ERROR = <ExecStatus.NONFATAL_ERROR: 6>
 |
 |  PIPELINE_ABORTED = <ExecStatus.PIPELINE_ABORTED: 11>
 |
 |  PIPELINE_SYNC = <ExecStatus.PIPELINE_SYNC: 10>
 |
 |  SINGLE_TUPLE = <ExecStatus.SINGLE_TUPLE: 9>
 |
 |  TUPLES_CHUNK = <ExecStatus.TUPLES_CHUNK: 12>
 |
 |  TUPLES_OK = <ExecStatus.TUPLES_OK: 2>
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.IntEnum:
 |
 |  __repr__(self) from enum.Enum
 |      Return repr(self).
 |
 |  __str__ = __repr__(self, /) from builtins.int
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.int:
 |
 |  __abs__(self, /)
 |      abs(self)
 |
 |  __add__(self, value, /)
 |      Return self+value.
 |
 |  __and__(self, value, /)
 |      Return self&value.
 |
 |  __bool__(self, /)
 |      True if self else False
 |
 |  __ceil__(...)
 |      Ceiling of an Integral returns itself.
 |
 |  __divmod__(self, value, /)
 |      Return divmod(self, value).
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __float__(self, /)
 |      float(self)
 |
 |  __floor__(...)
 |      Flooring an Integral returns itself.
 |
 |  __floordiv__(self, value, /)
 |      Return self//value.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getnewargs__(self, /)
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __index__(self, /)
 |      Return self converted to an integer, if self is suitable for use as an index into a list.
 |
 |  __int__(self, /)
 |      int(self)
 |
 |  __invert__(self, /)
 |      ~self
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __lshift__(self, value, /)
 |      Return self<<value.
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __mod__(self, value, /)
 |      Return self%value.
 |
 |  __mul__(self, value, /)
 |      Return self*value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __neg__(self, /)
 |      -self
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __pos__(self, /)
 |      +self
 |
 |  __pow__(self, value, mod=None, /)
 |      Return pow(self, value, mod).
 |
 |  __radd__(self, value, /)
 |      Return value+self.
 |
 |  __rand__(self, value, /)
 |      Return value&self.
 |
 |  __rdivmod__(self, value, /)
 |      Return divmod(value, self).
 |
 |  __rfloordiv__(self, value, /)
 |      Return value//self.
 |
 |  __rlshift__(self, value, /)
 |      Return value<<self.
 |
 |  __rmod__(self, value, /)
 |      Return value%self.
 |
 |  __rmul__(self, value, /)
 |      Return value*self.
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  __round__(...)
 |      Rounding an Integral returns itself.
 |
 |      Rounding with an ndigits argument also returns an integer.
 |
 |  __rpow__(self, value, mod=None, /)
 |      Return pow(value, self, mod).
 |
 |  __rrshift__(self, value, /)
 |      Return value>>self.
 |
 |  __rshift__(self, value, /)
 |      Return self>>value.
 |
 |  __rsub__(self, value, /)
 |      Return value-self.
 |
 |  __rtruediv__(self, value, /)
 |      Return value/self.
 |
 |  __rxor__(self, value, /)
 |      Return value^self.
 |
 |  __sizeof__(self, /)
 |      Returns size in memory, in bytes.
 |
 |  __sub__(self, value, /)
 |      Return self-value.
 |
 |  __truediv__(self, value, /)
 |      Return self/value.
 |
 |  __trunc__(...)
 |      Truncating an Integral returns itself.
 |
 |  __xor__(self, value, /)
 |      Return self^value.
 |
 |  as_integer_ratio(self, /)
 |      Return a pair of integers, whose ratio is equal to the original int.
 |
 |      The ratio is in lowest terms and has a positive denominator.
 |
 |      >>> (10).as_integer_ratio()
 |      (10, 1)
 |      >>> (-10).as_integer_ratio()
 |      (-10, 1)
 |      >>> (0).as_integer_ratio()
 |      (0, 1)
 |
 |  bit_count(self, /)
 |      Number of ones in the binary representation of the absolute value of self.
 |
 |      Also known as the population count.
 |
 |      >>> bin(13)
 |      '0b1101'
 |      >>> (13).bit_count()
 |      3
 |
 |  bit_length(self, /)
 |      Number of bits necessary to represent self in binary.
 |
 |      >>> bin(37)
 |      '0b100101'
 |      >>> (37).bit_length()
 |      6
 |
 |  conjugate(...)
 |      Returns self, the complex conjugate of any int.
 |
 |  is_integer(self, /)
 |      Returns True. Exists for duck type compatibility with float.is_integer.
 |
 |  to_bytes(self, /, length=1, byteorder='big', *, signed=False)
 |      Return an array of bytes representing an integer.
 |
 |      length
 |        Length of bytes object to use.  An OverflowError is raised if the
 |        integer is not representable with the given number of bytes.  Default
 |        is length 1.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Determines whether two's complement is used to represent the integer.
 |        If signed is False and a negative integer is given, an OverflowError
 |        is raised.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from builtins.int:
 |
 |  from_bytes(bytes, byteorder='big', *, signed=False)
 |      Return the integer represented by the given array of bytes.
 |
 |      bytes
 |        Holds the array of bytes to convert.  The argument must either
 |        support the buffer protocol or be an iterable object producing bytes.
 |        Bytes and bytearray are examples of built-in objects that support the
 |        buffer protocol.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Indicates whether two's complement is used to represent the integer.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.int:
 |
 |  denominator
 |      the denominator of a rational number in lowest terms
 |
 |  imag
 |      the imaginary part of a complex number
 |
 |  numerator
 |      the numerator of a rational number in lowest terms
 |
 |  real
 |      the real part of a complex number
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.Enum:
 |
 |  __dir__(self)
 |      Returns public methods and other interesting attributes.
 |
 |  __init__(self, *args, **kwds)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce_ex__(self, proto)
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from enum.Enum:
 |
 |  name
 |      The name of the Enum member.
 |
 |  value
 |      The value of the Enum member.
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from enum.EnumType:
 |
 |  __contains__(value)
 |      Return True if `value` is in `cls`.
 |
 |      `value` is in `cls` if:
 |      1) `value` is a member of `cls`, or
 |      2) `value` is the value of one of the `cls`'s members.
 |
 |  __getitem__(name)
 |      Return the member matching `name`.
 |
 |  __iter__()
 |      Return members in definition order.
 |
 |  __len__()
 |      Return the number of members (no aliases)
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from enum.EnumType:
 |
 |  __members__
 |      Returns a mapping of member name->value.
 |
 |      This mapping lists all enum members, including aliases. Note that this
 |      is a read-only view of the internal mapping.
psycopg.rows.TYPE_CHECKING
Python Library Documentation: bool object

class bool(int)
 |  bool(x) -> bool
 |
 |  Returns True when the argument x is true, False otherwise.
 |  The builtins True and False are the only two instances of the class bool.
 |  The class bool is a subclass of the class int, and cannot be subclassed.
 |
 |  Method resolution order:
 |      bool
 |      int
 |      object
 |
 |  Methods defined here:
 |
 |  __and__(self, value, /)
 |      Return self&value.
 |
 |  __invert__(self, /)
 |      ~self
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __rand__(self, value, /)
 |      Return value&self.
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  __rxor__(self, value, /)
 |      Return value^self.
 |
 |  __xor__(self, value, /)
 |      Return self^value.
 |
 |  ----------------------------------------------------------------------
 |  Static methods defined here:
 |
 |  __new__(*args, **kwargs)
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from int:
 |
 |  __abs__(self, /)
 |      abs(self)
 |
 |  __add__(self, value, /)
 |      Return self+value.
 |
 |  __bool__(self, /)
 |      True if self else False
 |
 |  __ceil__(...)
 |      Ceiling of an Integral returns itself.
 |
 |  __divmod__(self, value, /)
 |      Return divmod(self, value).
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __float__(self, /)
 |      float(self)
 |
 |  __floor__(...)
 |      Flooring an Integral returns itself.
 |
 |  __floordiv__(self, value, /)
 |      Return self//value.
 |
 |  __format__(self, format_spec, /)
 |      Convert to a string according to format_spec.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getnewargs__(self, /)
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __index__(self, /)
 |      Return self converted to an integer, if self is suitable for use as an index into a list.
 |
 |  __int__(self, /)
 |      int(self)
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __lshift__(self, value, /)
 |      Return self<<value.
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __mod__(self, value, /)
 |      Return self%value.
 |
 |  __mul__(self, value, /)
 |      Return self*value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __neg__(self, /)
 |      -self
 |
 |  __pos__(self, /)
 |      +self
 |
 |  __pow__(self, value, mod=None, /)
 |      Return pow(self, value, mod).
 |
 |  __radd__(self, value, /)
 |      Return value+self.
 |
 |  __rdivmod__(self, value, /)
 |      Return divmod(value, self).
 |
 |  __rfloordiv__(self, value, /)
 |      Return value//self.
 |
 |  __rlshift__(self, value, /)
 |      Return value<<self.
 |
 |  __rmod__(self, value, /)
 |      Return value%self.
 |
 |  __rmul__(self, value, /)
 |      Return value*self.
 |
 |  __round__(...)
 |      Rounding an Integral returns itself.
 |
 |      Rounding with an ndigits argument also returns an integer.
 |
 |  __rpow__(self, value, mod=None, /)
 |      Return pow(value, self, mod).
 |
 |  __rrshift__(self, value, /)
 |      Return value>>self.
 |
 |  __rshift__(self, value, /)
 |      Return self>>value.
 |
 |  __rsub__(self, value, /)
 |      Return value-self.
 |
 |  __rtruediv__(self, value, /)
 |      Return value/self.
 |
 |  __sizeof__(self, /)
 |      Returns size in memory, in bytes.
 |
 |  __sub__(self, value, /)
 |      Return self-value.
 |
 |  __truediv__(self, value, /)
 |      Return self/value.
 |
 |  __trunc__(...)
 |      Truncating an Integral returns itself.
 |
 |  as_integer_ratio(self, /)
 |      Return a pair of integers, whose ratio is equal to the original int.
 |
 |      The ratio is in lowest terms and has a positive denominator.
 |
 |      >>> (10).as_integer_ratio()
 |      (10, 1)
 |      >>> (-10).as_integer_ratio()
 |      (-10, 1)
 |      >>> (0).as_integer_ratio()
 |      (0, 1)
 |
 |  bit_count(self, /)
 |      Number of ones in the binary representation of the absolute value of self.
 |
 |      Also known as the population count.
 |
 |      >>> bin(13)
 |      '0b1101'
 |      >>> (13).bit_count()
 |      3
 |
 |  bit_length(self, /)
 |      Number of bits necessary to represent self in binary.
 |
 |      >>> bin(37)
 |      '0b100101'
 |      >>> (37).bit_length()
 |      6
 |
 |  conjugate(...)
 |      Returns self, the complex conjugate of any int.
 |
 |  is_integer(self, /)
 |      Returns True. Exists for duck type compatibility with float.is_integer.
 |
 |  to_bytes(self, /, length=1, byteorder='big', *, signed=False)
 |      Return an array of bytes representing an integer.
 |
 |      length
 |        Length of bytes object to use.  An OverflowError is raised if the
 |        integer is not representable with the given number of bytes.  Default
 |        is length 1.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Determines whether two's complement is used to represent the integer.
 |        If signed is False and a negative integer is given, an OverflowError
 |        is raised.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from int:
 |
 |  from_bytes(bytes, byteorder='big', *, signed=False)
 |      Return the integer represented by the given array of bytes.
 |
 |      bytes
 |        Holds the array of bytes to convert.  The argument must either
 |        support the buffer protocol or be an iterable object producing bytes.
 |        Bytes and bytearray are examples of built-in objects that support the
 |        buffer protocol.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Indicates whether two's complement is used to represent the integer.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from int:
 |
 |  denominator
 |      the denominator of a rational number in lowest terms
 |
 |  imag
 |      the imaginary part of a complex number
 |
 |  numerator
 |      the numerator of a rational number in lowest terms
 |
 |  real
 |      the real part of a complex number
psycopg.rows.TupleRow
Python Library Documentation: GenericAlias in module builtins

class tuple(object)
 |  tuple(iterable=(), /)
 |
 |  Built-in immutable sequence.
 |
 |  If no argument is given, the constructor returns an empty tuple.
 |  If iterable is specified the tuple is initialized from iterable's items.
 |
 |  If the argument is a tuple, the return value is the same object.
 |
 |  Built-in subclasses:
 |      asyncgen_hooks
 |      UnraisableHookArgs
 |
 |  Methods defined here:
 |
 |  __add__(self, value, /)
 |      Return self+value.
 |
 |  __contains__(self, key, /)
 |      Return bool(key in self).
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getitem__(self, key, /)
 |      Return self[key].
 |
 |  __getnewargs__(self, /)
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __iter__(self, /)
 |      Implement iter(self).
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __len__(self, /)
 |      Return len(self).
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __mul__(self, value, /)
 |      Return self*value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __rmul__(self, value, /)
 |      Return value*self.
 |
 |  count(self, value, /)
 |      Return number of occurrences of value.
 |
 |  index(self, value, start=0, stop=9223372036854775807, /)
 |      Return first index of value.
 |
 |      Raises ValueError if the value is not present.
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  __class_getitem__(...)
 |      See PEP 585
 |
 |  ----------------------------------------------------------------------
 |  Static methods defined here:
 |
 |  __new__(*args, **kwargs)
 |      Create and return a new object.  See help(type) for accurate signature.
psycopg.rows.TypeAlias
Python Library Documentation: _SpecialForm in module typing

TypeAlias = typing.TypeAlias
    Special form for marking type aliases.

    Use TypeAlias to indicate that an assignment should
    be recognized as a proper type alias definition by type
    checkers.

    For example::

        Predicate: TypeAlias = Callable[..., bool]

    It's invalid when used anywhere except as in the example above.
psycopg.rows.TypeVar
Python Library Documentation: class TypeVar in module typing_extensions

class TypeVar(builtins.object)
 |  TypeVar(name, *constraints, bound=None, covariant=False, contravariant=False, default=typing_extensions.NoDefault, infer_variance=False)
 |
 |  Type variable.
 |
 |  Class methods defined here:
 |
 |  __init_subclass__() -> None
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Static methods defined here:
 |
 |  __new__(cls, name, *constraints, bound=None, covariant=False, contravariant=False, default=typing_extensions.NoDefault, infer_variance=False)
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.rows.annotations
Python Library Documentation: _Feature in module __future__ object

class _Feature(builtins.object)
 |  _Feature(optionalRelease, mandatoryRelease, compiler_flag)
 |
 |  Methods defined here:
 |
 |  __init__(self, optionalRelease, mandatoryRelease, compiler_flag)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __repr__(self)
 |      Return repr(self).
 |
 |  getMandatoryRelease(self)
 |      Return release in which this feature will become mandatory.
 |
 |      This is a 5-tuple, of the same form as sys.version_info, or, if
 |      the feature was dropped, or the release date is undetermined, is None.
 |
 |  getOptionalRelease(self)
 |      Return first release in which this feature was recognized.
 |
 |      This is a 5-tuple, of the same form as sys.version_info.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.rows.args_row
Python Library Documentation: function args_row in module psycopg.rows

args_row(func: 'Callable[..., T]') -> 'BaseRowFactory[T]'
    Generate a row factory calling `!func` with positional parameters for every row.

    :param func: The function to call for each row. It must support the fields
        returned by the query as positional arguments.
psycopg.rows.class_row
Python Library Documentation: function class_row in module psycopg.rows

class_row(cls: 'type[T]') -> 'BaseRowFactory[T]'
    Generate a row factory to represent rows as instances of the class `!cls`.

    The class must support every output column name as a keyword parameter.

    :param cls: The class to return for each row. It must support the fields
        returned by the query as keyword arguments.
    :rtype: `!Callable[[Cursor],` `RowMaker`\[~T]]
psycopg.rows.dict_row
Python Library Documentation: function dict_row in module psycopg.rows

dict_row(cursor: 'BaseCursor[Any, Any]') -> 'RowMaker[DictRow]'
    Row factory to represent rows as dictionaries.

    The dictionary keys are taken from the column names of the returned columns.
psycopg.rows.kwargs_row
Python Library Documentation: function kwargs_row in module psycopg.rows

kwargs_row(func: 'Callable[..., T]') -> 'BaseRowFactory[T]'
    Generate a row factory calling `!func` with keyword parameters for every row.

    :param func: The function to call for each row. It must support the fields
        returned by the query as keyword arguments.
psycopg.rows.namedtuple
Python Library Documentation: function namedtuple in module collections

namedtuple(typename, field_names, *, rename=False, defaults=None, module=None)
    Returns a new subclass of tuple with named fields.

    >>> Point = namedtuple('Point', ['x', 'y'])
    >>> Point.__doc__                   # docstring for the new class
    'Point(x, y)'
    >>> p = Point(11, y=22)             # instantiate with positional args or keywords
    >>> p[0] + p[1]                     # indexable like a plain tuple
    33
    >>> x, y = p                        # unpack like a regular tuple
    >>> x, y
    (11, 22)
    >>> p.x + p.y                       # fields also accessible by name
    33
    >>> d = p._asdict()                 # convert to a dictionary
    >>> d['x']
    11
    >>> Point(**d)                      # convert from a dictionary
    Point(x=11, y=22)
    >>> p._replace(x=100)               # _replace() is like str.replace() but targets named fields
    Point(x=100, y=22)
psycopg.rows.namedtuple_row
Python Library Documentation: function namedtuple_row in module psycopg.rows

namedtuple_row(cursor: 'BaseCursor[Any, Any]') -> 'RowMaker[NamedTuple]'
    Row factory to represent rows as `~collections.namedtuple`.

    The field names are taken from the column names of the returned columns,
    with some mangling to deal with invalid names.
psycopg.rows.no_result
Python Library Documentation: function no_result in module psycopg.rows

no_result(values: 'Sequence[Any]') -> 'NoReturn'
    A `RowMaker` that always fail.

    It can be used as return value for a `RowFactory` called with no result.
    Note that the `!RowFactory` *will* be called with no result, but the
    resulting `!RowMaker` never should.
psycopg.rows.scalar_row
Python Library Documentation: function scalar_row in module psycopg.rows

scalar_row(cursor: 'BaseCursor[Any, Any]') -> 'RowMaker[Any]'
    Generate a row factory returning the first column
    as a scalar value.
psycopg.rows.tuple_row
Python Library Documentation: function tuple_row in module psycopg.rows

tuple_row(cursor: 'BaseCursor[Any, Any]') -> 'RowMaker[TupleRow]'
    Row factory to represent rows as simple tuples.

    This is the default factory, used when `~psycopg.Connection.connect()` or
    `~psycopg.Connection.cursor()` are called without a `!row_factory`
    parameter.
psycopg.types.TypeInfo
Python Library Documentation: class TypeInfo in module psycopg.types

class TypeInfo(builtins.object)
 |  TypeInfo(name: 'str', oid: 'int', array_oid: 'int', *, regtype: 'str' = '', delimiter: 'str' = ',', typemod: 'type[TypeModifier]' = <class 'psycopg._typemod.TypeModifier'>)
 |
 |  Hold information about a PostgreSQL base type.
 |
 |  Methods defined here:
 |
 |  __init__(self, name: 'str', oid: 'int', array_oid: 'int', *, regtype: 'str' = '', delimiter: 'str' = ',', typemod: 'type[TypeModifier]' = <class 'psycopg._typemod.TypeModifier'>) from psycopg._typeinfo.TypeInfo
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __repr__(self) -> 'str' from psycopg._typeinfo.TypeInfo
 |      Return repr(self).
 |
 |  get_display_size(self, fmod: 'int') -> 'int | None' from psycopg._typeinfo.TypeInfo
 |
 |  get_precision(self, fmod: 'int') -> 'int | None' from psycopg._typeinfo.TypeInfo
 |
 |  get_scale(self, fmod: 'int') -> 'int | None' from psycopg._typeinfo.TypeInfo
 |
 |  get_type_display(self, oid: 'int | None' = None, fmod: 'int | None' = None) -> 'str' from psycopg._typeinfo.TypeInfo
 |
 |  register(self, context: 'AdaptContext | None' = None) -> 'None' from psycopg._typeinfo.TypeInfo
 |      Register the type information, globally or in the specified `!context`.
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  fetch(conn: 'BaseConnection[Any]', name: 'str | sql.Identifier') -> 'Any' from psycopg._typeinfo.TypeInfo
 |      Query a system catalog to read information about a type.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.types.TypesRegistry
Python Library Documentation: class TypesRegistry in module psycopg.types

class TypesRegistry(builtins.object)
 |  TypesRegistry(template: 'TypesRegistry | None' = None)
 |
 |  Container for the information about types in a database.
 |
 |  Methods defined here:
 |
 |  __getitem__(self, key: 'RegistryKey') -> 'TypeInfo' from psycopg._typeinfo.TypesRegistry
 |      Return info about a type, specified by name or oid
 |
 |      :param key: the name or oid of the type to look for.
 |
 |      Raise KeyError if not found.
 |
 |  __init__(self, template: 'TypesRegistry | None' = None) from psycopg._typeinfo.TypesRegistry
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __iter__(self) -> 'Iterator[TypeInfo]' from psycopg._typeinfo.TypesRegistry
 |
 |  add(self, info: 'TypeInfo') -> 'None' from psycopg._typeinfo.TypesRegistry
 |
 |  clear(self) -> 'None' from psycopg._typeinfo.TypesRegistry
 |
 |  get(self, key: 'RegistryKey') -> 'TypeInfo | None' from psycopg._typeinfo.TypesRegistry
 |      Return info about a type, specified by name or oid
 |
 |      :param key: the name or oid of the type to look for.
 |
 |      Unlike `__getitem__`, return None if not found.
 |
 |  get_by_subtype(self, cls: 'type[T]', subtype: 'int | str') -> 'T | None' from psycopg._typeinfo.TypesRegistry
 |      Return info about a `TypeInfo` subclass by its element name or oid.
 |
 |      :param cls: the subtype of `!TypeInfo` to look for. Currently
 |          supported are `~psycopg.types.range.RangeInfo` and
 |          `~psycopg.types.multirange.MultirangeInfo`.
 |      :param subtype: The name or OID of the subtype of the element to look for.
 |      :return: The `!TypeInfo` object of class `!cls` whose subtype is
 |          `!subtype`. `!None` if the element or its range are not found.
 |
 |  get_oid(self, name: 'str') -> 'int' from psycopg._typeinfo.TypesRegistry
 |      Return the oid of a PostgreSQL type by name.
 |
 |      :param key: the name of the type to look for.
 |
 |      Return the array oid if the type ends with "``[]``"
 |
 |      Raise KeyError if the name is unknown.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.sql.ABC
Python Library Documentation: class ABC in module abc

class ABC(builtins.object)
 |  Helper class that provides a standard way to create an ABC using
 |  inheritance.
 |
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
psycopg.sql.AdaptContext
Python Library Documentation: class AdaptContext in module psycopg.abc

class AdaptContext(typing.Protocol)
 |  AdaptContext(*args, **kwargs)
 |
 |  A context describing how types are adapted.
 |
 |  Example of `!AdaptContext` are `~psycopg.Connection`, `~psycopg.Cursor`,
 |  `~psycopg.adapt.Transformer`, `~psycopg.adapt.AdaptersMap`.
 |
 |  Note that this is a `~typing.Protocol`, so objects implementing
 |  `!AdaptContext` don't need to explicitly inherit from this class.
 |
 |  Method resolution order:
 |      AdaptContext
 |      typing.Protocol
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __init__ = _no_init_or_replace_init(self, *args, **kwargs) from typing
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  __subclasshook__ = _proto_hook(other) from typing
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties defined here:
 |
 |  adapters
 |      The adapters configuration that this object uses.
 |
 |  connection
 |      The connection used by this object, if available.
 |
 |      :rtype: `~psycopg.Connection` or `~psycopg.AsyncConnection` or `!None`
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __annotations__ = {}
 |
 |  __parameters__ = ()
 |
 |  __protocol_attrs__ = {'adapters', 'connection'}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Protocol:
 |
 |  __init_subclass__(*args, **kwargs)
 |      Function to initialize subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
psycopg.sql.Any
Python Library Documentation: class Any in module typing

class Any(builtins.object)
 |  Any(*args, **kwargs)
 |
 |  Special type indicating an unconstrained type.
 |
 |  - Any is compatible with every type.
 |  - Any assumed to have all methods.
 |  - All values assumed to be instances of Any.
 |
 |  Note that all the above statements are true from the point of view of
 |  static type checkers. At runtime, Any should not be used with instance
 |  checks.
 |
 |  Static methods defined here:
 |
 |  __new__(cls, *args, **kwargs)
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.sql.Composable
Python Library Documentation: class Composable in module psycopg.sql

class Composable(abc.ABC)
 |  Composable(obj: 'Any')
 |
 |  Abstract base class for objects that can be used to compose an SQL string.
 |
 |  `!Composable` objects can be joined using the ``+`` operator: the result
 |  will be a `Composed` instance containing the objects joined. The operator
 |  ``*`` is also supported with an integer argument: the result is a
 |  `!Composed` instance containing the left argument repeated as many times as
 |  requested.
 |
 |  `!SQL` and `!Composed` objects can be passed directly to
 |  `~psycopg.Cursor.execute()`, `~psycopg.Cursor.executemany()`,
 |  `~psycopg.Cursor.copy()` in place of the query string.
 |
 |  Method resolution order:
 |      Composable
 |      abc.ABC
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __add__(self, other: 'Composable') -> 'Composed'
 |
 |  __eq__(self, other: 'Any') -> 'bool'
 |      Return self==value.
 |
 |  __init__(self, obj: 'Any')
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __mul__(self, n: 'int') -> 'Composed'
 |
 |  __ne__(self, other: 'Any') -> 'bool'
 |      Return self!=value.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  as_bytes(self, context: 'AdaptContext | None' = None) -> 'bytes'
 |      Return the value of the object as bytes.
 |
 |      :param context: the context to evaluate the object into.
 |      :type context: `connection` or `cursor`
 |
 |      The method is automatically invoked by `~psycopg.Cursor.execute()`,
 |      `~psycopg.Cursor.executemany()`, `~psycopg.Cursor.copy()` if a
 |      `!Composable` is passed instead of the query string.
 |
 |  as_string(self, context: 'AdaptContext | None' = None) -> 'str'
 |      Return the value of the object as string.
 |
 |      :param context: the context to evaluate the string into.
 |      :type context: `connection` or `cursor`
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset({'as_bytes'})
 |
 |  __hash__ = None
psycopg.sql.Composed
Python Library Documentation: class Composed in module psycopg.sql

class Composed(Composable)
 |  Composed(seq: 'Sequence[Any]')
 |
 |  A `Composable` object made of a sequence of `!Composable`.
 |
 |  The object is usually created using `!Composable` operators and methods
 |  (such as the `SQL.format()` method). `!Composed` objects can be passed
 |  directly to `~psycopg.Cursor.execute()`, `~psycopg.Cursor.executemany()`,
 |  `~psycopg.Cursor.copy()` in place of the query string.
 |
 |  It is also possible to create a `!Composed` directly specifying a sequence
 |  of objects as arguments: if they are not `!Composable` they will be wrapped
 |  in a `Literal`.
 |
 |  Example::
 |
 |      >>> comp = sql.Composed(
 |      ...     [sql.SQL("INSERT INTO "), sql.Identifier("table")])
 |      >>> print(comp.as_string(conn))
 |      INSERT INTO "table"
 |
 |  `!Composed` objects are iterable (so they can be used in `SQL.join` for
 |  instance).
 |
 |  Method resolution order:
 |      Composed
 |      Composable
 |      abc.ABC
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __add__(self, other: 'Composable') -> 'Composed'
 |
 |  __init__(self, seq: 'Sequence[Any]')
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __iter__(self) -> 'Iterator[Composable]'
 |
 |  as_bytes(self, context: 'AdaptContext | None' = None) -> 'bytes'
 |      Return the value of the object as bytes.
 |
 |      :param context: the context to evaluate the object into.
 |      :type context: `connection` or `cursor`
 |
 |      The method is automatically invoked by `~psycopg.Cursor.execute()`,
 |      `~psycopg.Cursor.executemany()`, `~psycopg.Cursor.copy()` if a
 |      `!Composable` is passed instead of the query string.
 |
 |  join(self, joiner: 'SQL | LiteralString') -> 'Composed'
 |      Return a new `!Composed` interposing the `!joiner` with the `!Composed` items.
 |
 |      The `!joiner` must be a `SQL` or a string which will be interpreted as
 |      an `SQL`.
 |
 |      Example::
 |
 |          >>> fields = sql.Identifier('foo') + sql.Identifier('bar')  # a Composed
 |          >>> print(fields.join(', ').as_string(conn))
 |          "foo", "bar"
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __annotations__ = {'_obj': 'list[Composable]'}
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Composable:
 |
 |  __eq__(self, other: 'Any') -> 'bool'
 |      Return self==value.
 |
 |  __mul__(self, n: 'int') -> 'Composed'
 |
 |  __ne__(self, other: 'Any') -> 'bool'
 |      Return self!=value.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  as_string(self, context: 'AdaptContext | None' = None) -> 'str'
 |      Return the value of the object as string.
 |
 |      :param context: the context to evaluate the string into.
 |      :type context: `connection` or `cursor`
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Composable:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Composable:
 |
 |  __hash__ = None
psycopg.sql.DEFAULT
Python Library Documentation: SQL in module psycopg.sql object

class SQL(Composable)
 |  SQL(obj: 'LiteralString')
 |
 |  A `Composable` representing a snippet of SQL statement.
 |
 |  `!SQL` exposes `join()` and `format()` methods useful to create a template
 |  where to merge variable parts of a query (for instance field or table
 |  names).
 |
 |  The `!obj` string doesn't undergo any form of escaping, so it is not
 |  suitable to represent variable identifiers or values: you should only use
 |  it to pass constant strings representing templates or snippets of SQL
 |  statements; use other objects such as `Identifier` or `Literal` to
 |  represent variable parts.
 |
 |  `!SQL` objects can be passed directly to `~psycopg.Cursor.execute()`,
 |  `~psycopg.Cursor.executemany()`, `~psycopg.Cursor.copy()` in place of the
 |  query string.
 |
 |  Example::
 |
 |      >>> query = sql.SQL("SELECT {0} FROM {1}").format(
 |      ...    sql.SQL(', ').join([sql.Identifier('foo'), sql.Identifier('bar')]),
 |      ...    sql.Identifier('table'))
 |      >>> print(query.as_string(conn))
 |      SELECT "foo", "bar" FROM "table"
 |
 |  Method resolution order:
 |      SQL
 |      Composable
 |      abc.ABC
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __init__(self, obj: 'LiteralString')
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  as_bytes(self, context: 'AdaptContext | None' = None) -> 'bytes'
 |      Return the value of the object as bytes.
 |
 |      :param context: the context to evaluate the object into.
 |      :type context: `connection` or `cursor`
 |
 |      The method is automatically invoked by `~psycopg.Cursor.execute()`,
 |      `~psycopg.Cursor.executemany()`, `~psycopg.Cursor.copy()` if a
 |      `!Composable` is passed instead of the query string.
 |
 |  as_string(self, context: 'AdaptContext | None' = None) -> 'str'
 |      Return the value of the object as string.
 |
 |      :param context: the context to evaluate the string into.
 |      :type context: `connection` or `cursor`
 |
 |  format(self, *args: 'Any', **kwargs: 'Any') -> 'Composed'
 |      Merge `Composable` objects into a template.
 |
 |      :param args: parameters to replace to numbered (``{0}``, ``{1}``) or
 |          auto-numbered (``{}``) placeholders
 |      :param kwargs: parameters to replace to named (``{name}``) placeholders
 |      :return: the union of the `!SQL` string with placeholders replaced
 |      :rtype: `Composed`
 |
 |      The method is similar to the Python `str.format()` method: the string
 |      template supports auto-numbered (``{}``), numbered (``{0}``,
 |      ``{1}``...), and named placeholders (``{name}``), with positional
 |      arguments replacing the numbered placeholders and keywords replacing
 |      the named ones. However placeholder modifiers (``{0!r}``, ``{0:<10}``)
 |      are not supported.
 |
 |      If a `!Composable` objects is passed to the template it will be merged
 |      according to its `as_string()` method. If any other Python object is
 |      passed, it will be wrapped in a `Literal` object and so escaped
 |      according to SQL rules.
 |
 |      Example::
 |
 |          >>> print(sql.SQL("SELECT * FROM {} WHERE {} = %s")
 |          ...     .format(sql.Identifier('people'), sql.Identifier('id'))
 |          ...     .as_string(conn))
 |          SELECT * FROM "people" WHERE "id" = %s
 |
 |          >>> print(sql.SQL("SELECT * FROM {tbl} WHERE name = {name}")
 |          ...     .format(tbl=sql.Identifier('people'), name="O'Rourke"))
 |          ...     .as_string(conn))
 |          SELECT * FROM "people" WHERE name = 'O''Rourke'
 |
 |  join(self, seq: 'Iterable[Any]') -> 'Composed | Template'
 |      Join a sequence of `Composable`.
 |
 |      :param seq: the elements to join.
 |
 |      Use the `!SQL` object's string to separate the elements in `!seq`.
 |      Elements that are not `Composable` will be considered `Literal`.
 |
 |      If the arguments are `Template` instance, return a `Template` joining
 |      all the items. Note that arguments must either be all templates or
 |      none should be.
 |
 |      Note that `Composed` objects are iterable too, so they can be used as
 |      argument for this method.
 |
 |      Example::
 |
 |          >>> snip = sql.SQL(', ').join(
 |          ...     sql.Identifier(n) for n in ['foo', 'bar', 'baz'])
 |          >>> print(snip.as_string(conn))
 |          "foo", "bar", "baz"
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __annotations__ = {'_obj': 'LiteralString'}
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Composable:
 |
 |  __add__(self, other: 'Composable') -> 'Composed'
 |
 |  __eq__(self, other: 'Any') -> 'bool'
 |      Return self==value.
 |
 |  __mul__(self, n: 'int') -> 'Composed'
 |
 |  __ne__(self, other: 'Any') -> 'bool'
 |      Return self!=value.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Composable:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Composable:
 |
 |  __hash__ = None
psycopg.sql.Escaping
Python Library Documentation: class Escaping in module psycopg_binary.pq

class Escaping(builtins.object)
 |  Methods defined here:
 |
 |  __init__(self, /, *args, **kwargs)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__ = __reduce_cython__(...)
 |
 |  __reduce_cython__(self)
 |
 |  __setstate__ = __setstate_cython__(...)
 |
 |  __setstate_cython__(self, __pyx_state)
 |
 |  escape_bytea(self, data)
 |
 |  escape_identifier(self, data)
 |
 |  escape_literal(self, data)
 |
 |  escape_string(self, data)
 |
 |  unescape_bytea(self, data)
 |
 |  ----------------------------------------------------------------------
 |  Static methods defined here:
 |
 |  __new__(*args, **kwargs)
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __pyx_vtable__ = <capsule object NULL>
psycopg.sql.Identifier
Python Library Documentation: class Identifier in module psycopg.sql

class Identifier(Composable)
 |  Identifier(*strings: 'str')
 |
 |  A `Composable` representing an SQL identifier or a dot-separated sequence.
 |
 |  Identifiers usually represent names of database objects, such as tables or
 |  fields. PostgreSQL identifiers follow `different rules`__ than SQL string
 |  literals for escaping (e.g. they use double quotes instead of single).
 |
 |  .. __: https://www.postgresql.org/docs/current/sql-syntax-lexical.html#         SQL-SYNTAX-IDENTIFIERS
 |
 |  Example::
 |
 |      >>> t1 = sql.Identifier("foo")
 |      >>> t2 = sql.Identifier("ba'r")
 |      >>> t3 = sql.Identifier('ba"z')
 |      >>> print(sql.SQL(', ').join([t1, t2, t3]).as_string(conn))
 |      "foo", "ba'r", "ba""z"
 |
 |  Multiple strings can be passed to the object to represent a qualified name,
 |  i.e. a dot-separated sequence of identifiers.
 |
 |  Example::
 |
 |      >>> query = sql.SQL("SELECT {} FROM {}").format(
 |      ...     sql.Identifier("table", "field"),
 |      ...     sql.Identifier("schema", "table"))
 |      >>> print(query.as_string(conn))
 |      SELECT "table"."field" FROM "schema"."table"
 |
 |  Method resolution order:
 |      Identifier
 |      Composable
 |      abc.ABC
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __init__(self, *strings: 'str')
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  as_bytes(self, context: 'AdaptContext | None' = None) -> 'bytes'
 |      Return the value of the object as bytes.
 |
 |      :param context: the context to evaluate the object into.
 |      :type context: `connection` or `cursor`
 |
 |      The method is automatically invoked by `~psycopg.Cursor.execute()`,
 |      `~psycopg.Cursor.executemany()`, `~psycopg.Cursor.copy()` if a
 |      `!Composable` is passed instead of the query string.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __annotations__ = {'_obj': 'Sequence[str]'}
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Composable:
 |
 |  __add__(self, other: 'Composable') -> 'Composed'
 |
 |  __eq__(self, other: 'Any') -> 'bool'
 |      Return self==value.
 |
 |  __mul__(self, n: 'int') -> 'Composed'
 |
 |  __ne__(self, other: 'Any') -> 'bool'
 |      Return self!=value.
 |
 |  as_string(self, context: 'AdaptContext | None' = None) -> 'str'
 |      Return the value of the object as string.
 |
 |      :param context: the context to evaluate the string into.
 |      :type context: `connection` or `cursor`
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Composable:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Composable:
 |
 |  __hash__ = None
psycopg.sql.Iterable
Python Library Documentation: class Iterable in module collections.abc

class Iterable(builtins.object)
 |  Methods defined here:
 |
 |  __iter__(self)
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  __class_getitem__ = GenericAlias(...)
 |      Represent a PEP 585 generic type
 |
 |      E.g. for t = list[int], t.__origin__ is list and t.__args__ is (int,).
 |
 |  __subclasshook__(C)
 |      Abstract classes can override this to customize issubclass().
 |
 |      This is invoked early on by abc.ABCMeta.__subclasscheck__().
 |      It should return True, False or NotImplemented.  If it returns
 |      NotImplemented, the normal algorithm is used.  Otherwise, it
 |      overrides the normal algorithm (and the outcome is cached).
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset({'__iter__'})
psycopg.sql.Iterator
Python Library Documentation: class Iterator in module collections.abc

class Iterator(Iterable)
 |  Method resolution order:
 |      Iterator
 |      Iterable
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __iter__(self)
 |
 |  __next__(self)
 |      Return the next item from the iterator. When exhausted, raise StopIteration
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  __subclasshook__(C)
 |      Abstract classes can override this to customize issubclass().
 |
 |      This is invoked early on by abc.ABCMeta.__subclasscheck__().
 |      It should return True, False or NotImplemented.  If it returns
 |      NotImplemented, the normal algorithm is used.  Otherwise, it
 |      overrides the normal algorithm (and the outcome is cached).
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset({'__next__'})
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from Iterable:
 |
 |  __class_getitem__ = GenericAlias(...)
 |      Represent a PEP 585 generic type
 |
 |      E.g. for t = list[int], t.__origin__ is list and t.__args__ is (int,).
psycopg.sql.Literal
Python Library Documentation: class Literal in module psycopg.sql

class Literal(Composable)
 |  Literal(obj: 'Any')
 |
 |  A `Composable` representing an SQL value to include in a query.
 |
 |  Usually you will want to include placeholders in the query and pass values
 |  as `~cursor.execute()` arguments. If however you really really need to
 |  include a literal value in the query you can use this object.
 |
 |  The string returned by `!as_string()` follows the normal :ref:`adaptation
 |  rules <types-adaptation>` for Python objects.
 |
 |  Example::
 |
 |      >>> s1 = sql.Literal("fo'o")
 |      >>> s2 = sql.Literal(42)
 |      >>> s3 = sql.Literal(date(2000, 1, 1))
 |      >>> print(sql.SQL(', ').join([s1, s2, s3]).as_string(conn))
 |      'fo''o', 42, '2000-01-01'::date
 |
 |  Method resolution order:
 |      Literal
 |      Composable
 |      abc.ABC
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  as_bytes(self, context: 'AdaptContext | None' = None) -> 'bytes'
 |      Return the value of the object as bytes.
 |
 |      :param context: the context to evaluate the object into.
 |      :type context: `connection` or `cursor`
 |
 |      The method is automatically invoked by `~psycopg.Cursor.execute()`,
 |      `~psycopg.Cursor.executemany()`, `~psycopg.Cursor.copy()` if a
 |      `!Composable` is passed instead of the query string.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Composable:
 |
 |  __add__(self, other: 'Composable') -> 'Composed'
 |
 |  __eq__(self, other: 'Any') -> 'bool'
 |      Return self==value.
 |
 |  __init__(self, obj: 'Any')
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __mul__(self, n: 'int') -> 'Composed'
 |
 |  __ne__(self, other: 'Any') -> 'bool'
 |      Return self!=value.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  as_string(self, context: 'AdaptContext | None' = None) -> 'str'
 |      Return the value of the object as string.
 |
 |      :param context: the context to evaluate the string into.
 |      :type context: `connection` or `cursor`
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Composable:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Composable:
 |
 |  __hash__ = None
psycopg.sql.LiteralString
Python Library Documentation: _SpecialForm in module typing

LiteralString = typing.LiteralString
    Represents an arbitrary literal string.

    Example::

        from typing import LiteralString

        def run_query(sql: LiteralString) -> None:
            ...

        def caller(arbitrary_string: str, literal_string: LiteralString) -> None:
            run_query("SELECT * FROM students")  # OK
            run_query(literal_string)  # OK
            run_query("SELECT * FROM " + literal_string)  # OK
            run_query(arbitrary_string)  # type checker error
            run_query(  # type checker error
                f"SELECT * FROM students WHERE name = {arbitrary_string}"
            )

    Only string literals and other LiteralStrings are compatible
    with LiteralString. This provides a tool to help prevent
    security issues such as SQL injection.
psycopg.sql.NULL
Python Library Documentation: SQL in module psycopg.sql object

class SQL(Composable)
 |  SQL(obj: 'LiteralString')
 |
 |  A `Composable` representing a snippet of SQL statement.
 |
 |  `!SQL` exposes `join()` and `format()` methods useful to create a template
 |  where to merge variable parts of a query (for instance field or table
 |  names).
 |
 |  The `!obj` string doesn't undergo any form of escaping, so it is not
 |  suitable to represent variable identifiers or values: you should only use
 |  it to pass constant strings representing templates or snippets of SQL
 |  statements; use other objects such as `Identifier` or `Literal` to
 |  represent variable parts.
 |
 |  `!SQL` objects can be passed directly to `~psycopg.Cursor.execute()`,
 |  `~psycopg.Cursor.executemany()`, `~psycopg.Cursor.copy()` in place of the
 |  query string.
 |
 |  Example::
 |
 |      >>> query = sql.SQL("SELECT {0} FROM {1}").format(
 |      ...    sql.SQL(', ').join([sql.Identifier('foo'), sql.Identifier('bar')]),
 |      ...    sql.Identifier('table'))
 |      >>> print(query.as_string(conn))
 |      SELECT "foo", "bar" FROM "table"
 |
 |  Method resolution order:
 |      SQL
 |      Composable
 |      abc.ABC
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __init__(self, obj: 'LiteralString')
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  as_bytes(self, context: 'AdaptContext | None' = None) -> 'bytes'
 |      Return the value of the object as bytes.
 |
 |      :param context: the context to evaluate the object into.
 |      :type context: `connection` or `cursor`
 |
 |      The method is automatically invoked by `~psycopg.Cursor.execute()`,
 |      `~psycopg.Cursor.executemany()`, `~psycopg.Cursor.copy()` if a
 |      `!Composable` is passed instead of the query string.
 |
 |  as_string(self, context: 'AdaptContext | None' = None) -> 'str'
 |      Return the value of the object as string.
 |
 |      :param context: the context to evaluate the string into.
 |      :type context: `connection` or `cursor`
 |
 |  format(self, *args: 'Any', **kwargs: 'Any') -> 'Composed'
 |      Merge `Composable` objects into a template.
 |
 |      :param args: parameters to replace to numbered (``{0}``, ``{1}``) or
 |          auto-numbered (``{}``) placeholders
 |      :param kwargs: parameters to replace to named (``{name}``) placeholders
 |      :return: the union of the `!SQL` string with placeholders replaced
 |      :rtype: `Composed`
 |
 |      The method is similar to the Python `str.format()` method: the string
 |      template supports auto-numbered (``{}``), numbered (``{0}``,
 |      ``{1}``...), and named placeholders (``{name}``), with positional
 |      arguments replacing the numbered placeholders and keywords replacing
 |      the named ones. However placeholder modifiers (``{0!r}``, ``{0:<10}``)
 |      are not supported.
 |
 |      If a `!Composable` objects is passed to the template it will be merged
 |      according to its `as_string()` method. If any other Python object is
 |      passed, it will be wrapped in a `Literal` object and so escaped
 |      according to SQL rules.
 |
 |      Example::
 |
 |          >>> print(sql.SQL("SELECT * FROM {} WHERE {} = %s")
 |          ...     .format(sql.Identifier('people'), sql.Identifier('id'))
 |          ...     .as_string(conn))
 |          SELECT * FROM "people" WHERE "id" = %s
 |
 |          >>> print(sql.SQL("SELECT * FROM {tbl} WHERE name = {name}")
 |          ...     .format(tbl=sql.Identifier('people'), name="O'Rourke"))
 |          ...     .as_string(conn))
 |          SELECT * FROM "people" WHERE name = 'O''Rourke'
 |
 |  join(self, seq: 'Iterable[Any]') -> 'Composed | Template'
 |      Join a sequence of `Composable`.
 |
 |      :param seq: the elements to join.
 |
 |      Use the `!SQL` object's string to separate the elements in `!seq`.
 |      Elements that are not `Composable` will be considered `Literal`.
 |
 |      If the arguments are `Template` instance, return a `Template` joining
 |      all the items. Note that arguments must either be all templates or
 |      none should be.
 |
 |      Note that `Composed` objects are iterable too, so they can be used as
 |      argument for this method.
 |
 |      Example::
 |
 |          >>> snip = sql.SQL(', ').join(
 |          ...     sql.Identifier(n) for n in ['foo', 'bar', 'baz'])
 |          >>> print(snip.as_string(conn))
 |          "foo", "bar", "baz"
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __annotations__ = {'_obj': 'LiteralString'}
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Composable:
 |
 |  __add__(self, other: 'Composable') -> 'Composed'
 |
 |  __eq__(self, other: 'Any') -> 'bool'
 |      Return self==value.
 |
 |  __mul__(self, n: 'int') -> 'Composed'
 |
 |  __ne__(self, other: 'Any') -> 'bool'
 |      Return self!=value.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Composable:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Composable:
 |
 |  __hash__ = None
psycopg.sql.Placeholder
Python Library Documentation: class Placeholder in module psycopg.sql

class Placeholder(Composable)
 |  Placeholder(name: 'str' = '', format: 'str | PyFormat' = <PyFormat.AUTO: 's'>)
 |
 |  A `Composable` representing a placeholder for query parameters.
 |
 |  If the name is specified, generate a named placeholder (e.g. ``%(name)s``,
 |  ``%(name)b``), otherwise generate a positional placeholder (e.g. ``%s``,
 |  ``%b``).
 |
 |  The object is useful to generate SQL queries with a variable number of
 |  arguments.
 |
 |  Examples::
 |
 |      >>> names = ['foo', 'bar', 'baz']
 |
 |      >>> q1 = sql.SQL("INSERT INTO my_table ({}) VALUES ({})").format(
 |      ...     sql.SQL(', ').join(map(sql.Identifier, names)),
 |      ...     sql.SQL(', ').join(sql.Placeholder() * len(names)))
 |      >>> print(q1.as_string(conn))
 |      INSERT INTO my_table ("foo", "bar", "baz") VALUES (%s, %s, %s)
 |
 |      >>> q2 = sql.SQL("INSERT INTO my_table ({}) VALUES ({})").format(
 |      ...     sql.SQL(', ').join(map(sql.Identifier, names)),
 |      ...     sql.SQL(', ').join(map(sql.Placeholder, names)))
 |      >>> print(q2.as_string(conn))
 |      INSERT INTO my_table ("foo", "bar", "baz") VALUES (%(foo)s, %(bar)s, %(baz)s)
 |
 |  Method resolution order:
 |      Placeholder
 |      Composable
 |      abc.ABC
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __init__(self, name: 'str' = '', format: 'str | PyFormat' = <PyFormat.AUTO: 's'>)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  as_bytes(self, context: 'AdaptContext | None' = None) -> 'bytes'
 |      Return the value of the object as bytes.
 |
 |      :param context: the context to evaluate the object into.
 |      :type context: `connection` or `cursor`
 |
 |      The method is automatically invoked by `~psycopg.Cursor.execute()`,
 |      `~psycopg.Cursor.executemany()`, `~psycopg.Cursor.copy()` if a
 |      `!Composable` is passed instead of the query string.
 |
 |  as_string(self, context: 'AdaptContext | None' = None) -> 'str'
 |      Return the value of the object as string.
 |
 |      :param context: the context to evaluate the string into.
 |      :type context: `connection` or `cursor`
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Composable:
 |
 |  __add__(self, other: 'Composable') -> 'Composed'
 |
 |  __eq__(self, other: 'Any') -> 'bool'
 |      Return self==value.
 |
 |  __mul__(self, n: 'int') -> 'Composed'
 |
 |  __ne__(self, other: 'Any') -> 'bool'
 |      Return self!=value.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Composable:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Composable:
 |
 |  __hash__ = None
psycopg.sql.PyFormat
Python Library Documentation: class PyFormat in module psycopg.adapt

class PyFormat(builtins.str, enum.Enum)
 |  PyFormat(*values)
 |
 |  Enum representing the format wanted for a query argument.
 |
 |  The value `AUTO` allows psycopg to choose the best format for a certain
 |  parameter.
 |
 |  Method resolution order:
 |      PyFormat
 |      builtins.str
 |      enum.Enum
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __format__(self, format_spec) from enum.Enum
 |      Default object formatter.
 |
 |      Return str(self) if format_spec is empty. Raise TypeError otherwise.
 |
 |  __new__(cls, value) from enum.Enum
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  __repr__(self) from enum.Enum
 |      Return repr(self).
 |
 |  __str__(self) from enum.Enum
 |      Return str(self).
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  AUTO = <PyFormat.AUTO: 's'>
 |
 |  BINARY = <PyFormat.BINARY: 'b'>
 |
 |  TEXT = <PyFormat.TEXT: 't'>
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.str:
 |
 |  __add__(self, value, /)
 |      Return self+value.
 |
 |  __contains__(self, key, /)
 |      Return bool(key in self).
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getitem__(self, key, /)
 |      Return self[key].
 |
 |  __getnewargs__(...)
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __iter__(self, /)
 |      Implement iter(self).
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __len__(self, /)
 |      Return len(self).
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __mod__(self, value, /)
 |      Return self%value.
 |
 |  __mul__(self, value, /)
 |      Return self*value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __rmod__(self, value, /)
 |      Return value%self.
 |
 |  __rmul__(self, value, /)
 |      Return value*self.
 |
 |  __sizeof__(self, /)
 |      Return the size of the string in memory, in bytes.
 |
 |  capitalize(self, /)
 |      Return a capitalized version of the string.
 |
 |      More specifically, make the first character have upper case and the rest lower
 |      case.
 |
 |  casefold(self, /)
 |      Return a version of the string suitable for caseless comparisons.
 |
 |  center(self, width, fillchar=' ', /)
 |      Return a centered string of length width.
 |
 |      Padding is done using the specified fill character (default is a space).
 |
 |  count(...)
 |      S.count(sub[, start[, end]]) -> int
 |
 |      Return the number of non-overlapping occurrences of substring sub in
 |      string S[start:end].  Optional arguments start and end are
 |      interpreted as in slice notation.
 |
 |  encode(self, /, encoding='utf-8', errors='strict')
 |      Encode the string using the codec registered for encoding.
 |
 |      encoding
 |        The encoding in which to encode the string.
 |      errors
 |        The error handling scheme to use for encoding errors.
 |        The default is 'strict' meaning that encoding errors raise a
 |        UnicodeEncodeError.  Other possible values are 'ignore', 'replace' and
 |        'xmlcharrefreplace' as well as any other name registered with
 |        codecs.register_error that can handle UnicodeEncodeErrors.
 |
 |  endswith(...)
 |      S.endswith(suffix[, start[, end]]) -> bool
 |
 |      Return True if S ends with the specified suffix, False otherwise.
 |      With optional start, test S beginning at that position.
 |      With optional end, stop comparing S at that position.
 |      suffix can also be a tuple of strings to try.
 |
 |  expandtabs(self, /, tabsize=8)
 |      Return a copy where all tab characters are expanded using spaces.
 |
 |      If tabsize is not given, a tab size of 8 characters is assumed.
 |
 |  find(...)
 |      S.find(sub[, start[, end]]) -> int
 |
 |      Return the lowest index in S where substring sub is found,
 |      such that sub is contained within S[start:end].  Optional
 |      arguments start and end are interpreted as in slice notation.
 |
 |      Return -1 on failure.
 |
 |  format(...)
 |      S.format(*args, **kwargs) -> str
 |
 |      Return a formatted version of S, using substitutions from args and kwargs.
 |      The substitutions are identified by braces ('{' and '}').
 |
 |  format_map(...)
 |      S.format_map(mapping) -> str
 |
 |      Return a formatted version of S, using substitutions from mapping.
 |      The substitutions are identified by braces ('{' and '}').
 |
 |  index(...)
 |      S.index(sub[, start[, end]]) -> int
 |
 |      Return the lowest index in S where substring sub is found,
 |      such that sub is contained within S[start:end].  Optional
 |      arguments start and end are interpreted as in slice notation.
 |
 |      Raises ValueError when the substring is not found.
 |
 |  isalnum(self, /)
 |      Return True if the string is an alpha-numeric string, False otherwise.
 |
 |      A string is alpha-numeric if all characters in the string are alpha-numeric and
 |      there is at least one character in the string.
 |
 |  isalpha(self, /)
 |      Return True if the string is an alphabetic string, False otherwise.
 |
 |      A string is alphabetic if all characters in the string are alphabetic and there
 |      is at least one character in the string.
 |
 |  isascii(self, /)
 |      Return True if all characters in the string are ASCII, False otherwise.
 |
 |      ASCII characters have code points in the range U+0000-U+007F.
 |      Empty string is ASCII too.
 |
 |  isdecimal(self, /)
 |      Return True if the string is a decimal string, False otherwise.
 |
 |      A string is a decimal string if all characters in the string are decimal and
 |      there is at least one character in the string.
 |
 |  isdigit(self, /)
 |      Return True if the string is a digit string, False otherwise.
 |
 |      A string is a digit string if all characters in the string are digits and there
 |      is at least one character in the string.
 |
 |  isidentifier(self, /)
 |      Return True if the string is a valid Python identifier, False otherwise.
 |
 |      Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
 |      such as "def" or "class".
 |
 |  islower(self, /)
 |      Return True if the string is a lowercase string, False otherwise.
 |
 |      A string is lowercase if all cased characters in the string are lowercase and
 |      there is at least one cased character in the string.
 |
 |  isnumeric(self, /)
 |      Return True if the string is a numeric string, False otherwise.
 |
 |      A string is numeric if all characters in the string are numeric and there is at
 |      least one character in the string.
 |
 |  isprintable(self, /)
 |      Return True if the string is printable, False otherwise.
 |
 |      A string is printable if all of its characters are considered printable in
 |      repr() or if it is empty.
 |
 |  isspace(self, /)
 |      Return True if the string is a whitespace string, False otherwise.
 |
 |      A string is whitespace if all characters in the string are whitespace and there
 |      is at least one character in the string.
 |
 |  istitle(self, /)
 |      Return True if the string is a title-cased string, False otherwise.
 |
 |      In a title-cased string, upper- and title-case characters may only
 |      follow uncased characters and lowercase characters only cased ones.
 |
 |  isupper(self, /)
 |      Return True if the string is an uppercase string, False otherwise.
 |
 |      A string is uppercase if all cased characters in the string are uppercase and
 |      there is at least one cased character in the string.
 |
 |  join(self, iterable, /)
 |      Concatenate any number of strings.
 |
 |      The string whose method is called is inserted in between each given string.
 |      The result is returned as a new string.
 |
 |      Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
 |
 |  ljust(self, width, fillchar=' ', /)
 |      Return a left-justified string of length width.
 |
 |      Padding is done using the specified fill character (default is a space).
 |
 |  lower(self, /)
 |      Return a copy of the string converted to lowercase.
 |
 |  lstrip(self, chars=None, /)
 |      Return a copy of the string with leading whitespace removed.
 |
 |      If chars is given and not None, remove characters in chars instead.
 |
 |  partition(self, sep, /)
 |      Partition the string into three parts using the given separator.
 |
 |      This will search for the separator in the string.  If the separator is found,
 |      returns a 3-tuple containing the part before the separator, the separator
 |      itself, and the part after it.
 |
 |      If the separator is not found, returns a 3-tuple containing the original string
 |      and two empty strings.
 |
 |  removeprefix(self, prefix, /)
 |      Return a str with the given prefix string removed if present.
 |
 |      If the string starts with the prefix string, return string[len(prefix):].
 |      Otherwise, return a copy of the original string.
 |
 |  removesuffix(self, suffix, /)
 |      Return a str with the given suffix string removed if present.
 |
 |      If the string ends with the suffix string and that suffix is not empty,
 |      return string[:-len(suffix)]. Otherwise, return a copy of the original
 |      string.
 |
 |  replace(self, old, new, count=-1, /)
 |      Return a copy with all occurrences of substring old replaced by new.
 |
 |        count
 |          Maximum number of occurrences to replace.
 |          -1 (the default value) means replace all occurrences.
 |
 |      If the optional argument count is given, only the first count occurrences are
 |      replaced.
 |
 |  rfind(...)
 |      S.rfind(sub[, start[, end]]) -> int
 |
 |      Return the highest index in S where substring sub is found,
 |      such that sub is contained within S[start:end].  Optional
 |      arguments start and end are interpreted as in slice notation.
 |
 |      Return -1 on failure.
 |
 |  rindex(...)
 |      S.rindex(sub[, start[, end]]) -> int
 |
 |      Return the highest index in S where substring sub is found,
 |      such that sub is contained within S[start:end].  Optional
 |      arguments start and end are interpreted as in slice notation.
 |
 |      Raises ValueError when the substring is not found.
 |
 |  rjust(self, width, fillchar=' ', /)
 |      Return a right-justified string of length width.
 |
 |      Padding is done using the specified fill character (default is a space).
 |
 |  rpartition(self, sep, /)
 |      Partition the string into three parts using the given separator.
 |
 |      This will search for the separator in the string, starting at the end. If
 |      the separator is found, returns a 3-tuple containing the part before the
 |      separator, the separator itself, and the part after it.
 |
 |      If the separator is not found, returns a 3-tuple containing two empty strings
 |      and the original string.
 |
 |  rsplit(self, /, sep=None, maxsplit=-1)
 |      Return a list of the substrings in the string, using sep as the separator string.
 |
 |        sep
 |          The separator used to split the string.
 |
 |          When set to None (the default value), will split on any whitespace
 |          character (including \n \r \t \f and spaces) and will discard
 |          empty strings from the result.
 |        maxsplit
 |          Maximum number of splits.
 |          -1 (the default value) means no limit.
 |
 |      Splitting starts at the end of the string and works to the front.
 |
 |  rstrip(self, chars=None, /)
 |      Return a copy of the string with trailing whitespace removed.
 |
 |      If chars is given and not None, remove characters in chars instead.
 |
 |  split(self, /, sep=None, maxsplit=-1)
 |      Return a list of the substrings in the string, using sep as the separator string.
 |
 |        sep
 |          The separator used to split the string.
 |
 |          When set to None (the default value), will split on any whitespace
 |          character (including \n \r \t \f and spaces) and will discard
 |          empty strings from the result.
 |        maxsplit
 |          Maximum number of splits.
 |          -1 (the default value) means no limit.
 |
 |      Splitting starts at the front of the string and works to the end.
 |
 |      Note, str.split() is mainly useful for data that has been intentionally
 |      delimited.  With natural text that includes punctuation, consider using
 |      the regular expression module.
 |
 |  splitlines(self, /, keepends=False)
 |      Return a list of the lines in the string, breaking at line boundaries.
 |
 |      Line breaks are not included in the resulting list unless keepends is given and
 |      true.
 |
 |  startswith(...)
 |      S.startswith(prefix[, start[, end]]) -> bool
 |
 |      Return True if S starts with the specified prefix, False otherwise.
 |      With optional start, test S beginning at that position.
 |      With optional end, stop comparing S at that position.
 |      prefix can also be a tuple of strings to try.
 |
 |  strip(self, chars=None, /)
 |      Return a copy of the string with leading and trailing whitespace removed.
 |
 |      If chars is given and not None, remove characters in chars instead.
 |
 |  swapcase(self, /)
 |      Convert uppercase characters to lowercase and lowercase characters to uppercase.
 |
 |  title(self, /)
 |      Return a version of the string where each word is titlecased.
 |
 |      More specifically, words start with uppercased characters and all remaining
 |      cased characters have lower case.
 |
 |  translate(self, table, /)
 |      Replace each character in the string using the given translation table.
 |
 |        table
 |          Translation table, which must be a mapping of Unicode ordinals to
 |          Unicode ordinals, strings, or None.
 |
 |      The table must implement lookup/indexing via __getitem__, for instance a
 |      dictionary or list.  If this operation raises LookupError, the character is
 |      left untouched.  Characters mapped to None are deleted.
 |
 |  upper(self, /)
 |      Return a copy of the string converted to uppercase.
 |
 |  zfill(self, width, /)
 |      Pad a numeric string with zeros on the left, to fill a field of the given width.
 |
 |      The string is never truncated.
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.str:
 |
 |  maketrans(...)
 |      Return a translation table usable for str.translate().
 |
 |      If there is only one argument, it must be a dictionary mapping Unicode
 |      ordinals (integers) or characters to Unicode ordinals, strings or None.
 |      Character keys will be then converted to ordinals.
 |      If there are two arguments, they must be strings of equal length, and
 |      in the resulting dictionary, each character in x will be mapped to the
 |      character at the same position in y. If there is a third argument, it
 |      must be a string, whose characters will be mapped to None in the result.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.Enum:
 |
 |  __dir__(self)
 |      Returns public methods and other interesting attributes.
 |
 |  __init__(self, *args, **kwds)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce_ex__(self, proto)
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from enum.Enum:
 |
 |  name
 |      The name of the Enum member.
 |
 |  value
 |      The value of the Enum member.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from enum.EnumType:
 |
 |  __members__
 |      Returns a mapping of member name->value.
 |
 |      This mapping lists all enum members, including aliases. Note that this
 |      is a read-only view of the internal mapping.
psycopg.sql.SQL
Python Library Documentation: class SQL in module psycopg.sql

class SQL(Composable)
 |  SQL(obj: 'LiteralString')
 |
 |  A `Composable` representing a snippet of SQL statement.
 |
 |  `!SQL` exposes `join()` and `format()` methods useful to create a template
 |  where to merge variable parts of a query (for instance field or table
 |  names).
 |
 |  The `!obj` string doesn't undergo any form of escaping, so it is not
 |  suitable to represent variable identifiers or values: you should only use
 |  it to pass constant strings representing templates or snippets of SQL
 |  statements; use other objects such as `Identifier` or `Literal` to
 |  represent variable parts.
 |
 |  `!SQL` objects can be passed directly to `~psycopg.Cursor.execute()`,
 |  `~psycopg.Cursor.executemany()`, `~psycopg.Cursor.copy()` in place of the
 |  query string.
 |
 |  Example::
 |
 |      >>> query = sql.SQL("SELECT {0} FROM {1}").format(
 |      ...    sql.SQL(', ').join([sql.Identifier('foo'), sql.Identifier('bar')]),
 |      ...    sql.Identifier('table'))
 |      >>> print(query.as_string(conn))
 |      SELECT "foo", "bar" FROM "table"
 |
 |  Method resolution order:
 |      SQL
 |      Composable
 |      abc.ABC
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __init__(self, obj: 'LiteralString')
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  as_bytes(self, context: 'AdaptContext | None' = None) -> 'bytes'
 |      Return the value of the object as bytes.
 |
 |      :param context: the context to evaluate the object into.
 |      :type context: `connection` or `cursor`
 |
 |      The method is automatically invoked by `~psycopg.Cursor.execute()`,
 |      `~psycopg.Cursor.executemany()`, `~psycopg.Cursor.copy()` if a
 |      `!Composable` is passed instead of the query string.
 |
 |  as_string(self, context: 'AdaptContext | None' = None) -> 'str'
 |      Return the value of the object as string.
 |
 |      :param context: the context to evaluate the string into.
 |      :type context: `connection` or `cursor`
 |
 |  format(self, *args: 'Any', **kwargs: 'Any') -> 'Composed'
 |      Merge `Composable` objects into a template.
 |
 |      :param args: parameters to replace to numbered (``{0}``, ``{1}``) or
 |          auto-numbered (``{}``) placeholders
 |      :param kwargs: parameters to replace to named (``{name}``) placeholders
 |      :return: the union of the `!SQL` string with placeholders replaced
 |      :rtype: `Composed`
 |
 |      The method is similar to the Python `str.format()` method: the string
 |      template supports auto-numbered (``{}``), numbered (``{0}``,
 |      ``{1}``...), and named placeholders (``{name}``), with positional
 |      arguments replacing the numbered placeholders and keywords replacing
 |      the named ones. However placeholder modifiers (``{0!r}``, ``{0:<10}``)
 |      are not supported.
 |
 |      If a `!Composable` objects is passed to the template it will be merged
 |      according to its `as_string()` method. If any other Python object is
 |      passed, it will be wrapped in a `Literal` object and so escaped
 |      according to SQL rules.
 |
 |      Example::
 |
 |          >>> print(sql.SQL("SELECT * FROM {} WHERE {} = %s")
 |          ...     .format(sql.Identifier('people'), sql.Identifier('id'))
 |          ...     .as_string(conn))
 |          SELECT * FROM "people" WHERE "id" = %s
 |
 |          >>> print(sql.SQL("SELECT * FROM {tbl} WHERE name = {name}")
 |          ...     .format(tbl=sql.Identifier('people'), name="O'Rourke"))
 |          ...     .as_string(conn))
 |          SELECT * FROM "people" WHERE name = 'O''Rourke'
 |
 |  join(self, seq: 'Iterable[Any]') -> 'Composed | Template'
 |      Join a sequence of `Composable`.
 |
 |      :param seq: the elements to join.
 |
 |      Use the `!SQL` object's string to separate the elements in `!seq`.
 |      Elements that are not `Composable` will be considered `Literal`.
 |
 |      If the arguments are `Template` instance, return a `Template` joining
 |      all the items. Note that arguments must either be all templates or
 |      none should be.
 |
 |      Note that `Composed` objects are iterable too, so they can be used as
 |      argument for this method.
 |
 |      Example::
 |
 |          >>> snip = sql.SQL(', ').join(
 |          ...     sql.Identifier(n) for n in ['foo', 'bar', 'baz'])
 |          >>> print(snip.as_string(conn))
 |          "foo", "bar", "baz"
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __annotations__ = {'_obj': 'LiteralString'}
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Composable:
 |
 |  __add__(self, other: 'Composable') -> 'Composed'
 |
 |  __eq__(self, other: 'Any') -> 'bool'
 |      Return self==value.
 |
 |  __mul__(self, n: 'int') -> 'Composed'
 |
 |  __ne__(self, other: 'Any') -> 'bool'
 |      Return self!=value.
 |
 |  __repr__(self) -> 'str'
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Composable:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Composable:
 |
 |  __hash__ = None
psycopg.sql.Sequence
Python Library Documentation: class Sequence in module collections.abc

class Sequence(Reversible, Collection)
 |  All the operations on a read-only sequence.
 |
 |  Concrete subclasses must override __new__ or __init__,
 |  __getitem__, and __len__.
 |
 |  Method resolution order:
 |      Sequence
 |      Reversible
 |      Collection
 |      Sized
 |      Iterable
 |      Container
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __contains__(self, value)
 |
 |  __getitem__(self, index)
 |
 |  __iter__(self)
 |
 |  __reversed__(self)
 |
 |  count(self, value)
 |      S.count(value) -> integer -- return number of occurrences of value
 |
 |  index(self, value, start=0, stop=None)
 |      S.index(value, [start, [stop]]) -> integer -- return first index of value.
 |      Raises ValueError if the value is not present.
 |
 |      Supporting start and stop arguments is optional, but
 |      recommended.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset({'__getitem__', '__len__'})
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from Reversible:
 |
 |  __subclasshook__(C)
 |      Abstract classes can override this to customize issubclass().
 |
 |      This is invoked early on by abc.ABCMeta.__subclasscheck__().
 |      It should return True, False or NotImplemented.  If it returns
 |      NotImplemented, the normal algorithm is used.  Otherwise, it
 |      overrides the normal algorithm (and the outcome is cached).
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Sized:
 |
 |  __len__(self)
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from Iterable:
 |
 |  __class_getitem__ = GenericAlias(...)
 |      Represent a PEP 585 generic type
 |
 |      E.g. for t = list[int], t.__origin__ is list and t.__args__ is (int,).
psycopg.sql.Template
Python Library Documentation: class Template in module psycopg._compat

class Template(builtins.object)
 |  Template(*args: 'str | Interpolation') -> 'Self'
 |
 |  Methods defined here:
 |
 |  __iter__(self) -> 'Iterator[str | Interpolation]'
 |
 |  ----------------------------------------------------------------------
 |  Static methods defined here:
 |
 |  __new__(cls, *args: 'str | Interpolation') -> 'Self'
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {'interpolations': 'tuple[Interpolation]', 'strings'...
psycopg.sql.Transformer
Python Library Documentation: class Transformer in module psycopg_binary._psycopg

class Transformer(builtins.object)
 |  An object that can adapt efficiently between Python and PostgreSQL.
 |
 |  The life cycle of the object is the query, so it is assumed that attributes
 |  such as the server version or the connection encoding will not change. The
 |  object have its state so adapting several values of the same type can be
 |  optimised.
 |
 |  Methods defined here:
 |
 |  __reduce__ = __reduce_cython__(...)
 |
 |  __setstate__ = __setstate_cython__(...)
 |
 |  as_literal(self, obj)
 |
 |  dump_sequence(self, params, formats)
 |
 |  get_dumper(self, obj, format) -> "'Dumper'"
 |
 |  get_loader(self, oid: 'int', format: 'PqFormat') -> "'Loader'"
 |
 |  load_row(self, row, make_row) -> 'Row'
 |
 |  load_rows(self, row0, row1, make_row) -> 'list[Row]'
 |
 |  load_sequence(self, record: 'Sequence[Buffer | None]')
 |
 |  set_dumper_types(self, types: 'Sequence[int]', format: 'PqFormat') -> 'None'
 |
 |  set_loader_types(self, types: 'Sequence[int]', format: 'PqFormat') -> 'None'
 |
 |  set_pgresult(self, result, set_loaders=True, format=None)
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  from_context(context: "'AdaptContext' | None")
 |      Return a Transformer from an AdaptContext.
 |
 |      If the context is a Transformer instance, just return it.
 |
 |  ----------------------------------------------------------------------
 |  Static methods defined here:
 |
 |  __new__(*args, **kwargs)
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  adapters
 |
 |  connection
 |
 |  encoding
 |
 |  formats
 |
 |  pgresult
 |
 |  types
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __pyx_vtable__ = <capsule object NULL>
psycopg.sql.abstractmethod
Python Library Documentation: function abstractmethod in module abc

abstractmethod(funcobj)
    A decorator indicating abstract methods.

    Requires that the metaclass is ABCMeta or derived from it.  A
    class that has a metaclass derived from ABCMeta cannot be
    instantiated unless all of its abstract methods are overridden.
    The abstract methods can be called using any of the normal
    'super' call mechanisms.  abstractmethod() may be used to declare
    abstract methods for properties and descriptors.

    Usage:

        class C(metaclass=ABCMeta):
            @abstractmethod
            def my_abstract_method(self, arg1, arg2, argN):
                ...
psycopg.sql.annotations
Python Library Documentation: _Feature in module __future__ object

class _Feature(builtins.object)
 |  _Feature(optionalRelease, mandatoryRelease, compiler_flag)
 |
 |  Methods defined here:
 |
 |  __init__(self, optionalRelease, mandatoryRelease, compiler_flag)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __repr__(self)
 |      Return repr(self).
 |
 |  getMandatoryRelease(self)
 |      Return release in which this feature will become mandatory.
 |
 |      This is a 5-tuple, of the same form as sys.version_info, or, if
 |      the feature was dropped, or the release date is undetermined, is None.
 |
 |  getOptionalRelease(self)
 |      Return first release in which this feature was recognized.
 |
 |      This is a 5-tuple, of the same form as sys.version_info.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.sql.as_bytes
Python Library Documentation: function as_bytes in module psycopg.sql

as_bytes(obj: 'Any', context: 'AdaptContext | None' = None) -> 'bytes'
    Convert an object to a bytes string according to SQL rules.

    :param obj: the object to convert
    :param context: the context in which to convert the object
    :type context: `~psycopg.abc.AdaptContext` | `!None`

    See `as_string()` for details.
psycopg.sql.as_string
Python Library Documentation: function as_string in module psycopg.sql

as_string(obj: 'Any', context: 'AdaptContext | None' = None) -> 'str'
    Convert an object to a string according to SQL rules.

    :param obj: the object to convert
    :param context: the context in which to convert the object
    :type context: `~psycopg.abc.AdaptContext` | `!None`

    Adaptation happens according to the type of `!obj`:

    - `Composable` objects are converted according to their
      `~Composable.as_string()` method;
    - `~string.templatelib.Template` strings are converted according to the
      rules documented in :ref:`template-strings`;
    - every other object is converted as it was :ref:`a parameter passed to a
      query <types-adaptation>`.

    If `!context` is specified then it is be used to customize the conversion.
    for example using the encoding of a connection or the dumpers registered.
psycopg.sql.conn_encoding
Python Library Documentation: function conn_encoding in module psycopg._encodings

conn_encoding(conn: 'BaseConnection[Any] | None') -> 'str'
    Return the Python encoding name of a psycopg connection.

    Default to utf8 if the connection has no encoding info.
psycopg.sql.overload
Python Library Documentation: function overload in module typing

overload(func)
    Decorator for overloaded functions/methods.

    In a stub file, place two or more stub definitions for the same
    function in a row, each decorated with @overload.

    For example::

        @overload
        def utf8(value: None) -> None: ...
        @overload
        def utf8(value: bytes) -> bytes: ...
        @overload
        def utf8(value: str) -> bytes: ...

    In a non-stub file (i.e. a regular .py file), do the same but
    follow it with an implementation.  The implementation should *not*
    be decorated with @overload::

        @overload
        def utf8(value: None) -> None: ...
        @overload
        def utf8(value: bytes) -> bytes: ...
        @overload
        def utf8(value: str) -> bytes: ...
        def utf8(value):
            ...  # implementation goes here

    The overloads for a function can be retrieved at runtime using the
    get_overloads() function.
psycopg.sql.quote
Python Library Documentation: function quote in module psycopg.sql

quote(obj: 'Any', context: 'AdaptContext | None' = None) -> 'str'
    Adapt a Python object to a quoted SQL string.

    Use this function only if you absolutely want to convert a Python string to
    an SQL quoted literal to use e.g. to generate batch SQL and you won't have
    a connection available when you will need to use it.

    This function is relatively inefficient, because it doesn't cache the
    adaptation rules. If you pass a `!context` you can adapt the adaptation
    rules used, otherwise only global rules are used.
psycopg.errors.ActiveSqlTransaction
Python Library Documentation: class ActiveSqlTransaction in module psycopg.errors

class ActiveSqlTransaction(psycopg.InternalError)
 |  ActiveSqlTransaction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ActiveSqlTransaction
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '25001'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.AdminShutdown
Python Library Documentation: class AdminShutdown in module psycopg.errors

class AdminShutdown(psycopg.OperationalError)
 |  AdminShutdown(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      AdminShutdown
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '57P01'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.AmbiguousAlias
Python Library Documentation: class AmbiguousAlias in module psycopg.errors

class AmbiguousAlias(psycopg.ProgrammingError)
 |  AmbiguousAlias(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      AmbiguousAlias
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P09'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.AmbiguousColumn
Python Library Documentation: class AmbiguousColumn in module psycopg.errors

class AmbiguousColumn(psycopg.ProgrammingError)
 |  AmbiguousColumn(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      AmbiguousColumn
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42702'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.AmbiguousFunction
Python Library Documentation: class AmbiguousFunction in module psycopg.errors

class AmbiguousFunction(psycopg.ProgrammingError)
 |  AmbiguousFunction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      AmbiguousFunction
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42725'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.AmbiguousParameter
Python Library Documentation: class AmbiguousParameter in module psycopg.errors

class AmbiguousParameter(psycopg.ProgrammingError)
 |  AmbiguousParameter(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      AmbiguousParameter
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P08'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.Any
Python Library Documentation: class Any in module typing

class Any(builtins.object)
 |  Any(*args, **kwargs)
 |
 |  Special type indicating an unconstrained type.
 |
 |  - Any is compatible with every type.
 |  - Any assumed to have all methods.
 |  - All values assumed to be instances of Any.
 |
 |  Note that all the above statements are true from the point of view of
 |  static type checkers. At runtime, Any should not be used with instance
 |  checks.
 |
 |  Static methods defined here:
 |
 |  __new__(cls, *args, **kwargs)
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.errors.ArraySubscriptError
Python Library Documentation: class ArraySubscriptError in module psycopg.errors

class ArraySubscriptError(psycopg.DataError)
 |  ArraySubscriptError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ArraySubscriptError
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2202E'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.AssertFailure
Python Library Documentation: class AssertFailure in module psycopg.errors

class AssertFailure(psycopg.ProgrammingError)
 |  AssertFailure(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      AssertFailure
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'P0004'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.BadCopyFileFormat
Python Library Documentation: class BadCopyFileFormat in module psycopg.errors

class BadCopyFileFormat(psycopg.DataError)
 |  BadCopyFileFormat(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      BadCopyFileFormat
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22P04'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.BranchTransactionAlreadyActive
Python Library Documentation: class BranchTransactionAlreadyActive in module psycopg.errors

class BranchTransactionAlreadyActive(psycopg.InternalError)
 |  BranchTransactionAlreadyActive(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      BranchTransactionAlreadyActive
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '25002'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.Callable
Python Library Documentation: class Callable in module collections.abc

class Callable(builtins.object)
 |  Methods defined here:
 |
 |  __call__(self, *args, **kwds)
 |      Call self as a function.
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  __class_getitem__ = _CallableGenericAlias(args)
 |      Represent `Callable[argtypes, resulttype]`.
 |
 |      This sets ``__args__`` to a tuple containing the flattened ``argtypes``
 |      followed by ``resulttype``.
 |
 |      Example: ``Callable[[int, str], float]`` sets ``__args__`` to
 |      ``(int, str, float)``.
 |
 |  __subclasshook__(C)
 |      Abstract classes can override this to customize issubclass().
 |
 |      This is invoked early on by abc.ABCMeta.__subclasscheck__().
 |      It should return True, False or NotImplemented.  If it returns
 |      NotImplemented, the normal algorithm is used.  Otherwise, it
 |      overrides the normal algorithm (and the outcome is cached).
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset({'__call__'})
psycopg.errors.CancellationTimeout
Python Library Documentation: class CancellationTimeout in module psycopg.errors

class CancellationTimeout(psycopg.OperationalError)
 |  CancellationTimeout(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Exception raised on timeout of connection's
 |  `~psycopg.Connection.cancel_safe()` method.
 |
 |  Subclass of `~psycopg.OperationalError`.
 |
 |  Method resolution order:
 |      CancellationTimeout
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from psycopg.Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.CancelledError
Python Library Documentation: class CancelledError in module asyncio.exceptions

class CancelledError(builtins.BaseException)
 |  The Future or Task was cancelled.
 |
 |  Method resolution order:
 |      CancelledError
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data descriptors defined here:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __init__(self, /, *args, **kwargs)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(...)
 |      Helper for pickle.
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.BaseException:
 |
 |  __new__(*args, **kwargs) class method of builtins.BaseException
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.CannotCoerce
Python Library Documentation: class CannotCoerce in module psycopg.errors

class CannotCoerce(psycopg.ProgrammingError)
 |  CannotCoerce(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      CannotCoerce
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42846'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.CannotConnectNow
Python Library Documentation: class CannotConnectNow in module psycopg.errors

class CannotConnectNow(psycopg.OperationalError)
 |  CannotConnectNow(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      CannotConnectNow
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '57P03'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.CantChangeRuntimeParam
Python Library Documentation: class CantChangeRuntimeParam in module psycopg.errors

class CantChangeRuntimeParam(psycopg.OperationalError)
 |  CantChangeRuntimeParam(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      CantChangeRuntimeParam
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '55P02'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.CardinalityViolation
Python Library Documentation: class CardinalityViolation in module psycopg.errors

class CardinalityViolation(psycopg.ProgrammingError)
 |  CardinalityViolation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      CardinalityViolation
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '21000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.CaseNotFound
Python Library Documentation: class CaseNotFound in module psycopg.errors

class CaseNotFound(psycopg.ProgrammingError)
 |  CaseNotFound(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      CaseNotFound
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '20000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.CharacterNotInRepertoire
Python Library Documentation: class CharacterNotInRepertoire in module psycopg.errors

class CharacterNotInRepertoire(psycopg.DataError)
 |  CharacterNotInRepertoire(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      CharacterNotInRepertoire
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22021'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.CheckViolation
Python Library Documentation: class CheckViolation in module psycopg.errors

class CheckViolation(psycopg.IntegrityError)
 |  CheckViolation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      CheckViolation
 |      psycopg.IntegrityError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '23514'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.CollationMismatch
Python Library Documentation: class CollationMismatch in module psycopg.errors

class CollationMismatch(psycopg.ProgrammingError)
 |  CollationMismatch(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      CollationMismatch
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P21'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ConfigFileError
Python Library Documentation: class ConfigFileError in module psycopg.errors

class ConfigFileError(psycopg.OperationalError)
 |  ConfigFileError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ConfigFileError
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'F0000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ConfigurationLimitExceeded
Python Library Documentation: class ConfigurationLimitExceeded in module psycopg.errors

class ConfigurationLimitExceeded(psycopg.OperationalError)
 |  ConfigurationLimitExceeded(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ConfigurationLimitExceeded
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '53400'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ConnStatus
Python Library Documentation: class ConnStatus in module psycopg.pq

class ConnStatus(enum.IntEnum)
 |  ConnStatus(*values)
 |
 |  Current status of the connection.
 |
 |  Method resolution order:
 |      ConnStatus
 |      enum.IntEnum
 |      builtins.int
 |      enum.ReprEnum
 |      enum.Enum
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __format__(self, format_spec, /) from builtins.int
 |      Convert to a string according to format_spec.
 |
 |  __new__(cls, value) from enum.Enum
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  ALLOCATED = <ConnStatus.ALLOCATED: 14>
 |
 |  AUTHENTICATING = <ConnStatus.AUTHENTICATING: 15>
 |
 |  AUTH_OK = <ConnStatus.AUTH_OK: 5>
 |
 |  AWAITING_RESPONSE = <ConnStatus.AWAITING_RESPONSE: 4>
 |
 |  BAD = <ConnStatus.BAD: 1>
 |
 |  CHECK_STANDBY = <ConnStatus.CHECK_STANDBY: 13>
 |
 |  CHECK_TARGET = <ConnStatus.CHECK_TARGET: 12>
 |
 |  CHECK_WRITABLE = <ConnStatus.CHECK_WRITABLE: 9>
 |
 |  CONSUME = <ConnStatus.CONSUME: 10>
 |
 |  GSS_STARTUP = <ConnStatus.GSS_STARTUP: 11>
 |
 |  MADE = <ConnStatus.MADE: 3>
 |
 |  NEEDED = <ConnStatus.NEEDED: 8>
 |
 |  OK = <ConnStatus.OK: 0>
 |
 |  SETENV = <ConnStatus.SETENV: 6>
 |
 |  SSL_STARTUP = <ConnStatus.SSL_STARTUP: 7>
 |
 |  STARTED = <ConnStatus.STARTED: 2>
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.IntEnum:
 |
 |  __repr__(self) from enum.Enum
 |      Return repr(self).
 |
 |  __str__ = __repr__(self, /) from builtins.int
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.int:
 |
 |  __abs__(self, /)
 |      abs(self)
 |
 |  __add__(self, value, /)
 |      Return self+value.
 |
 |  __and__(self, value, /)
 |      Return self&value.
 |
 |  __bool__(self, /)
 |      True if self else False
 |
 |  __ceil__(...)
 |      Ceiling of an Integral returns itself.
 |
 |  __divmod__(self, value, /)
 |      Return divmod(self, value).
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __float__(self, /)
 |      float(self)
 |
 |  __floor__(...)
 |      Flooring an Integral returns itself.
 |
 |  __floordiv__(self, value, /)
 |      Return self//value.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getnewargs__(self, /)
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __index__(self, /)
 |      Return self converted to an integer, if self is suitable for use as an index into a list.
 |
 |  __int__(self, /)
 |      int(self)
 |
 |  __invert__(self, /)
 |      ~self
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __lshift__(self, value, /)
 |      Return self<<value.
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __mod__(self, value, /)
 |      Return self%value.
 |
 |  __mul__(self, value, /)
 |      Return self*value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __neg__(self, /)
 |      -self
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __pos__(self, /)
 |      +self
 |
 |  __pow__(self, value, mod=None, /)
 |      Return pow(self, value, mod).
 |
 |  __radd__(self, value, /)
 |      Return value+self.
 |
 |  __rand__(self, value, /)
 |      Return value&self.
 |
 |  __rdivmod__(self, value, /)
 |      Return divmod(value, self).
 |
 |  __rfloordiv__(self, value, /)
 |      Return value//self.
 |
 |  __rlshift__(self, value, /)
 |      Return value<<self.
 |
 |  __rmod__(self, value, /)
 |      Return value%self.
 |
 |  __rmul__(self, value, /)
 |      Return value*self.
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  __round__(...)
 |      Rounding an Integral returns itself.
 |
 |      Rounding with an ndigits argument also returns an integer.
 |
 |  __rpow__(self, value, mod=None, /)
 |      Return pow(value, self, mod).
 |
 |  __rrshift__(self, value, /)
 |      Return value>>self.
 |
 |  __rshift__(self, value, /)
 |      Return self>>value.
 |
 |  __rsub__(self, value, /)
 |      Return value-self.
 |
 |  __rtruediv__(self, value, /)
 |      Return value/self.
 |
 |  __rxor__(self, value, /)
 |      Return value^self.
 |
 |  __sizeof__(self, /)
 |      Returns size in memory, in bytes.
 |
 |  __sub__(self, value, /)
 |      Return self-value.
 |
 |  __truediv__(self, value, /)
 |      Return self/value.
 |
 |  __trunc__(...)
 |      Truncating an Integral returns itself.
 |
 |  __xor__(self, value, /)
 |      Return self^value.
 |
 |  as_integer_ratio(self, /)
 |      Return a pair of integers, whose ratio is equal to the original int.
 |
 |      The ratio is in lowest terms and has a positive denominator.
 |
 |      >>> (10).as_integer_ratio()
 |      (10, 1)
 |      >>> (-10).as_integer_ratio()
 |      (-10, 1)
 |      >>> (0).as_integer_ratio()
 |      (0, 1)
 |
 |  bit_count(self, /)
 |      Number of ones in the binary representation of the absolute value of self.
 |
 |      Also known as the population count.
 |
 |      >>> bin(13)
 |      '0b1101'
 |      >>> (13).bit_count()
 |      3
 |
 |  bit_length(self, /)
 |      Number of bits necessary to represent self in binary.
 |
 |      >>> bin(37)
 |      '0b100101'
 |      >>> (37).bit_length()
 |      6
 |
 |  conjugate(...)
 |      Returns self, the complex conjugate of any int.
 |
 |  is_integer(self, /)
 |      Returns True. Exists for duck type compatibility with float.is_integer.
 |
 |  to_bytes(self, /, length=1, byteorder='big', *, signed=False)
 |      Return an array of bytes representing an integer.
 |
 |      length
 |        Length of bytes object to use.  An OverflowError is raised if the
 |        integer is not representable with the given number of bytes.  Default
 |        is length 1.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Determines whether two's complement is used to represent the integer.
 |        If signed is False and a negative integer is given, an OverflowError
 |        is raised.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from builtins.int:
 |
 |  from_bytes(bytes, byteorder='big', *, signed=False)
 |      Return the integer represented by the given array of bytes.
 |
 |      bytes
 |        Holds the array of bytes to convert.  The argument must either
 |        support the buffer protocol or be an iterable object producing bytes.
 |        Bytes and bytearray are examples of built-in objects that support the
 |        buffer protocol.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Indicates whether two's complement is used to represent the integer.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.int:
 |
 |  denominator
 |      the denominator of a rational number in lowest terms
 |
 |  imag
 |      the imaginary part of a complex number
 |
 |  numerator
 |      the numerator of a rational number in lowest terms
 |
 |  real
 |      the real part of a complex number
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.Enum:
 |
 |  __dir__(self)
 |      Returns public methods and other interesting attributes.
 |
 |  __init__(self, *args, **kwds)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce_ex__(self, proto)
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from enum.Enum:
 |
 |  name
 |      The name of the Enum member.
 |
 |  value
 |      The value of the Enum member.
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from enum.EnumType:
 |
 |  __contains__(value)
 |      Return True if `value` is in `cls`.
 |
 |      `value` is in `cls` if:
 |      1) `value` is a member of `cls`, or
 |      2) `value` is the value of one of the `cls`'s members.
 |
 |  __getitem__(name)
 |      Return the member matching `name`.
 |
 |  __iter__()
 |      Return members in definition order.
 |
 |  __len__()
 |      Return the number of members (no aliases)
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from enum.EnumType:
 |
 |  __members__
 |      Returns a mapping of member name->value.
 |
 |      This mapping lists all enum members, including aliases. Note that this
 |      is a read-only view of the internal mapping.
psycopg.errors.ConnectionDoesNotExist
Python Library Documentation: class ConnectionDoesNotExist in module psycopg.errors

class ConnectionDoesNotExist(psycopg.OperationalError)
 |  ConnectionDoesNotExist(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ConnectionDoesNotExist
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '08003'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ConnectionException
Python Library Documentation: class ConnectionException in module psycopg.errors

class ConnectionException(psycopg.OperationalError)
 |  ConnectionException(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ConnectionException
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '08000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ConnectionFailure
Python Library Documentation: class ConnectionFailure in module psycopg.errors

class ConnectionFailure(psycopg.OperationalError)
 |  ConnectionFailure(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ConnectionFailure
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '08006'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ConnectionTimeout
Python Library Documentation: class ConnectionTimeout in module psycopg.errors

class ConnectionTimeout(psycopg.OperationalError)
 |  ConnectionTimeout(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Exception raised on timeout of the `~psycopg.Connection.connect()` method.
 |
 |  The error is raised if the ``connect_timeout`` is specified and a
 |  connection is not obtained in useful time.
 |
 |  Subclass of `~psycopg.OperationalError`.
 |
 |  Method resolution order:
 |      ConnectionTimeout
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from psycopg.Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ContainingSqlNotPermitted
Python Library Documentation: class ContainingSqlNotPermitted in module psycopg.errors

class ContainingSqlNotPermitted(psycopg.OperationalError)
 |  ContainingSqlNotPermitted(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ContainingSqlNotPermitted
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '38001'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.CrashShutdown
Python Library Documentation: class CrashShutdown in module psycopg.errors

class CrashShutdown(psycopg.OperationalError)
 |  CrashShutdown(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      CrashShutdown
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '57P02'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DataCorrupted
Python Library Documentation: class DataCorrupted in module psycopg.errors

class DataCorrupted(psycopg.InternalError)
 |  DataCorrupted(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DataCorrupted
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'XX001'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DataError
Python Library Documentation: class DataError in module psycopg

class DataError(DatabaseError)
 |  DataError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  An error caused by problems with the processed data.
 |
 |  Examples may be division by zero, numeric value out of range, etc.
 |
 |  Method resolution order:
 |      DataError
 |      DatabaseError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DataException
Python Library Documentation: class DataException in module psycopg.errors

class DataException(psycopg.DataError)
 |  DataException(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DataException
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DatabaseDropped
Python Library Documentation: class DatabaseDropped in module psycopg.errors

class DatabaseDropped(psycopg.OperationalError)
 |  DatabaseDropped(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DatabaseDropped
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '57P04'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DatabaseError
Python Library Documentation: class DatabaseError in module psycopg

class DatabaseError(Error)
 |  DatabaseError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Exception raised for errors that are related to the database.
 |
 |  Method resolution order:
 |      DatabaseError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Class methods defined here:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DatatypeMismatch
Python Library Documentation: class DatatypeMismatch in module psycopg.errors

class DatatypeMismatch(psycopg.ProgrammingError)
 |  DatatypeMismatch(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DatatypeMismatch
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42804'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DatetimeFieldOverflow
Python Library Documentation: class DatetimeFieldOverflow in module psycopg.errors

class DatetimeFieldOverflow(psycopg.DataError)
 |  DatetimeFieldOverflow(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DatetimeFieldOverflow
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22008'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DeadlockDetected
Python Library Documentation: class DeadlockDetected in module psycopg.errors

class DeadlockDetected(psycopg.OperationalError)
 |  DeadlockDetected(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DeadlockDetected
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '40P01'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DependentObjectsStillExist
Python Library Documentation: class DependentObjectsStillExist in module psycopg.errors

class DependentObjectsStillExist(psycopg.InternalError)
 |  DependentObjectsStillExist(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DependentObjectsStillExist
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2BP01'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DependentPrivilegeDescriptorsStillExist
Python Library Documentation: class DependentPrivilegeDescriptorsStillExist in module psycopg.errors

class DependentPrivilegeDescriptorsStillExist(psycopg.InternalError)
 |  DependentPrivilegeDescriptorsStillExist(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DependentPrivilegeDescriptorsStillExist
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2B000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.Diagnostic
Python Library Documentation: class Diagnostic in module psycopg.errors

class Diagnostic(builtins.object)
 |  Diagnostic(info: 'ErrorInfo', encoding: 'str' = 'utf-8')
 |
 |  Details from a database error report.
 |
 |  Methods defined here:
 |
 |  __init__(self, info: 'ErrorInfo', encoding: 'str' = 'utf-8')
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]'
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties defined here:
 |
 |  column_name
 |
 |  constraint_name
 |
 |  context
 |
 |  datatype_name
 |
 |  internal_position
 |
 |  internal_query
 |
 |  message_detail
 |
 |  message_hint
 |
 |  message_primary
 |
 |  schema_name
 |
 |  severity
 |
 |  severity_nonlocalized
 |
 |  source_file
 |
 |  source_function
 |
 |  source_line
 |
 |  sqlstate
 |
 |  statement_position
 |
 |  table_name
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.errors.DiagnosticField
Python Library Documentation: class DiagnosticField in module psycopg.pq

class DiagnosticField(enum.IntEnum)
 |  DiagnosticField(*values)
 |
 |  Fields in an error report.
 |
 |  Method resolution order:
 |      DiagnosticField
 |      enum.IntEnum
 |      builtins.int
 |      enum.ReprEnum
 |      enum.Enum
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __format__(self, format_spec, /) from builtins.int
 |      Convert to a string according to format_spec.
 |
 |  __new__(cls, value) from enum.Enum
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  COLUMN_NAME = <DiagnosticField.COLUMN_NAME: 99>
 |
 |  CONSTRAINT_NAME = <DiagnosticField.CONSTRAINT_NAME: 110>
 |
 |  CONTEXT = <DiagnosticField.CONTEXT: 87>
 |
 |  DATATYPE_NAME = <DiagnosticField.DATATYPE_NAME: 100>
 |
 |  INTERNAL_POSITION = <DiagnosticField.INTERNAL_POSITION: 112>
 |
 |  INTERNAL_QUERY = <DiagnosticField.INTERNAL_QUERY: 113>
 |
 |  MESSAGE_DETAIL = <DiagnosticField.MESSAGE_DETAIL: 68>
 |
 |  MESSAGE_HINT = <DiagnosticField.MESSAGE_HINT: 72>
 |
 |  MESSAGE_PRIMARY = <DiagnosticField.MESSAGE_PRIMARY: 77>
 |
 |  SCHEMA_NAME = <DiagnosticField.SCHEMA_NAME: 115>
 |
 |  SEVERITY = <DiagnosticField.SEVERITY: 83>
 |
 |  SEVERITY_NONLOCALIZED = <DiagnosticField.SEVERITY_NONLOCALIZED: 86>
 |
 |  SOURCE_FILE = <DiagnosticField.SOURCE_FILE: 70>
 |
 |  SOURCE_FUNCTION = <DiagnosticField.SOURCE_FUNCTION: 82>
 |
 |  SOURCE_LINE = <DiagnosticField.SOURCE_LINE: 76>
 |
 |  SQLSTATE = <DiagnosticField.SQLSTATE: 67>
 |
 |  STATEMENT_POSITION = <DiagnosticField.STATEMENT_POSITION: 80>
 |
 |  TABLE_NAME = <DiagnosticField.TABLE_NAME: 116>
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.IntEnum:
 |
 |  __repr__(self) from enum.Enum
 |      Return repr(self).
 |
 |  __str__ = __repr__(self, /) from builtins.int
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.int:
 |
 |  __abs__(self, /)
 |      abs(self)
 |
 |  __add__(self, value, /)
 |      Return self+value.
 |
 |  __and__(self, value, /)
 |      Return self&value.
 |
 |  __bool__(self, /)
 |      True if self else False
 |
 |  __ceil__(...)
 |      Ceiling of an Integral returns itself.
 |
 |  __divmod__(self, value, /)
 |      Return divmod(self, value).
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __float__(self, /)
 |      float(self)
 |
 |  __floor__(...)
 |      Flooring an Integral returns itself.
 |
 |  __floordiv__(self, value, /)
 |      Return self//value.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getnewargs__(self, /)
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __index__(self, /)
 |      Return self converted to an integer, if self is suitable for use as an index into a list.
 |
 |  __int__(self, /)
 |      int(self)
 |
 |  __invert__(self, /)
 |      ~self
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __lshift__(self, value, /)
 |      Return self<<value.
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __mod__(self, value, /)
 |      Return self%value.
 |
 |  __mul__(self, value, /)
 |      Return self*value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __neg__(self, /)
 |      -self
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __pos__(self, /)
 |      +self
 |
 |  __pow__(self, value, mod=None, /)
 |      Return pow(self, value, mod).
 |
 |  __radd__(self, value, /)
 |      Return value+self.
 |
 |  __rand__(self, value, /)
 |      Return value&self.
 |
 |  __rdivmod__(self, value, /)
 |      Return divmod(value, self).
 |
 |  __rfloordiv__(self, value, /)
 |      Return value//self.
 |
 |  __rlshift__(self, value, /)
 |      Return value<<self.
 |
 |  __rmod__(self, value, /)
 |      Return value%self.
 |
 |  __rmul__(self, value, /)
 |      Return value*self.
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  __round__(...)
 |      Rounding an Integral returns itself.
 |
 |      Rounding with an ndigits argument also returns an integer.
 |
 |  __rpow__(self, value, mod=None, /)
 |      Return pow(value, self, mod).
 |
 |  __rrshift__(self, value, /)
 |      Return value>>self.
 |
 |  __rshift__(self, value, /)
 |      Return self>>value.
 |
 |  __rsub__(self, value, /)
 |      Return value-self.
 |
 |  __rtruediv__(self, value, /)
 |      Return value/self.
 |
 |  __rxor__(self, value, /)
 |      Return value^self.
 |
 |  __sizeof__(self, /)
 |      Returns size in memory, in bytes.
 |
 |  __sub__(self, value, /)
 |      Return self-value.
 |
 |  __truediv__(self, value, /)
 |      Return self/value.
 |
 |  __trunc__(...)
 |      Truncating an Integral returns itself.
 |
 |  __xor__(self, value, /)
 |      Return self^value.
 |
 |  as_integer_ratio(self, /)
 |      Return a pair of integers, whose ratio is equal to the original int.
 |
 |      The ratio is in lowest terms and has a positive denominator.
 |
 |      >>> (10).as_integer_ratio()
 |      (10, 1)
 |      >>> (-10).as_integer_ratio()
 |      (-10, 1)
 |      >>> (0).as_integer_ratio()
 |      (0, 1)
 |
 |  bit_count(self, /)
 |      Number of ones in the binary representation of the absolute value of self.
 |
 |      Also known as the population count.
 |
 |      >>> bin(13)
 |      '0b1101'
 |      >>> (13).bit_count()
 |      3
 |
 |  bit_length(self, /)
 |      Number of bits necessary to represent self in binary.
 |
 |      >>> bin(37)
 |      '0b100101'
 |      >>> (37).bit_length()
 |      6
 |
 |  conjugate(...)
 |      Returns self, the complex conjugate of any int.
 |
 |  is_integer(self, /)
 |      Returns True. Exists for duck type compatibility with float.is_integer.
 |
 |  to_bytes(self, /, length=1, byteorder='big', *, signed=False)
 |      Return an array of bytes representing an integer.
 |
 |      length
 |        Length of bytes object to use.  An OverflowError is raised if the
 |        integer is not representable with the given number of bytes.  Default
 |        is length 1.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Determines whether two's complement is used to represent the integer.
 |        If signed is False and a negative integer is given, an OverflowError
 |        is raised.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from builtins.int:
 |
 |  from_bytes(bytes, byteorder='big', *, signed=False)
 |      Return the integer represented by the given array of bytes.
 |
 |      bytes
 |        Holds the array of bytes to convert.  The argument must either
 |        support the buffer protocol or be an iterable object producing bytes.
 |        Bytes and bytearray are examples of built-in objects that support the
 |        buffer protocol.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Indicates whether two's complement is used to represent the integer.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.int:
 |
 |  denominator
 |      the denominator of a rational number in lowest terms
 |
 |  imag
 |      the imaginary part of a complex number
 |
 |  numerator
 |      the numerator of a rational number in lowest terms
 |
 |  real
 |      the real part of a complex number
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.Enum:
 |
 |  __dir__(self)
 |      Returns public methods and other interesting attributes.
 |
 |  __init__(self, *args, **kwds)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce_ex__(self, proto)
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from enum.Enum:
 |
 |  name
 |      The name of the Enum member.
 |
 |  value
 |      The value of the Enum member.
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from enum.EnumType:
 |
 |  __contains__(value)
 |      Return True if `value` is in `cls`.
 |
 |      `value` is in `cls` if:
 |      1) `value` is a member of `cls`, or
 |      2) `value` is the value of one of the `cls`'s members.
 |
 |  __getitem__(name)
 |      Return the member matching `name`.
 |
 |  __iter__()
 |      Return members in definition order.
 |
 |  __len__()
 |      Return the number of members (no aliases)
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from enum.EnumType:
 |
 |  __members__
 |      Returns a mapping of member name->value.
 |
 |      This mapping lists all enum members, including aliases. Note that this
 |      is a read-only view of the internal mapping.
psycopg.errors.DiagnosticsException
Python Library Documentation: class DiagnosticsException in module psycopg.errors

class DiagnosticsException(psycopg.DatabaseError)
 |  DiagnosticsException(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DiagnosticsException
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '0Z000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DiskFull
Python Library Documentation: class DiskFull in module psycopg.errors

class DiskFull(psycopg.OperationalError)
 |  DiskFull(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DiskFull
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '53100'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DivisionByZero
Python Library Documentation: class DivisionByZero in module psycopg.errors

class DivisionByZero(psycopg.DataError)
 |  DivisionByZero(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DivisionByZero
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22012'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DuplicateAlias
Python Library Documentation: class DuplicateAlias in module psycopg.errors

class DuplicateAlias(psycopg.ProgrammingError)
 |  DuplicateAlias(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DuplicateAlias
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42712'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DuplicateColumn
Python Library Documentation: class DuplicateColumn in module psycopg.errors

class DuplicateColumn(psycopg.ProgrammingError)
 |  DuplicateColumn(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DuplicateColumn
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42701'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DuplicateCursor
Python Library Documentation: class DuplicateCursor in module psycopg.errors

class DuplicateCursor(psycopg.ProgrammingError)
 |  DuplicateCursor(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DuplicateCursor
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P03'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DuplicateDatabase
Python Library Documentation: class DuplicateDatabase in module psycopg.errors

class DuplicateDatabase(psycopg.ProgrammingError)
 |  DuplicateDatabase(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DuplicateDatabase
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P04'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DuplicateFile
Python Library Documentation: class DuplicateFile in module psycopg.errors

class DuplicateFile(psycopg.OperationalError)
 |  DuplicateFile(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DuplicateFile
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '58P02'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DuplicateFunction
Python Library Documentation: class DuplicateFunction in module psycopg.errors

class DuplicateFunction(psycopg.ProgrammingError)
 |  DuplicateFunction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DuplicateFunction
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42723'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DuplicateJsonObjectKeyValue
Python Library Documentation: class DuplicateJsonObjectKeyValue in module psycopg.errors

class DuplicateJsonObjectKeyValue(psycopg.DataError)
 |  DuplicateJsonObjectKeyValue(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DuplicateJsonObjectKeyValue
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22030'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DuplicateObject
Python Library Documentation: class DuplicateObject in module psycopg.errors

class DuplicateObject(psycopg.ProgrammingError)
 |  DuplicateObject(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DuplicateObject
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42710'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DuplicatePreparedStatement
Python Library Documentation: class DuplicatePreparedStatement in module psycopg.errors

class DuplicatePreparedStatement(psycopg.ProgrammingError)
 |  DuplicatePreparedStatement(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DuplicatePreparedStatement
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P05'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DuplicateSchema
Python Library Documentation: class DuplicateSchema in module psycopg.errors

class DuplicateSchema(psycopg.ProgrammingError)
 |  DuplicateSchema(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DuplicateSchema
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P06'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.DuplicateTable
Python Library Documentation: class DuplicateTable in module psycopg.errors

class DuplicateTable(psycopg.ProgrammingError)
 |  DuplicateTable(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      DuplicateTable
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P07'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.Error
Python Library Documentation: class Error in module psycopg

class Error(builtins.Exception)
 |  Error(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Base exception for all the errors psycopg will raise.
 |
 |  Exception that is the base class of all other error exceptions. You can
 |  use this to catch all errors with one single `!except` statement.
 |
 |  This exception is guaranteed to be picklable.
 |
 |  Method resolution order:
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties defined here:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {'sqlstate': 'str | None'}
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ErrorInAssignment
Python Library Documentation: class ErrorInAssignment in module psycopg.errors

class ErrorInAssignment(psycopg.DataError)
 |  ErrorInAssignment(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ErrorInAssignment
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22005'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ErrorInfo
Python Library Documentation: UnionType in module types object

class UnionType(builtins.object)
 |  Represent a PEP 604 union type
 |
 |  E.g. for int | str
 |
 |  Methods defined here:
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getitem__(self, key, /)
 |      Return self[key].
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __args__
 |
 |  __parameters__
 |      Type variables in the types.UnionType.
psycopg.errors.EscapeCharacterConflict
Python Library Documentation: class EscapeCharacterConflict in module psycopg.errors

class EscapeCharacterConflict(psycopg.DataError)
 |  EscapeCharacterConflict(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      EscapeCharacterConflict
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2200B'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.EventTriggerProtocolViolated
Python Library Documentation: class EventTriggerProtocolViolated in module psycopg.errors

class EventTriggerProtocolViolated(psycopg.OperationalError)
 |  EventTriggerProtocolViolated(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      EventTriggerProtocolViolated
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '39P03'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ExclusionViolation
Python Library Documentation: class ExclusionViolation in module psycopg.errors

class ExclusionViolation(psycopg.IntegrityError)
 |  ExclusionViolation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ExclusionViolation
 |      psycopg.IntegrityError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '23P01'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ExternalRoutineException
Python Library Documentation: class ExternalRoutineException in module psycopg.errors

class ExternalRoutineException(psycopg.OperationalError)
 |  ExternalRoutineException(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ExternalRoutineException
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '38000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ExternalRoutineInvocationException
Python Library Documentation: class ExternalRoutineInvocationException in module psycopg.errors

class ExternalRoutineInvocationException(psycopg.OperationalError)
 |  ExternalRoutineInvocationException(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ExternalRoutineInvocationException
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '39000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwColumnNameNotFound
Python Library Documentation: class FdwColumnNameNotFound in module psycopg.errors

class FdwColumnNameNotFound(psycopg.OperationalError)
 |  FdwColumnNameNotFound(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwColumnNameNotFound
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV005'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwDynamicParameterValueNeeded
Python Library Documentation: class FdwDynamicParameterValueNeeded in module psycopg.errors

class FdwDynamicParameterValueNeeded(psycopg.OperationalError)
 |  FdwDynamicParameterValueNeeded(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwDynamicParameterValueNeeded
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV002'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwError
Python Library Documentation: class FdwError in module psycopg.errors

class FdwError(psycopg.OperationalError)
 |  FdwError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwError
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwFunctionSequenceError
Python Library Documentation: class FdwFunctionSequenceError in module psycopg.errors

class FdwFunctionSequenceError(psycopg.OperationalError)
 |  FdwFunctionSequenceError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwFunctionSequenceError
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV010'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwInconsistentDescriptorInformation
Python Library Documentation: class FdwInconsistentDescriptorInformation in module psycopg.errors

class FdwInconsistentDescriptorInformation(psycopg.OperationalError)
 |  FdwInconsistentDescriptorInformation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwInconsistentDescriptorInformation
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV021'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwInvalidAttributeValue
Python Library Documentation: class FdwInvalidAttributeValue in module psycopg.errors

class FdwInvalidAttributeValue(psycopg.OperationalError)
 |  FdwInvalidAttributeValue(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwInvalidAttributeValue
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV024'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwInvalidColumnName
Python Library Documentation: class FdwInvalidColumnName in module psycopg.errors

class FdwInvalidColumnName(psycopg.OperationalError)
 |  FdwInvalidColumnName(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwInvalidColumnName
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV007'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwInvalidColumnNumber
Python Library Documentation: class FdwInvalidColumnNumber in module psycopg.errors

class FdwInvalidColumnNumber(psycopg.OperationalError)
 |  FdwInvalidColumnNumber(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwInvalidColumnNumber
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV008'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwInvalidDataType
Python Library Documentation: class FdwInvalidDataType in module psycopg.errors

class FdwInvalidDataType(psycopg.OperationalError)
 |  FdwInvalidDataType(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwInvalidDataType
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV004'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwInvalidDataTypeDescriptors
Python Library Documentation: class FdwInvalidDataTypeDescriptors in module psycopg.errors

class FdwInvalidDataTypeDescriptors(psycopg.OperationalError)
 |  FdwInvalidDataTypeDescriptors(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwInvalidDataTypeDescriptors
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV006'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwInvalidDescriptorFieldIdentifier
Python Library Documentation: class FdwInvalidDescriptorFieldIdentifier in module psycopg.errors

class FdwInvalidDescriptorFieldIdentifier(psycopg.OperationalError)
 |  FdwInvalidDescriptorFieldIdentifier(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwInvalidDescriptorFieldIdentifier
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV091'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwInvalidHandle
Python Library Documentation: class FdwInvalidHandle in module psycopg.errors

class FdwInvalidHandle(psycopg.OperationalError)
 |  FdwInvalidHandle(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwInvalidHandle
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV00B'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwInvalidOptionIndex
Python Library Documentation: class FdwInvalidOptionIndex in module psycopg.errors

class FdwInvalidOptionIndex(psycopg.OperationalError)
 |  FdwInvalidOptionIndex(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwInvalidOptionIndex
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV00C'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwInvalidOptionName
Python Library Documentation: class FdwInvalidOptionName in module psycopg.errors

class FdwInvalidOptionName(psycopg.OperationalError)
 |  FdwInvalidOptionName(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwInvalidOptionName
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV00D'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwInvalidStringFormat
Python Library Documentation: class FdwInvalidStringFormat in module psycopg.errors

class FdwInvalidStringFormat(psycopg.OperationalError)
 |  FdwInvalidStringFormat(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwInvalidStringFormat
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV00A'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwInvalidStringLengthOrBufferLength
Python Library Documentation: class FdwInvalidStringLengthOrBufferLength in module psycopg.errors

class FdwInvalidStringLengthOrBufferLength(psycopg.OperationalError)
 |  FdwInvalidStringLengthOrBufferLength(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwInvalidStringLengthOrBufferLength
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV090'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwInvalidUseOfNullPointer
Python Library Documentation: class FdwInvalidUseOfNullPointer in module psycopg.errors

class FdwInvalidUseOfNullPointer(psycopg.OperationalError)
 |  FdwInvalidUseOfNullPointer(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwInvalidUseOfNullPointer
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV009'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwNoSchemas
Python Library Documentation: class FdwNoSchemas in module psycopg.errors

class FdwNoSchemas(psycopg.OperationalError)
 |  FdwNoSchemas(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwNoSchemas
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV00P'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwOptionNameNotFound
Python Library Documentation: class FdwOptionNameNotFound in module psycopg.errors

class FdwOptionNameNotFound(psycopg.OperationalError)
 |  FdwOptionNameNotFound(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwOptionNameNotFound
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV00J'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwOutOfMemory
Python Library Documentation: class FdwOutOfMemory in module psycopg.errors

class FdwOutOfMemory(psycopg.OperationalError)
 |  FdwOutOfMemory(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwOutOfMemory
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV001'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwReplyHandle
Python Library Documentation: class FdwReplyHandle in module psycopg.errors

class FdwReplyHandle(psycopg.OperationalError)
 |  FdwReplyHandle(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwReplyHandle
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV00K'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwSchemaNotFound
Python Library Documentation: class FdwSchemaNotFound in module psycopg.errors

class FdwSchemaNotFound(psycopg.OperationalError)
 |  FdwSchemaNotFound(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwSchemaNotFound
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV00Q'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwTableNotFound
Python Library Documentation: class FdwTableNotFound in module psycopg.errors

class FdwTableNotFound(psycopg.OperationalError)
 |  FdwTableNotFound(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwTableNotFound
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV00R'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwTooManyHandles
Python Library Documentation: class FdwTooManyHandles in module psycopg.errors

class FdwTooManyHandles(psycopg.OperationalError)
 |  FdwTooManyHandles(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwTooManyHandles
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV014'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwUnableToCreateExecution
Python Library Documentation: class FdwUnableToCreateExecution in module psycopg.errors

class FdwUnableToCreateExecution(psycopg.OperationalError)
 |  FdwUnableToCreateExecution(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwUnableToCreateExecution
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV00L'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwUnableToCreateReply
Python Library Documentation: class FdwUnableToCreateReply in module psycopg.errors

class FdwUnableToCreateReply(psycopg.OperationalError)
 |  FdwUnableToCreateReply(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwUnableToCreateReply
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV00M'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FdwUnableToEstablishConnection
Python Library Documentation: class FdwUnableToEstablishConnection in module psycopg.errors

class FdwUnableToEstablishConnection(psycopg.OperationalError)
 |  FdwUnableToEstablishConnection(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FdwUnableToEstablishConnection
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'HV00N'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FeatureNotSupported
Python Library Documentation: class FeatureNotSupported in module psycopg.errors

class FeatureNotSupported(psycopg.NotSupportedError)
 |  FeatureNotSupported(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FeatureNotSupported
 |      psycopg.NotSupportedError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '0A000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FileNameTooLong
Python Library Documentation: class FileNameTooLong in module psycopg.errors

class FileNameTooLong(psycopg.OperationalError)
 |  FileNameTooLong(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FileNameTooLong
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '58P03'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FinishedPGconn
Python Library Documentation: class FinishedPGconn in module psycopg.errors

class FinishedPGconn(builtins.object)
 |  FinishedPGconn(info: 'list[ConninfoOption]' = <factory>, db: 'bytes' = b'', user: 'bytes' = b'', password: 'bytes' = b'', host: 'bytes' = b'', hostaddr: 'bytes' = b'', port: 'bytes' = b'', tty: 'bytes' = b'', options: 'bytes' = b'', status: 'int' = 1, transaction_status: 'int' = 4, pipeline_status: 'int' = 0, error_message: 'bytes' = b'', _encoding: 'str' = 'utf-8', protocol_version: 'int' = 0, full_protocol_version: 'int' = 0, server_version: 'int' = 0, backend_pid: 'int' = 0, needs_password: 'bool' = False, used_password: 'bool' = False, used_gssapi: 'bool' = False, ssl_in_use: 'bool' = False, nonblocking: 'int' = 0, notice_handler: 'Callable[[PGresult], None] | None' = None, notify_handler: 'Callable[[PGnotify], None] | None' = None) -> None
 |
 |  Finished libpq connection.
 |
 |  Attributes are set from a real `~psycopg.pq.PGconn` but any operations will
 |  raise an `~psycopg.OperationalError`.
 |
 |  Methods defined here:
 |
 |  __eq__(self, other)
 |      Return self==value.
 |
 |  __init__(self, info: 'list[ConninfoOption]' = <factory>, db: 'bytes' = b'', user: 'bytes' = b'', password: 'bytes' = b'', host: 'bytes' = b'', hostaddr: 'bytes' = b'', port: 'bytes' = b'', tty: 'bytes' = b'', options: 'bytes' = b'', status: 'int' = 1, transaction_status: 'int' = 4, pipeline_status: 'int' = 0, error_message: 'bytes' = b'', _encoding: 'str' = 'utf-8', protocol_version: 'int' = 0, full_protocol_version: 'int' = 0, server_version: 'int' = 0, backend_pid: 'int' = 0, needs_password: 'bool' = False, used_password: 'bool' = False, used_gssapi: 'bool' = False, ssl_in_use: 'bool' = False, nonblocking: 'int' = 0, notice_handler: 'Callable[[PGresult], None] | None' = None, notify_handler: 'Callable[[PGnotify], None] | None' = None) -> None
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __repr__(self)
 |      Return repr(self).
 |
 |  cancel_conn(self) -> 'NoReturn'
 |
 |  change_password(self, *args: 'Any') -> 'NoReturn'
 |
 |  close_portal(self, *args: 'Any') -> 'NoReturn'
 |
 |  close_prepared(self, *args: 'Any') -> 'NoReturn'
 |
 |  connect_poll(self) -> 'NoReturn'
 |
 |  consume_input(self) -> 'NoReturn'
 |
 |  describe_portal(self, *args: 'Any') -> 'NoReturn'
 |
 |  describe_prepared(self, *args: 'Any') -> 'NoReturn'
 |
 |  encrypt_password(self, *args: 'Any') -> 'NoReturn'
 |
 |  enter_pipeline_mode(self) -> 'NoReturn'
 |
 |  exec_(self, *args: 'Any') -> 'NoReturn'
 |
 |  exec_params(self, *args: 'Any') -> 'NoReturn'
 |
 |  exec_prepared(self, *args: 'Any') -> 'NoReturn'
 |
 |  exit_pipeline_mode(self) -> 'NoReturn'
 |
 |  finish(self) -> 'None'
 |
 |  flush(self) -> 'NoReturn'
 |
 |  get_cancel(self) -> 'NoReturn'
 |
 |  get_copy_data(self, *args: 'Any') -> 'NoReturn'
 |
 |  get_error_message(self, encoding: 'str' = '') -> 'str'
 |
 |  get_result(self) -> 'NoReturn'
 |
 |  is_busy(self) -> 'NoReturn'
 |
 |  make_empty_result(self, *args: 'Any') -> 'NoReturn'
 |
 |  notifies(self) -> 'NoReturn'
 |
 |  parameter_status(self, *args: 'Any') -> 'NoReturn'
 |
 |  pipeline_sync(self) -> 'NoReturn'
 |
 |  prepare(self, *args: 'Any') -> 'NoReturn'
 |
 |  put_copy_data(self, *args: 'Any') -> 'NoReturn'
 |
 |  put_copy_end(self, *args: 'Any') -> 'NoReturn'
 |
 |  reset(self) -> 'NoReturn'
 |
 |  reset_poll(self) -> 'NoReturn'
 |
 |  reset_start(self) -> 'NoReturn'
 |
 |  send_close_portal(self, *args: 'Any') -> 'NoReturn'
 |
 |  send_close_prepared(self, *args: 'Any') -> 'NoReturn'
 |
 |  send_describe_portal(self, *args: 'Any') -> 'NoReturn'
 |
 |  send_describe_prepared(self, *args: 'Any') -> 'NoReturn'
 |
 |  send_flush_request(self) -> 'NoReturn'
 |
 |  send_prepare(self, *args: 'Any') -> 'NoReturn'
 |
 |  send_query(self, *args: 'Any') -> 'None'
 |
 |  send_query_params(self, *args: 'Any') -> 'NoReturn'
 |
 |  send_query_prepared(self, *args: 'Any') -> 'NoReturn'
 |
 |  set_chunked_rows_mode(self, size: 'int') -> 'NoReturn'
 |
 |  set_single_row_mode(self) -> 'NoReturn'
 |
 |  set_trace_flags(self, *args: 'Any') -> 'NoReturn'
 |
 |  trace(self, *args: 'Any') -> 'NoReturn'
 |
 |  untrace(self) -> 'NoReturn'
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  connect(*args: 'Any') -> 'NoReturn'
 |
 |  connect_start(*args: 'Any') -> 'NoReturn'
 |
 |  ping(*args: 'Any') -> 'NoReturn'
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties defined here:
 |
 |  socket
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {'_encoding': 'str', 'backend_pid': 'int', 'db': 'by...
 |
 |  __dataclass_fields__ = {'_encoding': Field(name='_encoding',type='str'...
 |
 |  __dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,or...
 |
 |  __hash__ = None
 |
 |  __match_args__ = ('info', 'db', 'user', 'password', 'host', 'hostaddr'...
 |
 |  backend_pid = 0
 |
 |  db = b''
 |
 |  error_message = b''
 |
 |  full_protocol_version = 0
 |
 |  host = b''
 |
 |  hostaddr = b''
 |
 |  needs_password = False
 |
 |  nonblocking = 0
 |
 |  notice_handler = None
 |
 |  notify_handler = None
 |
 |  options = b''
 |
 |  password = b''
 |
 |  pipeline_status = 0
 |
 |  port = b''
 |
 |  protocol_version = 0
 |
 |  server_version = 0
 |
 |  ssl_in_use = False
 |
 |  status = 1
 |
 |  transaction_status = 4
 |
 |  tty = b''
 |
 |  used_gssapi = False
 |
 |  used_password = False
 |
 |  user = b''
psycopg.errors.FloatingPointException
Python Library Documentation: class FloatingPointException in module psycopg.errors

class FloatingPointException(psycopg.DataError)
 |  FloatingPointException(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FloatingPointException
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22P01'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ForeignKeyViolation
Python Library Documentation: class ForeignKeyViolation in module psycopg.errors

class ForeignKeyViolation(psycopg.IntegrityError)
 |  ForeignKeyViolation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ForeignKeyViolation
 |      psycopg.IntegrityError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '23503'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.FunctionExecutedNoReturnStatement
Python Library Documentation: class FunctionExecutedNoReturnStatement in module psycopg.errors

class FunctionExecutedNoReturnStatement(psycopg.OperationalError)
 |  FunctionExecutedNoReturnStatement(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      FunctionExecutedNoReturnStatement
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2F005'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.GeneratedAlways
Python Library Documentation: class GeneratedAlways in module psycopg.errors

class GeneratedAlways(psycopg.ProgrammingError)
 |  GeneratedAlways(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      GeneratedAlways
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '428C9'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.GroupingError
Python Library Documentation: class GroupingError in module psycopg.errors

class GroupingError(psycopg.ProgrammingError)
 |  GroupingError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      GroupingError
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42803'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.HeldCursorRequiresSameIsolationLevel
Python Library Documentation: class HeldCursorRequiresSameIsolationLevel in module psycopg.errors

class HeldCursorRequiresSameIsolationLevel(psycopg.InternalError)
 |  HeldCursorRequiresSameIsolationLevel(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      HeldCursorRequiresSameIsolationLevel
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '25008'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.IdleInTransactionSessionTimeout
Python Library Documentation: class IdleInTransactionSessionTimeout in module psycopg.errors

class IdleInTransactionSessionTimeout(psycopg.InternalError)
 |  IdleInTransactionSessionTimeout(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      IdleInTransactionSessionTimeout
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '25P03'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.IdleSessionTimeout
Python Library Documentation: class IdleSessionTimeout in module psycopg.errors

class IdleSessionTimeout(psycopg.OperationalError)
 |  IdleSessionTimeout(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      IdleSessionTimeout
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '57P05'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InFailedSqlTransaction
Python Library Documentation: class InFailedSqlTransaction in module psycopg.errors

class InFailedSqlTransaction(psycopg.InternalError)
 |  InFailedSqlTransaction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InFailedSqlTransaction
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '25P02'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InappropriateAccessModeForBranchTransaction
Python Library Documentation: class InappropriateAccessModeForBranchTransaction in module psycopg.errors

class InappropriateAccessModeForBranchTransaction(psycopg.InternalError)
 |  InappropriateAccessModeForBranchTransaction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InappropriateAccessModeForBranchTransaction
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '25003'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InappropriateIsolationLevelForBranchTransaction
Python Library Documentation: class InappropriateIsolationLevelForBranchTransaction in module psycopg.errors

class InappropriateIsolationLevelForBranchTransaction(psycopg.InternalError)
 |  InappropriateIsolationLevelForBranchTransaction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InappropriateIsolationLevelForBranchTransaction
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '25004'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.IndeterminateCollation
Python Library Documentation: class IndeterminateCollation in module psycopg.errors

class IndeterminateCollation(psycopg.ProgrammingError)
 |  IndeterminateCollation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      IndeterminateCollation
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P22'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.IndeterminateDatatype
Python Library Documentation: class IndeterminateDatatype in module psycopg.errors

class IndeterminateDatatype(psycopg.ProgrammingError)
 |  IndeterminateDatatype(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      IndeterminateDatatype
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P18'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.IndexCorrupted
Python Library Documentation: class IndexCorrupted in module psycopg.errors

class IndexCorrupted(psycopg.InternalError)
 |  IndexCorrupted(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      IndexCorrupted
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'XX002'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.IndicatorOverflow
Python Library Documentation: class IndicatorOverflow in module psycopg.errors

class IndicatorOverflow(psycopg.DataError)
 |  IndicatorOverflow(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      IndicatorOverflow
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22022'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InsufficientPrivilege
Python Library Documentation: class InsufficientPrivilege in module psycopg.errors

class InsufficientPrivilege(psycopg.ProgrammingError)
 |  InsufficientPrivilege(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InsufficientPrivilege
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42501'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InsufficientResources
Python Library Documentation: class InsufficientResources in module psycopg.errors

class InsufficientResources(psycopg.OperationalError)
 |  InsufficientResources(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InsufficientResources
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '53000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.IntegrityConstraintViolation
Python Library Documentation: class IntegrityConstraintViolation in module psycopg.errors

class IntegrityConstraintViolation(psycopg.IntegrityError)
 |  IntegrityConstraintViolation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      IntegrityConstraintViolation
 |      psycopg.IntegrityError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '23000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.IntegrityError
Python Library Documentation: class IntegrityError in module psycopg

class IntegrityError(DatabaseError)
 |  IntegrityError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  An error caused when the relational integrity of the database is affected.
 |
 |  An example may be a foreign key check failed.
 |
 |  Method resolution order:
 |      IntegrityError
 |      DatabaseError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InterfaceError
Python Library Documentation: class InterfaceError in module psycopg

class InterfaceError(Error)
 |  InterfaceError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  An error related to the database interface rather than the database itself.
 |
 |  Method resolution order:
 |      InterfaceError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InternalError
Python Library Documentation: class InternalError in module psycopg

class InternalError(DatabaseError)
 |  InternalError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  An error generated when the database encounters an internal error,
 |
 |  Examples could be the cursor is not valid anymore, the transaction is out
 |  of sync, etc.
 |
 |  Method resolution order:
 |      InternalError
 |      DatabaseError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InternalError_
Python Library Documentation: class InternalError_ in module psycopg.errors

class InternalError_(psycopg.InternalError)
 |  InternalError_(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InternalError_
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'XX000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.IntervalFieldOverflow
Python Library Documentation: class IntervalFieldOverflow in module psycopg.errors

class IntervalFieldOverflow(psycopg.DataError)
 |  IntervalFieldOverflow(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      IntervalFieldOverflow
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22015'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidArgumentForLogarithm
Python Library Documentation: class InvalidArgumentForLogarithm in module psycopg.errors

class InvalidArgumentForLogarithm(psycopg.DataError)
 |  InvalidArgumentForLogarithm(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidArgumentForLogarithm
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2201E'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidArgumentForNthValueFunction
Python Library Documentation: class InvalidArgumentForNthValueFunction in module psycopg.errors

class InvalidArgumentForNthValueFunction(psycopg.DataError)
 |  InvalidArgumentForNthValueFunction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidArgumentForNthValueFunction
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22016'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidArgumentForNtileFunction
Python Library Documentation: class InvalidArgumentForNtileFunction in module psycopg.errors

class InvalidArgumentForNtileFunction(psycopg.DataError)
 |  InvalidArgumentForNtileFunction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidArgumentForNtileFunction
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22014'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidArgumentForPowerFunction
Python Library Documentation: class InvalidArgumentForPowerFunction in module psycopg.errors

class InvalidArgumentForPowerFunction(psycopg.DataError)
 |  InvalidArgumentForPowerFunction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidArgumentForPowerFunction
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2201F'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidArgumentForSqlJsonDatetimeFunction
Python Library Documentation: class InvalidArgumentForSqlJsonDatetimeFunction in module psycopg.errors

class InvalidArgumentForSqlJsonDatetimeFunction(psycopg.DataError)
 |  InvalidArgumentForSqlJsonDatetimeFunction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidArgumentForSqlJsonDatetimeFunction
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22031'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidArgumentForWidthBucketFunction
Python Library Documentation: class InvalidArgumentForWidthBucketFunction in module psycopg.errors

class InvalidArgumentForWidthBucketFunction(psycopg.DataError)
 |  InvalidArgumentForWidthBucketFunction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidArgumentForWidthBucketFunction
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2201G'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidArgumentForXquery
Python Library Documentation: class InvalidArgumentForXquery in module psycopg.errors

class InvalidArgumentForXquery(psycopg.ProgrammingError)
 |  InvalidArgumentForXquery(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidArgumentForXquery
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '10608'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidAuthorizationSpecification
Python Library Documentation: class InvalidAuthorizationSpecification in module psycopg.errors

class InvalidAuthorizationSpecification(psycopg.OperationalError)
 |  InvalidAuthorizationSpecification(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidAuthorizationSpecification
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '28000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidBinaryRepresentation
Python Library Documentation: class InvalidBinaryRepresentation in module psycopg.errors

class InvalidBinaryRepresentation(psycopg.DataError)
 |  InvalidBinaryRepresentation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidBinaryRepresentation
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22P03'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidCatalogName
Python Library Documentation: class InvalidCatalogName in module psycopg.errors

class InvalidCatalogName(psycopg.ProgrammingError)
 |  InvalidCatalogName(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidCatalogName
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '3D000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidCharacterValueForCast
Python Library Documentation: class InvalidCharacterValueForCast in module psycopg.errors

class InvalidCharacterValueForCast(psycopg.DataError)
 |  InvalidCharacterValueForCast(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidCharacterValueForCast
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22018'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidColumnDefinition
Python Library Documentation: class InvalidColumnDefinition in module psycopg.errors

class InvalidColumnDefinition(psycopg.ProgrammingError)
 |  InvalidColumnDefinition(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidColumnDefinition
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42611'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidColumnReference
Python Library Documentation: class InvalidColumnReference in module psycopg.errors

class InvalidColumnReference(psycopg.ProgrammingError)
 |  InvalidColumnReference(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidColumnReference
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P10'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidCursorDefinition
Python Library Documentation: class InvalidCursorDefinition in module psycopg.errors

class InvalidCursorDefinition(psycopg.ProgrammingError)
 |  InvalidCursorDefinition(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidCursorDefinition
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P11'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidCursorName
Python Library Documentation: class InvalidCursorName in module psycopg.errors

class InvalidCursorName(psycopg.ProgrammingError)
 |  InvalidCursorName(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidCursorName
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '34000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidCursorState
Python Library Documentation: class InvalidCursorState in module psycopg.errors

class InvalidCursorState(psycopg.InternalError)
 |  InvalidCursorState(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidCursorState
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '24000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidDatabaseDefinition
Python Library Documentation: class InvalidDatabaseDefinition in module psycopg.errors

class InvalidDatabaseDefinition(psycopg.ProgrammingError)
 |  InvalidDatabaseDefinition(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidDatabaseDefinition
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P12'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidDatetimeFormat
Python Library Documentation: class InvalidDatetimeFormat in module psycopg.errors

class InvalidDatetimeFormat(psycopg.DataError)
 |  InvalidDatetimeFormat(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidDatetimeFormat
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22007'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidEscapeCharacter
Python Library Documentation: class InvalidEscapeCharacter in module psycopg.errors

class InvalidEscapeCharacter(psycopg.DataError)
 |  InvalidEscapeCharacter(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidEscapeCharacter
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22019'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidEscapeOctet
Python Library Documentation: class InvalidEscapeOctet in module psycopg.errors

class InvalidEscapeOctet(psycopg.DataError)
 |  InvalidEscapeOctet(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidEscapeOctet
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2200D'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidEscapeSequence
Python Library Documentation: class InvalidEscapeSequence in module psycopg.errors

class InvalidEscapeSequence(psycopg.DataError)
 |  InvalidEscapeSequence(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidEscapeSequence
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22025'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidForeignKey
Python Library Documentation: class InvalidForeignKey in module psycopg.errors

class InvalidForeignKey(psycopg.ProgrammingError)
 |  InvalidForeignKey(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidForeignKey
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42830'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidFunctionDefinition
Python Library Documentation: class InvalidFunctionDefinition in module psycopg.errors

class InvalidFunctionDefinition(psycopg.ProgrammingError)
 |  InvalidFunctionDefinition(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidFunctionDefinition
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P13'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidGrantOperation
Python Library Documentation: class InvalidGrantOperation in module psycopg.errors

class InvalidGrantOperation(psycopg.DatabaseError)
 |  InvalidGrantOperation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidGrantOperation
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '0LP01'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidGrantor
Python Library Documentation: class InvalidGrantor in module psycopg.errors

class InvalidGrantor(psycopg.DatabaseError)
 |  InvalidGrantor(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidGrantor
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '0L000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidIndicatorParameterValue
Python Library Documentation: class InvalidIndicatorParameterValue in module psycopg.errors

class InvalidIndicatorParameterValue(psycopg.DataError)
 |  InvalidIndicatorParameterValue(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidIndicatorParameterValue
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22010'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidJsonText
Python Library Documentation: class InvalidJsonText in module psycopg.errors

class InvalidJsonText(psycopg.DataError)
 |  InvalidJsonText(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidJsonText
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22032'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidLocatorSpecification
Python Library Documentation: class InvalidLocatorSpecification in module psycopg.errors

class InvalidLocatorSpecification(psycopg.DatabaseError)
 |  InvalidLocatorSpecification(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidLocatorSpecification
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '0F001'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidName
Python Library Documentation: class InvalidName in module psycopg.errors

class InvalidName(psycopg.ProgrammingError)
 |  InvalidName(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidName
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42602'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidObjectDefinition
Python Library Documentation: class InvalidObjectDefinition in module psycopg.errors

class InvalidObjectDefinition(psycopg.ProgrammingError)
 |  InvalidObjectDefinition(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidObjectDefinition
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P17'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidParameterValue
Python Library Documentation: class InvalidParameterValue in module psycopg.errors

class InvalidParameterValue(psycopg.DataError)
 |  InvalidParameterValue(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidParameterValue
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22023'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidPassword
Python Library Documentation: class InvalidPassword in module psycopg.errors

class InvalidPassword(psycopg.OperationalError)
 |  InvalidPassword(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidPassword
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '28P01'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidPrecedingOrFollowingSize
Python Library Documentation: class InvalidPrecedingOrFollowingSize in module psycopg.errors

class InvalidPrecedingOrFollowingSize(psycopg.DataError)
 |  InvalidPrecedingOrFollowingSize(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidPrecedingOrFollowingSize
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22013'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidPreparedStatementDefinition
Python Library Documentation: class InvalidPreparedStatementDefinition in module psycopg.errors

class InvalidPreparedStatementDefinition(psycopg.ProgrammingError)
 |  InvalidPreparedStatementDefinition(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidPreparedStatementDefinition
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P14'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidRecursion
Python Library Documentation: class InvalidRecursion in module psycopg.errors

class InvalidRecursion(psycopg.ProgrammingError)
 |  InvalidRecursion(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidRecursion
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P19'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidRegularExpression
Python Library Documentation: class InvalidRegularExpression in module psycopg.errors

class InvalidRegularExpression(psycopg.DataError)
 |  InvalidRegularExpression(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidRegularExpression
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2201B'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidRoleSpecification
Python Library Documentation: class InvalidRoleSpecification in module psycopg.errors

class InvalidRoleSpecification(psycopg.DatabaseError)
 |  InvalidRoleSpecification(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidRoleSpecification
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '0P000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidRowCountInLimitClause
Python Library Documentation: class InvalidRowCountInLimitClause in module psycopg.errors

class InvalidRowCountInLimitClause(psycopg.DataError)
 |  InvalidRowCountInLimitClause(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidRowCountInLimitClause
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2201W'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidRowCountInResultOffsetClause
Python Library Documentation: class InvalidRowCountInResultOffsetClause in module psycopg.errors

class InvalidRowCountInResultOffsetClause(psycopg.DataError)
 |  InvalidRowCountInResultOffsetClause(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidRowCountInResultOffsetClause
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2201X'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidSavepointSpecification
Python Library Documentation: class InvalidSavepointSpecification in module psycopg.errors

class InvalidSavepointSpecification(psycopg.OperationalError)
 |  InvalidSavepointSpecification(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidSavepointSpecification
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '3B001'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidSchemaDefinition
Python Library Documentation: class InvalidSchemaDefinition in module psycopg.errors

class InvalidSchemaDefinition(psycopg.ProgrammingError)
 |  InvalidSchemaDefinition(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidSchemaDefinition
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P15'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidSchemaName
Python Library Documentation: class InvalidSchemaName in module psycopg.errors

class InvalidSchemaName(psycopg.ProgrammingError)
 |  InvalidSchemaName(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidSchemaName
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '3F000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidSqlJsonSubscript
Python Library Documentation: class InvalidSqlJsonSubscript in module psycopg.errors

class InvalidSqlJsonSubscript(psycopg.DataError)
 |  InvalidSqlJsonSubscript(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidSqlJsonSubscript
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22033'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidSqlStatementName
Python Library Documentation: class InvalidSqlStatementName in module psycopg.errors

class InvalidSqlStatementName(psycopg.ProgrammingError)
 |  InvalidSqlStatementName(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidSqlStatementName
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '26000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidSqlstateReturned
Python Library Documentation: class InvalidSqlstateReturned in module psycopg.errors

class InvalidSqlstateReturned(psycopg.OperationalError)
 |  InvalidSqlstateReturned(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidSqlstateReturned
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '39001'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidTableDefinition
Python Library Documentation: class InvalidTableDefinition in module psycopg.errors

class InvalidTableDefinition(psycopg.ProgrammingError)
 |  InvalidTableDefinition(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidTableDefinition
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P16'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidTablesampleArgument
Python Library Documentation: class InvalidTablesampleArgument in module psycopg.errors

class InvalidTablesampleArgument(psycopg.DataError)
 |  InvalidTablesampleArgument(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidTablesampleArgument
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2202H'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidTablesampleRepeat
Python Library Documentation: class InvalidTablesampleRepeat in module psycopg.errors

class InvalidTablesampleRepeat(psycopg.DataError)
 |  InvalidTablesampleRepeat(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidTablesampleRepeat
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2202G'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidTextRepresentation
Python Library Documentation: class InvalidTextRepresentation in module psycopg.errors

class InvalidTextRepresentation(psycopg.DataError)
 |  InvalidTextRepresentation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidTextRepresentation
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22P02'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidTimeZoneDisplacementValue
Python Library Documentation: class InvalidTimeZoneDisplacementValue in module psycopg.errors

class InvalidTimeZoneDisplacementValue(psycopg.DataError)
 |  InvalidTimeZoneDisplacementValue(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidTimeZoneDisplacementValue
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22009'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidTransactionInitiation
Python Library Documentation: class InvalidTransactionInitiation in module psycopg.errors

class InvalidTransactionInitiation(psycopg.DatabaseError)
 |  InvalidTransactionInitiation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidTransactionInitiation
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '0B000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidTransactionState
Python Library Documentation: class InvalidTransactionState in module psycopg.errors

class InvalidTransactionState(psycopg.InternalError)
 |  InvalidTransactionState(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidTransactionState
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '25000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidTransactionTermination
Python Library Documentation: class InvalidTransactionTermination in module psycopg.errors

class InvalidTransactionTermination(psycopg.InternalError)
 |  InvalidTransactionTermination(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidTransactionTermination
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2D000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidUseOfEscapeCharacter
Python Library Documentation: class InvalidUseOfEscapeCharacter in module psycopg.errors

class InvalidUseOfEscapeCharacter(psycopg.DataError)
 |  InvalidUseOfEscapeCharacter(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidUseOfEscapeCharacter
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2200C'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidXmlComment
Python Library Documentation: class InvalidXmlComment in module psycopg.errors

class InvalidXmlComment(psycopg.DataError)
 |  InvalidXmlComment(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidXmlComment
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2200S'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidXmlContent
Python Library Documentation: class InvalidXmlContent in module psycopg.errors

class InvalidXmlContent(psycopg.DataError)
 |  InvalidXmlContent(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidXmlContent
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2200N'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidXmlDocument
Python Library Documentation: class InvalidXmlDocument in module psycopg.errors

class InvalidXmlDocument(psycopg.DataError)
 |  InvalidXmlDocument(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidXmlDocument
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2200M'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.InvalidXmlProcessingInstruction
Python Library Documentation: class InvalidXmlProcessingInstruction in module psycopg.errors

class InvalidXmlProcessingInstruction(psycopg.DataError)
 |  InvalidXmlProcessingInstruction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      InvalidXmlProcessingInstruction
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2200T'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.IoError
Python Library Documentation: class IoError in module psycopg.errors

class IoError(psycopg.OperationalError)
 |  IoError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      IoError
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '58030'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.LocatorException
Python Library Documentation: class LocatorException in module psycopg.errors

class LocatorException(psycopg.DatabaseError)
 |  LocatorException(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      LocatorException
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '0F000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.LockFileExists
Python Library Documentation: class LockFileExists in module psycopg.errors

class LockFileExists(psycopg.OperationalError)
 |  LockFileExists(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      LockFileExists
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'F0001'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.LockNotAvailable
Python Library Documentation: class LockNotAvailable in module psycopg.errors

class LockNotAvailable(psycopg.OperationalError)
 |  LockNotAvailable(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      LockNotAvailable
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '55P03'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ModifyingSqlDataNotPermitted
Python Library Documentation: class ModifyingSqlDataNotPermitted in module psycopg.errors

class ModifyingSqlDataNotPermitted(psycopg.OperationalError)
 |  ModifyingSqlDataNotPermitted(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ModifyingSqlDataNotPermitted
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2F002'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ModifyingSqlDataNotPermittedExt
Python Library Documentation: class ModifyingSqlDataNotPermittedExt in module psycopg.errors

class ModifyingSqlDataNotPermittedExt(psycopg.OperationalError)
 |  ModifyingSqlDataNotPermittedExt(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ModifyingSqlDataNotPermittedExt
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '38002'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.MoreThanOneSqlJsonItem
Python Library Documentation: class MoreThanOneSqlJsonItem in module psycopg.errors

class MoreThanOneSqlJsonItem(psycopg.DataError)
 |  MoreThanOneSqlJsonItem(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      MoreThanOneSqlJsonItem
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22034'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.MostSpecificTypeMismatch
Python Library Documentation: class MostSpecificTypeMismatch in module psycopg.errors

class MostSpecificTypeMismatch(psycopg.DataError)
 |  MostSpecificTypeMismatch(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      MostSpecificTypeMismatch
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2200G'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NameTooLong
Python Library Documentation: class NameTooLong in module psycopg.errors

class NameTooLong(psycopg.ProgrammingError)
 |  NameTooLong(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NameTooLong
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42622'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NoActiveSqlTransaction
Python Library Documentation: class NoActiveSqlTransaction in module psycopg.errors

class NoActiveSqlTransaction(psycopg.InternalError)
 |  NoActiveSqlTransaction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NoActiveSqlTransaction
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '25P01'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NoActiveSqlTransactionForBranchTransaction
Python Library Documentation: class NoActiveSqlTransactionForBranchTransaction in module psycopg.errors

class NoActiveSqlTransactionForBranchTransaction(psycopg.InternalError)
 |  NoActiveSqlTransactionForBranchTransaction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NoActiveSqlTransactionForBranchTransaction
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '25005'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NoAdditionalDynamicResultSetsReturned
Python Library Documentation: class NoAdditionalDynamicResultSetsReturned in module psycopg.errors

class NoAdditionalDynamicResultSetsReturned(psycopg.DatabaseError)
 |  NoAdditionalDynamicResultSetsReturned(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NoAdditionalDynamicResultSetsReturned
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '02001'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NoData
Python Library Documentation: class NoData in module psycopg.errors

class NoData(psycopg.DatabaseError)
 |  NoData(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NoData
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '02000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NoDataFound
Python Library Documentation: class NoDataFound in module psycopg.errors

class NoDataFound(psycopg.ProgrammingError)
 |  NoDataFound(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NoDataFound
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'P0002'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NoReturn
Python Library Documentation: _SpecialForm in module typing

NoReturn = typing.NoReturn
    Special type indicating functions that never return.

    Example::

        from typing import NoReturn

        def stop() -> NoReturn:
            raise Exception('no way')

    NoReturn can also be used as a bottom type, a type that
    has no values. Starting in Python 3.11, the Never type should
    be used for this concept instead. Type checkers should treat the two
    equivalently.
psycopg.errors.NoSqlJsonItem
Python Library Documentation: class NoSqlJsonItem in module psycopg.errors

class NoSqlJsonItem(psycopg.DataError)
 |  NoSqlJsonItem(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NoSqlJsonItem
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22035'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NonNumericSqlJsonItem
Python Library Documentation: class NonNumericSqlJsonItem in module psycopg.errors

class NonNumericSqlJsonItem(psycopg.DataError)
 |  NonNumericSqlJsonItem(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NonNumericSqlJsonItem
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22036'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NonUniqueKeysInAJsonObject
Python Library Documentation: class NonUniqueKeysInAJsonObject in module psycopg.errors

class NonUniqueKeysInAJsonObject(psycopg.DataError)
 |  NonUniqueKeysInAJsonObject(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NonUniqueKeysInAJsonObject
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22037'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NonstandardUseOfEscapeCharacter
Python Library Documentation: class NonstandardUseOfEscapeCharacter in module psycopg.errors

class NonstandardUseOfEscapeCharacter(psycopg.DataError)
 |  NonstandardUseOfEscapeCharacter(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NonstandardUseOfEscapeCharacter
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22P06'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NotAnXmlDocument
Python Library Documentation: class NotAnXmlDocument in module psycopg.errors

class NotAnXmlDocument(psycopg.DataError)
 |  NotAnXmlDocument(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NotAnXmlDocument
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2200L'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NotNullViolation
Python Library Documentation: class NotNullViolation in module psycopg.errors

class NotNullViolation(psycopg.IntegrityError)
 |  NotNullViolation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NotNullViolation
 |      psycopg.IntegrityError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '23502'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NotSupportedError
Python Library Documentation: class NotSupportedError in module psycopg

class NotSupportedError(DatabaseError)
 |  NotSupportedError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  A method or database API was used which is not supported by the database.
 |
 |  Method resolution order:
 |      NotSupportedError
 |      DatabaseError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NullValueNoIndicatorParameter
Python Library Documentation: class NullValueNoIndicatorParameter in module psycopg.errors

class NullValueNoIndicatorParameter(psycopg.DataError)
 |  NullValueNoIndicatorParameter(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NullValueNoIndicatorParameter
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22002'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NullValueNotAllowed
Python Library Documentation: class NullValueNotAllowed in module psycopg.errors

class NullValueNotAllowed(psycopg.DataError)
 |  NullValueNotAllowed(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NullValueNotAllowed
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22004'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NullValueNotAllowedExt
Python Library Documentation: class NullValueNotAllowedExt in module psycopg.errors

class NullValueNotAllowedExt(psycopg.OperationalError)
 |  NullValueNotAllowedExt(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NullValueNotAllowedExt
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '39004'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.NumericValueOutOfRange
Python Library Documentation: class NumericValueOutOfRange in module psycopg.errors

class NumericValueOutOfRange(psycopg.DataError)
 |  NumericValueOutOfRange(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      NumericValueOutOfRange
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22003'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ObjectInUse
Python Library Documentation: class ObjectInUse in module psycopg.errors

class ObjectInUse(psycopg.OperationalError)
 |  ObjectInUse(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ObjectInUse
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '55006'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ObjectNotInPrerequisiteState
Python Library Documentation: class ObjectNotInPrerequisiteState in module psycopg.errors

class ObjectNotInPrerequisiteState(psycopg.OperationalError)
 |  ObjectNotInPrerequisiteState(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ObjectNotInPrerequisiteState
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '55000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.OperationalError
Python Library Documentation: class OperationalError in module psycopg

class OperationalError(DatabaseError)
 |  OperationalError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  An error related to the database's operation.
 |
 |  These errors are not necessarily under the control of the programmer, e.g.
 |  an unexpected disconnect occurs, the data source name is not found, a
 |  transaction could not be processed, a memory allocation error occurred
 |  during processing, etc.
 |
 |  Method resolution order:
 |      OperationalError
 |      DatabaseError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.OperatorIntervention
Python Library Documentation: class OperatorIntervention in module psycopg.errors

class OperatorIntervention(psycopg.OperationalError)
 |  OperatorIntervention(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      OperatorIntervention
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '57000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.OutOfMemory
Python Library Documentation: class OutOfMemory in module psycopg.errors

class OutOfMemory(psycopg.OperationalError)
 |  OutOfMemory(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      OutOfMemory
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '53200'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.PGconn
Python Library Documentation: class PGconn in module psycopg.pq.abc

class PGconn(typing.Protocol)
 |  PGconn(*args, **kwargs)
 |
 |  Method resolution order:
 |      PGconn
 |      typing.Protocol
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __init__ = _no_init_or_replace_init(self, *args, **kwargs) from typing
 |
 |  cancel_conn(self) -> 'PGcancelConn'
 |
 |  change_password(self, user: 'bytes', passwd: 'bytes') -> 'None'
 |
 |  close_portal(self, name: 'bytes') -> 'PGresult'
 |
 |  close_prepared(self, name: 'bytes') -> 'PGresult'
 |
 |  connect_poll(self) -> 'int'
 |
 |  consume_input(self) -> 'None'
 |
 |  describe_portal(self, name: 'bytes') -> 'PGresult'
 |
 |  describe_prepared(self, name: 'bytes') -> 'PGresult'
 |
 |  encrypt_password(self, passwd: 'bytes', user: 'bytes', algorithm: 'bytes | None' = None) -> 'bytes'
 |
 |  enter_pipeline_mode(self) -> 'None'
 |
 |  exec_(self, command: 'bytes') -> 'PGresult'
 |
 |  exec_params(self, command: 'bytes', param_values: 'Sequence[Buffer | None] | None', param_types: 'Sequence[int] | None' = None, param_formats: 'Sequence[int] | None' = None, result_format: 'int' = <Format.TEXT: 0>) -> 'PGresult'
 |
 |  exec_prepared(self, name: 'bytes', param_values: 'Sequence[Buffer] | None', param_formats: 'Sequence[int] | None' = None, result_format: 'int' = 0) -> 'PGresult'
 |
 |  exit_pipeline_mode(self) -> 'None'
 |
 |  finish(self) -> 'None'
 |
 |  flush(self) -> 'int'
 |
 |  get_cancel(self) -> 'PGcancel'
 |
 |  get_copy_data(self, async_: 'int') -> 'tuple[int, memoryview]'
 |
 |  get_error_message(self, encoding: 'str' = Ellipsis) -> 'str'
 |
 |  get_result(self) -> 'PGresult | None'
 |
 |  is_busy(self) -> 'int'
 |
 |  make_empty_result(self, exec_status: 'int') -> 'PGresult'
 |
 |  notifies(self) -> 'PGnotify | None'
 |
 |  parameter_status(self, name: 'bytes') -> 'bytes | None'
 |
 |  pipeline_sync(self) -> 'None'
 |
 |  prepare(self, name: 'bytes', command: 'bytes', param_types: 'Sequence[int] | None' = None) -> 'PGresult'
 |
 |  put_copy_data(self, buffer: 'Buffer') -> 'int'
 |
 |  put_copy_end(self, error: 'bytes | None' = None) -> 'int'
 |
 |  reset(self) -> 'None'
 |
 |  reset_poll(self) -> 'int'
 |
 |  reset_start(self) -> 'None'
 |
 |  send_close_portal(self, name: 'bytes') -> 'None'
 |
 |  send_close_prepared(self, name: 'bytes') -> 'None'
 |
 |  send_describe_portal(self, name: 'bytes') -> 'None'
 |
 |  send_describe_prepared(self, name: 'bytes') -> 'None'
 |
 |  send_flush_request(self) -> 'None'
 |
 |  send_prepare(self, name: 'bytes', command: 'bytes', param_types: 'Sequence[int] | None' = None) -> 'None'
 |
 |  send_query(self, command: 'bytes') -> 'None'
 |
 |  send_query_params(self, command: 'bytes', param_values: 'Sequence[Buffer | None] | None', param_types: 'Sequence[int] | None' = None, param_formats: 'Sequence[int] | None' = None, result_format: 'int' = <Format.TEXT: 0>) -> 'None'
 |
 |  send_query_prepared(self, name: 'bytes', param_values: 'Sequence[Buffer | None] | None', param_formats: 'Sequence[int] | None' = None, result_format: 'int' = <Format.TEXT: 0>) -> 'None'
 |
 |  set_chunked_rows_mode(self, size: 'int') -> 'None'
 |
 |  set_single_row_mode(self) -> 'None'
 |
 |  set_trace_flags(self, flags: 'Trace') -> 'None'
 |
 |  trace(self, fileno: 'int') -> 'None'
 |
 |  untrace(self) -> 'None'
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  __subclasshook__ = _proto_hook(other) from typing
 |
 |  connect(conninfo: 'bytes') -> 'Self'
 |
 |  connect_start(conninfo: 'bytes') -> 'Self'
 |
 |  ping(conninfo: 'bytes') -> 'int'
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties defined here:
 |
 |  backend_pid
 |
 |  db
 |
 |  error_message
 |
 |  full_protocol_version
 |
 |  host
 |
 |  hostaddr
 |
 |  info
 |
 |  needs_password
 |
 |  options
 |
 |  password
 |
 |  pipeline_status
 |
 |  port
 |
 |  protocol_version
 |
 |  server_version
 |
 |  socket
 |
 |  ssl_in_use
 |
 |  status
 |
 |  transaction_status
 |
 |  tty
 |
 |  used_gssapi
 |
 |  used_password
 |
 |  user
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  nonblocking
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __annotations__ = {'notice_handler': 'Callable[[PGresult], None] | Non...
 |
 |  __parameters__ = ()
 |
 |  __protocol_attrs__ = {'_encoding', 'backend_pid', 'cancel_conn', 'chan...
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Protocol:
 |
 |  __init_subclass__(*args, **kwargs)
 |      Function to initialize subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
psycopg.errors.PGresult
Python Library Documentation: class PGresult in module psycopg.pq.abc

class PGresult(typing.Protocol)
 |  PGresult(*args, **kwargs)
 |
 |  Method resolution order:
 |      PGresult
 |      typing.Protocol
 |      typing.Generic
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __init__ = _no_init_or_replace_init(self, *args, **kwargs) from typing
 |
 |  clear(self) -> 'None'
 |
 |  error_field(self, fieldcode: 'int') -> 'bytes | None'
 |
 |  fformat(self, column_number: 'int') -> 'int'
 |
 |  fmod(self, column_number: 'int') -> 'int'
 |
 |  fname(self, column_number: 'int') -> 'bytes | None'
 |
 |  fsize(self, column_number: 'int') -> 'int'
 |
 |  ftable(self, column_number: 'int') -> 'int'
 |
 |  ftablecol(self, column_number: 'int') -> 'int'
 |
 |  ftype(self, column_number: 'int') -> 'int'
 |
 |  get_error_message(self, encoding: 'str' = Ellipsis) -> 'str'
 |
 |  get_value(self, row_number: 'int', column_number: 'int') -> 'bytes | None'
 |
 |  param_type(self, param_number: 'int') -> 'int'
 |
 |  set_attributes(self, descriptions: 'list[PGresAttDesc]') -> 'None'
 |
 |  ----------------------------------------------------------------------
 |  Class methods defined here:
 |
 |  __subclasshook__ = _proto_hook(other) from typing
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties defined here:
 |
 |  binary_tuples
 |
 |  command_status
 |
 |  command_tuples
 |
 |  error_message
 |
 |  nfields
 |
 |  nparams
 |
 |  ntuples
 |
 |  oid_value
 |
 |  status
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset()
 |
 |  __annotations__ = {}
 |
 |  __parameters__ = ()
 |
 |  __protocol_attrs__ = {'binary_tuples', 'clear', 'command_status', 'com...
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Protocol:
 |
 |  __init_subclass__(*args, **kwargs)
 |      Function to initialize subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from typing.Generic:
 |
 |  __class_getitem__(...)
 |      Parameterizes a generic class.
 |
 |      At least, parameterizing a generic class is the *main* thing this
 |      method does. For example, for some generic class `Foo`, this is called
 |      when we do `Foo[int]` - there, with `cls=Foo` and `params=int`.
 |
 |      However, note that this method is also called when defining generic
 |      classes in the first place with `class Foo[T]: ...`.
psycopg.errors.PipelineAborted
Python Library Documentation: class PipelineAborted in module psycopg.errors

class PipelineAborted(psycopg.OperationalError)
 |  PipelineAborted(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Raised when a operation fails because the current pipeline is in aborted state.
 |
 |  Subclass of `~psycopg.OperationalError`.
 |
 |  Method resolution order:
 |      PipelineAborted
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from psycopg.Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.PipelineStatus
Python Library Documentation: class PipelineStatus in module psycopg.pq

class PipelineStatus(enum.IntEnum)
 |  PipelineStatus(*values)
 |
 |  Pipeline mode status of the libpq connection.
 |
 |  Method resolution order:
 |      PipelineStatus
 |      enum.IntEnum
 |      builtins.int
 |      enum.ReprEnum
 |      enum.Enum
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __format__(self, format_spec, /) from builtins.int
 |      Convert to a string according to format_spec.
 |
 |  __new__(cls, value) from enum.Enum
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  ABORTED = <PipelineStatus.ABORTED: 2>
 |
 |  OFF = <PipelineStatus.OFF: 0>
 |
 |  ON = <PipelineStatus.ON: 1>
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.IntEnum:
 |
 |  __repr__(self) from enum.Enum
 |      Return repr(self).
 |
 |  __str__ = __repr__(self, /) from builtins.int
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.int:
 |
 |  __abs__(self, /)
 |      abs(self)
 |
 |  __add__(self, value, /)
 |      Return self+value.
 |
 |  __and__(self, value, /)
 |      Return self&value.
 |
 |  __bool__(self, /)
 |      True if self else False
 |
 |  __ceil__(...)
 |      Ceiling of an Integral returns itself.
 |
 |  __divmod__(self, value, /)
 |      Return divmod(self, value).
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __float__(self, /)
 |      float(self)
 |
 |  __floor__(...)
 |      Flooring an Integral returns itself.
 |
 |  __floordiv__(self, value, /)
 |      Return self//value.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getnewargs__(self, /)
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __index__(self, /)
 |      Return self converted to an integer, if self is suitable for use as an index into a list.
 |
 |  __int__(self, /)
 |      int(self)
 |
 |  __invert__(self, /)
 |      ~self
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __lshift__(self, value, /)
 |      Return self<<value.
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __mod__(self, value, /)
 |      Return self%value.
 |
 |  __mul__(self, value, /)
 |      Return self*value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __neg__(self, /)
 |      -self
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __pos__(self, /)
 |      +self
 |
 |  __pow__(self, value, mod=None, /)
 |      Return pow(self, value, mod).
 |
 |  __radd__(self, value, /)
 |      Return value+self.
 |
 |  __rand__(self, value, /)
 |      Return value&self.
 |
 |  __rdivmod__(self, value, /)
 |      Return divmod(value, self).
 |
 |  __rfloordiv__(self, value, /)
 |      Return value//self.
 |
 |  __rlshift__(self, value, /)
 |      Return value<<self.
 |
 |  __rmod__(self, value, /)
 |      Return value%self.
 |
 |  __rmul__(self, value, /)
 |      Return value*self.
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  __round__(...)
 |      Rounding an Integral returns itself.
 |
 |      Rounding with an ndigits argument also returns an integer.
 |
 |  __rpow__(self, value, mod=None, /)
 |      Return pow(value, self, mod).
 |
 |  __rrshift__(self, value, /)
 |      Return value>>self.
 |
 |  __rshift__(self, value, /)
 |      Return self>>value.
 |
 |  __rsub__(self, value, /)
 |      Return value-self.
 |
 |  __rtruediv__(self, value, /)
 |      Return value/self.
 |
 |  __rxor__(self, value, /)
 |      Return value^self.
 |
 |  __sizeof__(self, /)
 |      Returns size in memory, in bytes.
 |
 |  __sub__(self, value, /)
 |      Return self-value.
 |
 |  __truediv__(self, value, /)
 |      Return self/value.
 |
 |  __trunc__(...)
 |      Truncating an Integral returns itself.
 |
 |  __xor__(self, value, /)
 |      Return self^value.
 |
 |  as_integer_ratio(self, /)
 |      Return a pair of integers, whose ratio is equal to the original int.
 |
 |      The ratio is in lowest terms and has a positive denominator.
 |
 |      >>> (10).as_integer_ratio()
 |      (10, 1)
 |      >>> (-10).as_integer_ratio()
 |      (-10, 1)
 |      >>> (0).as_integer_ratio()
 |      (0, 1)
 |
 |  bit_count(self, /)
 |      Number of ones in the binary representation of the absolute value of self.
 |
 |      Also known as the population count.
 |
 |      >>> bin(13)
 |      '0b1101'
 |      >>> (13).bit_count()
 |      3
 |
 |  bit_length(self, /)
 |      Number of bits necessary to represent self in binary.
 |
 |      >>> bin(37)
 |      '0b100101'
 |      >>> (37).bit_length()
 |      6
 |
 |  conjugate(...)
 |      Returns self, the complex conjugate of any int.
 |
 |  is_integer(self, /)
 |      Returns True. Exists for duck type compatibility with float.is_integer.
 |
 |  to_bytes(self, /, length=1, byteorder='big', *, signed=False)
 |      Return an array of bytes representing an integer.
 |
 |      length
 |        Length of bytes object to use.  An OverflowError is raised if the
 |        integer is not representable with the given number of bytes.  Default
 |        is length 1.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Determines whether two's complement is used to represent the integer.
 |        If signed is False and a negative integer is given, an OverflowError
 |        is raised.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from builtins.int:
 |
 |  from_bytes(bytes, byteorder='big', *, signed=False)
 |      Return the integer represented by the given array of bytes.
 |
 |      bytes
 |        Holds the array of bytes to convert.  The argument must either
 |        support the buffer protocol or be an iterable object producing bytes.
 |        Bytes and bytearray are examples of built-in objects that support the
 |        buffer protocol.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Indicates whether two's complement is used to represent the integer.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.int:
 |
 |  denominator
 |      the denominator of a rational number in lowest terms
 |
 |  imag
 |      the imaginary part of a complex number
 |
 |  numerator
 |      the numerator of a rational number in lowest terms
 |
 |  real
 |      the real part of a complex number
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.Enum:
 |
 |  __dir__(self)
 |      Returns public methods and other interesting attributes.
 |
 |  __init__(self, *args, **kwds)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce_ex__(self, proto)
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from enum.Enum:
 |
 |  name
 |      The name of the Enum member.
 |
 |  value
 |      The value of the Enum member.
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from enum.EnumType:
 |
 |  __contains__(value)
 |      Return True if `value` is in `cls`.
 |
 |      `value` is in `cls` if:
 |      1) `value` is a member of `cls`, or
 |      2) `value` is the value of one of the `cls`'s members.
 |
 |  __getitem__(name)
 |      Return the member matching `name`.
 |
 |  __iter__()
 |      Return members in definition order.
 |
 |  __len__()
 |      Return the number of members (no aliases)
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from enum.EnumType:
 |
 |  __members__
 |      Returns a mapping of member name->value.
 |
 |      This mapping lists all enum members, including aliases. Note that this
 |      is a read-only view of the internal mapping.
psycopg.errors.PlpgsqlError
Python Library Documentation: class PlpgsqlError in module psycopg.errors

class PlpgsqlError(psycopg.ProgrammingError)
 |  PlpgsqlError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      PlpgsqlError
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'P0000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ProgramLimitExceeded
Python Library Documentation: class ProgramLimitExceeded in module psycopg.errors

class ProgramLimitExceeded(psycopg.OperationalError)
 |  ProgramLimitExceeded(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ProgramLimitExceeded
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '54000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ProgrammingError
Python Library Documentation: class ProgrammingError in module psycopg

class ProgrammingError(DatabaseError)
 |  ProgrammingError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Exception raised for programming errors
 |
 |  Examples may be table not found or already exists, syntax error in the SQL
 |  statement, wrong number of parameters specified, etc.
 |
 |  Method resolution order:
 |      ProgrammingError
 |      DatabaseError
 |      Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from Error:
 |
 |  sqlstate = None
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ProhibitedSqlStatementAttempted
Python Library Documentation: class ProhibitedSqlStatementAttempted in module psycopg.errors

class ProhibitedSqlStatementAttempted(psycopg.OperationalError)
 |  ProhibitedSqlStatementAttempted(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ProhibitedSqlStatementAttempted
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2F003'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ProhibitedSqlStatementAttemptedExt
Python Library Documentation: class ProhibitedSqlStatementAttemptedExt in module psycopg.errors

class ProhibitedSqlStatementAttemptedExt(psycopg.OperationalError)
 |  ProhibitedSqlStatementAttemptedExt(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ProhibitedSqlStatementAttemptedExt
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '38003'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ProtocolViolation
Python Library Documentation: class ProtocolViolation in module psycopg.errors

class ProtocolViolation(psycopg.OperationalError)
 |  ProtocolViolation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ProtocolViolation
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '08P01'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.QueryCanceled
Python Library Documentation: class QueryCanceled in module psycopg.errors

class QueryCanceled(psycopg.OperationalError)
 |  QueryCanceled(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      QueryCanceled
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '57014'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.RaiseException
Python Library Documentation: class RaiseException in module psycopg.errors

class RaiseException(psycopg.ProgrammingError)
 |  RaiseException(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      RaiseException
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'P0001'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ReadOnlySqlTransaction
Python Library Documentation: class ReadOnlySqlTransaction in module psycopg.errors

class ReadOnlySqlTransaction(psycopg.InternalError)
 |  ReadOnlySqlTransaction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ReadOnlySqlTransaction
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '25006'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ReadingSqlDataNotPermitted
Python Library Documentation: class ReadingSqlDataNotPermitted in module psycopg.errors

class ReadingSqlDataNotPermitted(psycopg.OperationalError)
 |  ReadingSqlDataNotPermitted(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ReadingSqlDataNotPermitted
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2F004'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ReadingSqlDataNotPermittedExt
Python Library Documentation: class ReadingSqlDataNotPermittedExt in module psycopg.errors

class ReadingSqlDataNotPermittedExt(psycopg.OperationalError)
 |  ReadingSqlDataNotPermittedExt(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ReadingSqlDataNotPermittedExt
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '38004'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ReservedName
Python Library Documentation: class ReservedName in module psycopg.errors

class ReservedName(psycopg.ProgrammingError)
 |  ReservedName(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ReservedName
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42939'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.RestrictViolation
Python Library Documentation: class RestrictViolation in module psycopg.errors

class RestrictViolation(psycopg.IntegrityError)
 |  RestrictViolation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      RestrictViolation
 |      psycopg.IntegrityError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '23001'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SavepointException
Python Library Documentation: class SavepointException in module psycopg.errors

class SavepointException(psycopg.OperationalError)
 |  SavepointException(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SavepointException
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '3B000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SchemaAndDataStatementMixingNotSupported
Python Library Documentation: class SchemaAndDataStatementMixingNotSupported in module psycopg.errors

class SchemaAndDataStatementMixingNotSupported(psycopg.InternalError)
 |  SchemaAndDataStatementMixingNotSupported(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SchemaAndDataStatementMixingNotSupported
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '25007'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.Sequence
Python Library Documentation: class Sequence in module collections.abc

class Sequence(Reversible, Collection)
 |  All the operations on a read-only sequence.
 |
 |  Concrete subclasses must override __new__ or __init__,
 |  __getitem__, and __len__.
 |
 |  Method resolution order:
 |      Sequence
 |      Reversible
 |      Collection
 |      Sized
 |      Iterable
 |      Container
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __contains__(self, value)
 |
 |  __getitem__(self, index)
 |
 |  __iter__(self)
 |
 |  __reversed__(self)
 |
 |  count(self, value)
 |      S.count(value) -> integer -- return number of occurrences of value
 |
 |  index(self, value, start=0, stop=None)
 |      S.index(value, [start, [stop]]) -> integer -- return first index of value.
 |      Raises ValueError if the value is not present.
 |
 |      Supporting start and stop arguments is optional, but
 |      recommended.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  __abstractmethods__ = frozenset({'__getitem__', '__len__'})
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from Reversible:
 |
 |  __subclasshook__(C)
 |      Abstract classes can override this to customize issubclass().
 |
 |      This is invoked early on by abc.ABCMeta.__subclasscheck__().
 |      It should return True, False or NotImplemented.  If it returns
 |      NotImplemented, the normal algorithm is used.  Otherwise, it
 |      overrides the normal algorithm (and the outcome is cached).
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from Sized:
 |
 |  __len__(self)
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from Iterable:
 |
 |  __class_getitem__ = GenericAlias(...)
 |      Represent a PEP 585 generic type
 |
 |      E.g. for t = list[int], t.__origin__ is list and t.__args__ is (int,).
psycopg.errors.SequenceGeneratorLimitExceeded
Python Library Documentation: class SequenceGeneratorLimitExceeded in module psycopg.errors

class SequenceGeneratorLimitExceeded(psycopg.DataError)
 |  SequenceGeneratorLimitExceeded(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SequenceGeneratorLimitExceeded
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2200H'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SerializationFailure
Python Library Documentation: class SerializationFailure in module psycopg.errors

class SerializationFailure(psycopg.OperationalError)
 |  SerializationFailure(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SerializationFailure
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '40001'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SingletonSqlJsonItemRequired
Python Library Documentation: class SingletonSqlJsonItemRequired in module psycopg.errors

class SingletonSqlJsonItemRequired(psycopg.DataError)
 |  SingletonSqlJsonItemRequired(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SingletonSqlJsonItemRequired
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22038'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SnapshotTooOld
Python Library Documentation: class SnapshotTooOld in module psycopg.errors

class SnapshotTooOld(psycopg.DatabaseError)
 |  SnapshotTooOld(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SnapshotTooOld
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '72000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SqlJsonArrayNotFound
Python Library Documentation: class SqlJsonArrayNotFound in module psycopg.errors

class SqlJsonArrayNotFound(psycopg.DataError)
 |  SqlJsonArrayNotFound(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SqlJsonArrayNotFound
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22039'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SqlJsonItemCannotBeCastToTargetType
Python Library Documentation: class SqlJsonItemCannotBeCastToTargetType in module psycopg.errors

class SqlJsonItemCannotBeCastToTargetType(psycopg.DataError)
 |  SqlJsonItemCannotBeCastToTargetType(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SqlJsonItemCannotBeCastToTargetType
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2203G'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SqlJsonMemberNotFound
Python Library Documentation: class SqlJsonMemberNotFound in module psycopg.errors

class SqlJsonMemberNotFound(psycopg.DataError)
 |  SqlJsonMemberNotFound(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SqlJsonMemberNotFound
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2203A'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SqlJsonNumberNotFound
Python Library Documentation: class SqlJsonNumberNotFound in module psycopg.errors

class SqlJsonNumberNotFound(psycopg.DataError)
 |  SqlJsonNumberNotFound(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SqlJsonNumberNotFound
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2203B'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SqlJsonObjectNotFound
Python Library Documentation: class SqlJsonObjectNotFound in module psycopg.errors

class SqlJsonObjectNotFound(psycopg.DataError)
 |  SqlJsonObjectNotFound(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SqlJsonObjectNotFound
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2203C'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SqlJsonScalarRequired
Python Library Documentation: class SqlJsonScalarRequired in module psycopg.errors

class SqlJsonScalarRequired(psycopg.DataError)
 |  SqlJsonScalarRequired(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SqlJsonScalarRequired
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2203F'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SqlRoutineException
Python Library Documentation: class SqlRoutineException in module psycopg.errors

class SqlRoutineException(psycopg.OperationalError)
 |  SqlRoutineException(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SqlRoutineException
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2F000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SqlStatementNotYetComplete
Python Library Documentation: class SqlStatementNotYetComplete in module psycopg.errors

class SqlStatementNotYetComplete(psycopg.DatabaseError)
 |  SqlStatementNotYetComplete(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SqlStatementNotYetComplete
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '03000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SqlclientUnableToEstablishSqlconnection
Python Library Documentation: class SqlclientUnableToEstablishSqlconnection in module psycopg.errors

class SqlclientUnableToEstablishSqlconnection(psycopg.OperationalError)
 |  SqlclientUnableToEstablishSqlconnection(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SqlclientUnableToEstablishSqlconnection
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '08001'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SqlserverRejectedEstablishmentOfSqlconnection
Python Library Documentation: class SqlserverRejectedEstablishmentOfSqlconnection in module psycopg.errors

class SqlserverRejectedEstablishmentOfSqlconnection(psycopg.OperationalError)
 |  SqlserverRejectedEstablishmentOfSqlconnection(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SqlserverRejectedEstablishmentOfSqlconnection
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '08004'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SrfProtocolViolated
Python Library Documentation: class SrfProtocolViolated in module psycopg.errors

class SrfProtocolViolated(psycopg.OperationalError)
 |  SrfProtocolViolated(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SrfProtocolViolated
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '39P02'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.StackedDiagnosticsAccessedWithoutActiveHandler
Python Library Documentation: class StackedDiagnosticsAccessedWithoutActiveHandler in module psycopg.errors

class StackedDiagnosticsAccessedWithoutActiveHandler(psycopg.DatabaseError)
 |  StackedDiagnosticsAccessedWithoutActiveHandler(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      StackedDiagnosticsAccessedWithoutActiveHandler
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '0Z002'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.StatementCompletionUnknown
Python Library Documentation: class StatementCompletionUnknown in module psycopg.errors

class StatementCompletionUnknown(psycopg.OperationalError)
 |  StatementCompletionUnknown(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      StatementCompletionUnknown
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '40003'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.StatementTooComplex
Python Library Documentation: class StatementTooComplex in module psycopg.errors

class StatementTooComplex(psycopg.OperationalError)
 |  StatementTooComplex(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      StatementTooComplex
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '54001'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.StringDataLengthMismatch
Python Library Documentation: class StringDataLengthMismatch in module psycopg.errors

class StringDataLengthMismatch(psycopg.DataError)
 |  StringDataLengthMismatch(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      StringDataLengthMismatch
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22026'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.StringDataRightTruncation
Python Library Documentation: class StringDataRightTruncation in module psycopg.errors

class StringDataRightTruncation(psycopg.DataError)
 |  StringDataRightTruncation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      StringDataRightTruncation
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22001'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SubstringError
Python Library Documentation: class SubstringError in module psycopg.errors

class SubstringError(psycopg.DataError)
 |  SubstringError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SubstringError
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22011'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SyntaxError
Python Library Documentation: class SyntaxError in module psycopg.errors

class SyntaxError(psycopg.ProgrammingError)
 |  SyntaxError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SyntaxError
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42601'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SyntaxErrorOrAccessRuleViolation
Python Library Documentation: class SyntaxErrorOrAccessRuleViolation in module psycopg.errors

class SyntaxErrorOrAccessRuleViolation(psycopg.ProgrammingError)
 |  SyntaxErrorOrAccessRuleViolation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SyntaxErrorOrAccessRuleViolation
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.SystemError
Python Library Documentation: class SystemError in module psycopg.errors

class SystemError(psycopg.OperationalError)
 |  SystemError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      SystemError
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '58000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.TYPE_CHECKING
Python Library Documentation: bool object

class bool(int)
 |  bool(x) -> bool
 |
 |  Returns True when the argument x is true, False otherwise.
 |  The builtins True and False are the only two instances of the class bool.
 |  The class bool is a subclass of the class int, and cannot be subclassed.
 |
 |  Method resolution order:
 |      bool
 |      int
 |      object
 |
 |  Methods defined here:
 |
 |  __and__(self, value, /)
 |      Return self&value.
 |
 |  __invert__(self, /)
 |      ~self
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __rand__(self, value, /)
 |      Return value&self.
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  __rxor__(self, value, /)
 |      Return value^self.
 |
 |  __xor__(self, value, /)
 |      Return self^value.
 |
 |  ----------------------------------------------------------------------
 |  Static methods defined here:
 |
 |  __new__(*args, **kwargs)
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from int:
 |
 |  __abs__(self, /)
 |      abs(self)
 |
 |  __add__(self, value, /)
 |      Return self+value.
 |
 |  __bool__(self, /)
 |      True if self else False
 |
 |  __ceil__(...)
 |      Ceiling of an Integral returns itself.
 |
 |  __divmod__(self, value, /)
 |      Return divmod(self, value).
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __float__(self, /)
 |      float(self)
 |
 |  __floor__(...)
 |      Flooring an Integral returns itself.
 |
 |  __floordiv__(self, value, /)
 |      Return self//value.
 |
 |  __format__(self, format_spec, /)
 |      Convert to a string according to format_spec.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getnewargs__(self, /)
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __index__(self, /)
 |      Return self converted to an integer, if self is suitable for use as an index into a list.
 |
 |  __int__(self, /)
 |      int(self)
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __lshift__(self, value, /)
 |      Return self<<value.
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __mod__(self, value, /)
 |      Return self%value.
 |
 |  __mul__(self, value, /)
 |      Return self*value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __neg__(self, /)
 |      -self
 |
 |  __pos__(self, /)
 |      +self
 |
 |  __pow__(self, value, mod=None, /)
 |      Return pow(self, value, mod).
 |
 |  __radd__(self, value, /)
 |      Return value+self.
 |
 |  __rdivmod__(self, value, /)
 |      Return divmod(value, self).
 |
 |  __rfloordiv__(self, value, /)
 |      Return value//self.
 |
 |  __rlshift__(self, value, /)
 |      Return value<<self.
 |
 |  __rmod__(self, value, /)
 |      Return value%self.
 |
 |  __rmul__(self, value, /)
 |      Return value*self.
 |
 |  __round__(...)
 |      Rounding an Integral returns itself.
 |
 |      Rounding with an ndigits argument also returns an integer.
 |
 |  __rpow__(self, value, mod=None, /)
 |      Return pow(value, self, mod).
 |
 |  __rrshift__(self, value, /)
 |      Return value>>self.
 |
 |  __rshift__(self, value, /)
 |      Return self>>value.
 |
 |  __rsub__(self, value, /)
 |      Return value-self.
 |
 |  __rtruediv__(self, value, /)
 |      Return value/self.
 |
 |  __sizeof__(self, /)
 |      Returns size in memory, in bytes.
 |
 |  __sub__(self, value, /)
 |      Return self-value.
 |
 |  __truediv__(self, value, /)
 |      Return self/value.
 |
 |  __trunc__(...)
 |      Truncating an Integral returns itself.
 |
 |  as_integer_ratio(self, /)
 |      Return a pair of integers, whose ratio is equal to the original int.
 |
 |      The ratio is in lowest terms and has a positive denominator.
 |
 |      >>> (10).as_integer_ratio()
 |      (10, 1)
 |      >>> (-10).as_integer_ratio()
 |      (-10, 1)
 |      >>> (0).as_integer_ratio()
 |      (0, 1)
 |
 |  bit_count(self, /)
 |      Number of ones in the binary representation of the absolute value of self.
 |
 |      Also known as the population count.
 |
 |      >>> bin(13)
 |      '0b1101'
 |      >>> (13).bit_count()
 |      3
 |
 |  bit_length(self, /)
 |      Number of bits necessary to represent self in binary.
 |
 |      >>> bin(37)
 |      '0b100101'
 |      >>> (37).bit_length()
 |      6
 |
 |  conjugate(...)
 |      Returns self, the complex conjugate of any int.
 |
 |  is_integer(self, /)
 |      Returns True. Exists for duck type compatibility with float.is_integer.
 |
 |  to_bytes(self, /, length=1, byteorder='big', *, signed=False)
 |      Return an array of bytes representing an integer.
 |
 |      length
 |        Length of bytes object to use.  An OverflowError is raised if the
 |        integer is not representable with the given number of bytes.  Default
 |        is length 1.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Determines whether two's complement is used to represent the integer.
 |        If signed is False and a negative integer is given, an OverflowError
 |        is raised.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from int:
 |
 |  from_bytes(bytes, byteorder='big', *, signed=False)
 |      Return the integer represented by the given array of bytes.
 |
 |      bytes
 |        Holds the array of bytes to convert.  The argument must either
 |        support the buffer protocol or be an iterable object producing bytes.
 |        Bytes and bytearray are examples of built-in objects that support the
 |        buffer protocol.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Indicates whether two's complement is used to represent the integer.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from int:
 |
 |  denominator
 |      the denominator of a rational number in lowest terms
 |
 |  imag
 |      the imaginary part of a complex number
 |
 |  numerator
 |      the numerator of a rational number in lowest terms
 |
 |  real
 |      the real part of a complex number
psycopg.errors.TooManyArguments
Python Library Documentation: class TooManyArguments in module psycopg.errors

class TooManyArguments(psycopg.OperationalError)
 |  TooManyArguments(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      TooManyArguments
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '54023'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.TooManyColumns
Python Library Documentation: class TooManyColumns in module psycopg.errors

class TooManyColumns(psycopg.OperationalError)
 |  TooManyColumns(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      TooManyColumns
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '54011'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.TooManyConnections
Python Library Documentation: class TooManyConnections in module psycopg.errors

class TooManyConnections(psycopg.OperationalError)
 |  TooManyConnections(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      TooManyConnections
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '53300'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.TooManyJsonArrayElements
Python Library Documentation: class TooManyJsonArrayElements in module psycopg.errors

class TooManyJsonArrayElements(psycopg.DataError)
 |  TooManyJsonArrayElements(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      TooManyJsonArrayElements
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2203D'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.TooManyJsonObjectMembers
Python Library Documentation: class TooManyJsonObjectMembers in module psycopg.errors

class TooManyJsonObjectMembers(psycopg.DataError)
 |  TooManyJsonObjectMembers(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      TooManyJsonObjectMembers
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2203E'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.TooManyRows
Python Library Documentation: class TooManyRows in module psycopg.errors

class TooManyRows(psycopg.ProgrammingError)
 |  TooManyRows(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      TooManyRows
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = 'P0003'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.TransactionIntegrityConstraintViolation
Python Library Documentation: class TransactionIntegrityConstraintViolation in module psycopg.errors

class TransactionIntegrityConstraintViolation(psycopg.OperationalError)
 |  TransactionIntegrityConstraintViolation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      TransactionIntegrityConstraintViolation
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '40002'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.TransactionResolutionUnknown
Python Library Documentation: class TransactionResolutionUnknown in module psycopg.errors

class TransactionResolutionUnknown(psycopg.OperationalError)
 |  TransactionResolutionUnknown(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      TransactionResolutionUnknown
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '08007'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.TransactionRollback
Python Library Documentation: class TransactionRollback in module psycopg.errors

class TransactionRollback(psycopg.OperationalError)
 |  TransactionRollback(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      TransactionRollback
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '40000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.TransactionStatus
Python Library Documentation: class TransactionStatus in module psycopg.pq

class TransactionStatus(enum.IntEnum)
 |  TransactionStatus(*values)
 |
 |  The transaction status of a connection.
 |
 |  Method resolution order:
 |      TransactionStatus
 |      enum.IntEnum
 |      builtins.int
 |      enum.ReprEnum
 |      enum.Enum
 |      builtins.object
 |
 |  Methods defined here:
 |
 |  __format__(self, format_spec, /) from builtins.int
 |      Convert to a string according to format_spec.
 |
 |  __new__(cls, value) from enum.Enum
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |
 |  ACTIVE = <TransactionStatus.ACTIVE: 1>
 |
 |  IDLE = <TransactionStatus.IDLE: 0>
 |
 |  INERROR = <TransactionStatus.INERROR: 3>
 |
 |  INTRANS = <TransactionStatus.INTRANS: 2>
 |
 |  UNKNOWN = <TransactionStatus.UNKNOWN: 4>
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.IntEnum:
 |
 |  __repr__(self) from enum.Enum
 |      Return repr(self).
 |
 |  __str__ = __repr__(self, /) from builtins.int
 |      Return repr(self).
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.int:
 |
 |  __abs__(self, /)
 |      abs(self)
 |
 |  __add__(self, value, /)
 |      Return self+value.
 |
 |  __and__(self, value, /)
 |      Return self&value.
 |
 |  __bool__(self, /)
 |      True if self else False
 |
 |  __ceil__(...)
 |      Ceiling of an Integral returns itself.
 |
 |  __divmod__(self, value, /)
 |      Return divmod(self, value).
 |
 |  __eq__(self, value, /)
 |      Return self==value.
 |
 |  __float__(self, /)
 |      float(self)
 |
 |  __floor__(...)
 |      Flooring an Integral returns itself.
 |
 |  __floordiv__(self, value, /)
 |      Return self//value.
 |
 |  __ge__(self, value, /)
 |      Return self>=value.
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __getnewargs__(self, /)
 |
 |  __gt__(self, value, /)
 |      Return self>value.
 |
 |  __hash__(self, /)
 |      Return hash(self).
 |
 |  __index__(self, /)
 |      Return self converted to an integer, if self is suitable for use as an index into a list.
 |
 |  __int__(self, /)
 |      int(self)
 |
 |  __invert__(self, /)
 |      ~self
 |
 |  __le__(self, value, /)
 |      Return self<=value.
 |
 |  __lshift__(self, value, /)
 |      Return self<<value.
 |
 |  __lt__(self, value, /)
 |      Return self<value.
 |
 |  __mod__(self, value, /)
 |      Return self%value.
 |
 |  __mul__(self, value, /)
 |      Return self*value.
 |
 |  __ne__(self, value, /)
 |      Return self!=value.
 |
 |  __neg__(self, /)
 |      -self
 |
 |  __or__(self, value, /)
 |      Return self|value.
 |
 |  __pos__(self, /)
 |      +self
 |
 |  __pow__(self, value, mod=None, /)
 |      Return pow(self, value, mod).
 |
 |  __radd__(self, value, /)
 |      Return value+self.
 |
 |  __rand__(self, value, /)
 |      Return value&self.
 |
 |  __rdivmod__(self, value, /)
 |      Return divmod(value, self).
 |
 |  __rfloordiv__(self, value, /)
 |      Return value//self.
 |
 |  __rlshift__(self, value, /)
 |      Return value<<self.
 |
 |  __rmod__(self, value, /)
 |      Return value%self.
 |
 |  __rmul__(self, value, /)
 |      Return value*self.
 |
 |  __ror__(self, value, /)
 |      Return value|self.
 |
 |  __round__(...)
 |      Rounding an Integral returns itself.
 |
 |      Rounding with an ndigits argument also returns an integer.
 |
 |  __rpow__(self, value, mod=None, /)
 |      Return pow(value, self, mod).
 |
 |  __rrshift__(self, value, /)
 |      Return value>>self.
 |
 |  __rshift__(self, value, /)
 |      Return self>>value.
 |
 |  __rsub__(self, value, /)
 |      Return value-self.
 |
 |  __rtruediv__(self, value, /)
 |      Return value/self.
 |
 |  __rxor__(self, value, /)
 |      Return value^self.
 |
 |  __sizeof__(self, /)
 |      Returns size in memory, in bytes.
 |
 |  __sub__(self, value, /)
 |      Return self-value.
 |
 |  __truediv__(self, value, /)
 |      Return self/value.
 |
 |  __trunc__(...)
 |      Truncating an Integral returns itself.
 |
 |  __xor__(self, value, /)
 |      Return self^value.
 |
 |  as_integer_ratio(self, /)
 |      Return a pair of integers, whose ratio is equal to the original int.
 |
 |      The ratio is in lowest terms and has a positive denominator.
 |
 |      >>> (10).as_integer_ratio()
 |      (10, 1)
 |      >>> (-10).as_integer_ratio()
 |      (-10, 1)
 |      >>> (0).as_integer_ratio()
 |      (0, 1)
 |
 |  bit_count(self, /)
 |      Number of ones in the binary representation of the absolute value of self.
 |
 |      Also known as the population count.
 |
 |      >>> bin(13)
 |      '0b1101'
 |      >>> (13).bit_count()
 |      3
 |
 |  bit_length(self, /)
 |      Number of bits necessary to represent self in binary.
 |
 |      >>> bin(37)
 |      '0b100101'
 |      >>> (37).bit_length()
 |      6
 |
 |  conjugate(...)
 |      Returns self, the complex conjugate of any int.
 |
 |  is_integer(self, /)
 |      Returns True. Exists for duck type compatibility with float.is_integer.
 |
 |  to_bytes(self, /, length=1, byteorder='big', *, signed=False)
 |      Return an array of bytes representing an integer.
 |
 |      length
 |        Length of bytes object to use.  An OverflowError is raised if the
 |        integer is not representable with the given number of bytes.  Default
 |        is length 1.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Determines whether two's complement is used to represent the integer.
 |        If signed is False and a negative integer is given, an OverflowError
 |        is raised.
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from builtins.int:
 |
 |  from_bytes(bytes, byteorder='big', *, signed=False)
 |      Return the integer represented by the given array of bytes.
 |
 |      bytes
 |        Holds the array of bytes to convert.  The argument must either
 |        support the buffer protocol or be an iterable object producing bytes.
 |        Bytes and bytearray are examples of built-in objects that support the
 |        buffer protocol.
 |      byteorder
 |        The byte order used to represent the integer.  If byteorder is 'big',
 |        the most significant byte is at the beginning of the byte array.  If
 |        byteorder is 'little', the most significant byte is at the end of the
 |        byte array.  To request the native byte order of the host system, use
 |        `sys.byteorder' as the byte order value.  Default is to use 'big'.
 |      signed
 |        Indicates whether two's complement is used to represent the integer.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.int:
 |
 |  denominator
 |      the denominator of a rational number in lowest terms
 |
 |  imag
 |      the imaginary part of a complex number
 |
 |  numerator
 |      the numerator of a rational number in lowest terms
 |
 |  real
 |      the real part of a complex number
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from enum.Enum:
 |
 |  __dir__(self)
 |      Returns public methods and other interesting attributes.
 |
 |  __init__(self, *args, **kwds)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce_ex__(self, proto)
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from enum.Enum:
 |
 |  name
 |      The name of the Enum member.
 |
 |  value
 |      The value of the Enum member.
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from enum.EnumType:
 |
 |  __contains__(value)
 |      Return True if `value` is in `cls`.
 |
 |      `value` is in `cls` if:
 |      1) `value` is a member of `cls`, or
 |      2) `value` is the value of one of the `cls`'s members.
 |
 |  __getitem__(name)
 |      Return the member matching `name`.
 |
 |  __iter__()
 |      Return members in definition order.
 |
 |  __len__()
 |      Return the number of members (no aliases)
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from enum.EnumType:
 |
 |  __members__
 |      Returns a mapping of member name->value.
 |
 |      This mapping lists all enum members, including aliases. Note that this
 |      is a read-only view of the internal mapping.
psycopg.errors.TransactionTimeout
Python Library Documentation: class TransactionTimeout in module psycopg.errors

class TransactionTimeout(psycopg.InternalError)
 |  TransactionTimeout(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      TransactionTimeout
 |      psycopg.InternalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '25P04'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.TriggerProtocolViolated
Python Library Documentation: class TriggerProtocolViolated in module psycopg.errors

class TriggerProtocolViolated(psycopg.OperationalError)
 |  TriggerProtocolViolated(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      TriggerProtocolViolated
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '39P01'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.TriggeredActionException
Python Library Documentation: class TriggeredActionException in module psycopg.errors

class TriggeredActionException(psycopg.DatabaseError)
 |  TriggeredActionException(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      TriggeredActionException
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '09000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.TriggeredDataChangeViolation
Python Library Documentation: class TriggeredDataChangeViolation in module psycopg.errors

class TriggeredDataChangeViolation(psycopg.OperationalError)
 |  TriggeredDataChangeViolation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      TriggeredDataChangeViolation
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '27000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.TrimError
Python Library Documentation: class TrimError in module psycopg.errors

class TrimError(psycopg.DataError)
 |  TrimError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      TrimError
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22027'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.TypeAlias
Python Library Documentation: _SpecialForm in module typing

TypeAlias = typing.TypeAlias
    Special form for marking type aliases.

    Use TypeAlias to indicate that an assignment should
    be recognized as a proper type alias definition by type
    checkers.

    For example::

        Predicate: TypeAlias = Callable[..., bool]

    It's invalid when used anywhere except as in the example above.
psycopg.errors.TypeGuard
Python Library Documentation: _SpecialForm in module typing

TypeGuard = typing.TypeGuard
    Special typing construct for marking user-defined type guard functions.

    ``TypeGuard`` can be used to annotate the return type of a user-defined
    type guard function.  ``TypeGuard`` only accepts a single type argument.
    At runtime, functions marked this way should return a boolean.

    ``TypeGuard`` aims to benefit *type narrowing* -- a technique used by static
    type checkers to determine a more precise type of an expression within a
    program's code flow.  Usually type narrowing is done by analyzing
    conditional code flow and applying the narrowing to a block of code.  The
    conditional expression here is sometimes referred to as a "type guard".

    Sometimes it would be convenient to use a user-defined boolean function
    as a type guard.  Such a function should use ``TypeGuard[...]`` as its
    return type to alert static type checkers to this intention.

    Using  ``-> TypeGuard`` tells the static type checker that for a given
    function:

    1. The return value is a boolean.
    2. If the return value is ``True``, the type of its argument
       is the type inside ``TypeGuard``.

    For example::

         def is_str_list(val: list[object]) -> TypeGuard[list[str]]:
             '''Determines whether all objects in the list are strings'''
             return all(isinstance(x, str) for x in val)

         def func1(val: list[object]):
             if is_str_list(val):
                 # Type of ``val`` is narrowed to ``list[str]``.
                 print(" ".join(val))
             else:
                 # Type of ``val`` remains as ``list[object]``.
                 print("Not a list of strings!")

    Strict type narrowing is not enforced -- ``TypeB`` need not be a narrower
    form of ``TypeA`` (it can even be a wider form) and this may lead to
    type-unsafe results.  The main reason is to allow for things like
    narrowing ``list[object]`` to ``list[str]`` even though the latter is not
    a subtype of the former, since ``list`` is invariant.  The responsibility of
    writing type-safe type guards is left to the user.

    ``TypeGuard`` also works with type variables.  For more information, see
    PEP 647 (User-Defined Type Guards).
psycopg.errors.UndefinedColumn
Python Library Documentation: class UndefinedColumn in module psycopg.errors

class UndefinedColumn(psycopg.ProgrammingError)
 |  UndefinedColumn(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      UndefinedColumn
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42703'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.UndefinedFile
Python Library Documentation: class UndefinedFile in module psycopg.errors

class UndefinedFile(psycopg.OperationalError)
 |  UndefinedFile(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      UndefinedFile
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '58P01'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.UndefinedFunction
Python Library Documentation: class UndefinedFunction in module psycopg.errors

class UndefinedFunction(psycopg.ProgrammingError)
 |  UndefinedFunction(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      UndefinedFunction
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42883'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.UndefinedObject
Python Library Documentation: class UndefinedObject in module psycopg.errors

class UndefinedObject(psycopg.ProgrammingError)
 |  UndefinedObject(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      UndefinedObject
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42704'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.UndefinedParameter
Python Library Documentation: class UndefinedParameter in module psycopg.errors

class UndefinedParameter(psycopg.ProgrammingError)
 |  UndefinedParameter(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      UndefinedParameter
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P02'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.UndefinedTable
Python Library Documentation: class UndefinedTable in module psycopg.errors

class UndefinedTable(psycopg.ProgrammingError)
 |  UndefinedTable(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      UndefinedTable
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P01'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.UniqueViolation
Python Library Documentation: class UniqueViolation in module psycopg.errors

class UniqueViolation(psycopg.IntegrityError)
 |  UniqueViolation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      UniqueViolation
 |      psycopg.IntegrityError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '23505'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.UnsafeNewEnumValueUsage
Python Library Documentation: class UnsafeNewEnumValueUsage in module psycopg.errors

class UnsafeNewEnumValueUsage(psycopg.OperationalError)
 |  UnsafeNewEnumValueUsage(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      UnsafeNewEnumValueUsage
 |      psycopg.OperationalError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '55P04'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.UnterminatedCString
Python Library Documentation: class UnterminatedCString in module psycopg.errors

class UnterminatedCString(psycopg.DataError)
 |  UnterminatedCString(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      UnterminatedCString
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22024'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.UntranslatableCharacter
Python Library Documentation: class UntranslatableCharacter in module psycopg.errors

class UntranslatableCharacter(psycopg.DataError)
 |  UntranslatableCharacter(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      UntranslatableCharacter
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '22P05'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.Warning
Python Library Documentation: class Warning in module psycopg

class Warning(builtins.Exception)
 |  Exception raised for important warnings.
 |
 |  Defined for DBAPI compatibility, but never raised by ``psycopg``.
 |
 |  Method resolution order:
 |      Warning
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data descriptors defined here:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.Exception:
 |
 |  __init__(self, /, *args, **kwargs)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __reduce__(...)
 |      Helper for pickle.
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.WindowingError
Python Library Documentation: class WindowingError in module psycopg.errors

class WindowingError(psycopg.ProgrammingError)
 |  WindowingError(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      WindowingError
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42P20'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.WithCheckOptionViolation
Python Library Documentation: class WithCheckOptionViolation in module psycopg.errors

class WithCheckOptionViolation(psycopg.ProgrammingError)
 |  WithCheckOptionViolation(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      WithCheckOptionViolation
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '44000'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.WrongObjectType
Python Library Documentation: class WrongObjectType in module psycopg.errors

class WrongObjectType(psycopg.ProgrammingError)
 |  WrongObjectType(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      WrongObjectType
 |      psycopg.ProgrammingError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '42809'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.ZeroLengthCharacterString
Python Library Documentation: class ZeroLengthCharacterString in module psycopg.errors

class ZeroLengthCharacterString(psycopg.DataError)
 |  ZeroLengthCharacterString(*args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None)
 |
 |  Method resolution order:
 |      ZeroLengthCharacterString
 |      psycopg.DataError
 |      psycopg.DatabaseError
 |      psycopg.Error
 |      builtins.Exception
 |      builtins.BaseException
 |      builtins.object
 |
 |  Data and other attributes defined here:
 |
 |  __annotations__ = {}
 |
 |  sqlstate = '2200F'
 |
 |  ----------------------------------------------------------------------
 |  Class methods inherited from psycopg.DatabaseError:
 |
 |  __init_subclass__(code: 'str | None' = None, name: 'str | None' = None) from psycopg.errors.DatabaseError
 |      This method is called when a class is subclassed.
 |
 |      The default implementation does nothing. It may be
 |      overridden to extend subclasses.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from psycopg.Error:
 |
 |  __init__(self, *args: 'Sequence[Any]', info: 'ErrorInfo' = None, encoding: 'str' = 'utf-8', pgconn: 'PGconn | None' = None) from psycopg.errors.Error
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __reduce__(self) -> 'str | tuple[Any, ...]' from psycopg.errors.Error
 |      Helper for pickle.
 |
 |  ----------------------------------------------------------------------
 |  Readonly properties inherited from psycopg.Error:
 |
 |  diag
 |      A `Diagnostic` object to inspect details of the errors from the database.
 |
 |  pgconn
 |      The connection object, if the error was raised from a connection attempt.
 |
 |      :rtype: psycopg.pq.PGconn | None
 |
 |  pgresult
 |      The result object, if the exception was raised after a failed query.
 |
 |      :rtype: psycopg.pq.PGresult | None
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from psycopg.Error:
 |
 |  __weakref__
 |      list of weak references to the object
 |
 |  ----------------------------------------------------------------------
 |  Static methods inherited from builtins.Exception:
 |
 |  __new__(*args, **kwargs) class method of builtins.Exception
 |      Create and return a new object.  See help(type) for accurate signature.
 |
 |  ----------------------------------------------------------------------
 |  Methods inherited from builtins.BaseException:
 |
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |
 |  __repr__(self, /)
 |      Return repr(self).
 |
 |  __setstate__(...)
 |
 |  __str__(self, /)
 |      Return str(self).
 |
 |  add_note(...)
 |      Exception.add_note(note) --
 |      add a note to the exception
 |
 |  with_traceback(...)
 |      Exception.with_traceback(tb) --
 |      set self.__traceback__ to tb and return self.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from builtins.BaseException:
 |
 |  __cause__
 |      exception cause
 |
 |  __context__
 |      exception context
 |
 |  __dict__
 |
 |  __suppress_context__
 |
 |  __traceback__
 |
 |  args
psycopg.errors.annotations
Python Library Documentation: _Feature in module __future__ object

class _Feature(builtins.object)
 |  _Feature(optionalRelease, mandatoryRelease, compiler_flag)
 |
 |  Methods defined here:
 |
 |  __init__(self, optionalRelease, mandatoryRelease, compiler_flag)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |
 |  __repr__(self)
 |      Return repr(self).
 |
 |  getMandatoryRelease(self)
 |      Return release in which this feature will become mandatory.
 |
 |      This is a 5-tuple, of the same form as sys.version_info, or, if
 |      the feature was dropped, or the release date is undetermined, is None.
 |
 |  getOptionalRelease(self)
 |      Return first release in which this feature was recognized.
 |
 |      This is a 5-tuple, of the same form as sys.version_info.
 |
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |
 |  __dict__
 |      dictionary for instance variables
 |
 |  __weakref__
 |      list of weak references to the object
psycopg.errors.dataclass
Python Library Documentation: function dataclass in module dataclasses

dataclass(cls=None, /, *, init=True, repr=True, eq=True, order=False, unsafe_hash=False, frozen=False, match_args=True, kw_only=False, slots=False, weakref_slot=False)
    Add dunder methods based on the fields defined in the class.

    Examines PEP 526 __annotations__ to determine fields.

    If init is true, an __init__() method is added to the class. If repr
    is true, a __repr__() method is added. If order is true, rich
    comparison dunder methods are added. If unsafe_hash is true, a
    __hash__() method is added. If frozen is true, fields may not be
    assigned to after instance creation. If match_args is true, the
    __match_args__ tuple is added. If kw_only is true, then by default
    all fields are keyword-only. If slots is true, a new class with a
    __slots__ attribute is returned.
psycopg.errors.error_from_result
Python Library Documentation: function error_from_result in module psycopg.errors

error_from_result(result: 'PGresult', encoding: 'str' = 'utf-8') -> 'Error'
psycopg.errors.field
Python Library Documentation: function field in module dataclasses

field(*, default=<dataclasses._MISSING_TYPE object at 0x0000024310C13DD0>, default_factory=<dataclasses._MISSING_TYPE object at 0x0000024310C13DD0>, init=True, repr=True, hash=None, compare=True, metadata=None, kw_only=<dataclasses._MISSING_TYPE object at 0x0000024310C13DD0>)
    Return an object to identify dataclass fields.

    default is the default value of the field.  default_factory is a
    0-argument function called to initialize a field's value.  If init
    is true, the field will be a parameter to the class's __init__()
    function.  If repr is true, the field will be included in the
    object's repr().  If hash is true, the field will be included in the
    object's hash().  If compare is true, the field will be used in
    comparison functions.  metadata, if specified, must be a mapping
    which is stored but not otherwise examined by dataclass.  If kw_only
    is true, the field will become a keyword-only parameter to
    __init__().

    It is an error to specify both default and default_factory.
psycopg.errors.fields
Python Library Documentation: function fields in module dataclasses

fields(class_or_instance)
    Return a tuple describing the fields of this dataclass.

    Accepts a dataclass or an instance of one. Tuple elements are of
    type Field.
psycopg.errors.finish_pgconn
Python Library Documentation: function finish_pgconn in module psycopg.errors

finish_pgconn(pgconn: 'PGconn') -> 'PGconn'
psycopg.errors.get_base_exception
Python Library Documentation: function get_base_exception in module psycopg.errors

get_base_exception(sqlstate: 'str') -> 'type[Error]'
psycopg.errors.lookup
Python Library Documentation: function lookup in module psycopg.errors

lookup(sqlstate: 'str') -> 'type[Error]'
    Lookup an error code or `constant name`__ and return its exception class.

    Raise `!KeyError` if the code is not found.

    .. __: https://www.postgresql.org/docs/current/errcodes-appendix.html
            #ERRCODES-TABLE