z" > d Z ddlmZmZmZmZmZmZmZm Z m Z mZmZm Z mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ ddlmZ e j! e"e j# e j! e$d e j% ddl&m'Z' ddlm'Z( e j! e'e( ['[(ddZ)dS )a A Python driver for PostgreSQL psycopg is a PostgreSQL_ database adapter for the Python_ programming language. This is version 2, a complete rewrite of the original code to provide new-style classes for connection and cursor objects and other sweet candies. Like the original, psycopg 2 was written with the aim of being very small and fast, and stable as a rock. Homepage: https://psycopg.org/ .. _PostgreSQL: https://www.postgresql.org/ .. _Python: https://www.python.org/ :Groups: * `Connections creation`: connect * `Value objects constructors`: Binary, Date, DateFromTicks, Time, TimeFromTicks, Timestamp, TimestampFromTicks )BINARYNUMBERSTRINGDATETIMEROWIDBinaryDateTime Timestamp DateFromTicks TimeFromTicksTimestampFromTicksErrorWarning DataError DatabaseErrorProgrammingErrorIntegrityErrorInterfaceError InternalErrorNotSupportedErrorOperationalError_connectapilevelthreadsafety paramstyle__version____libpq_version__) extensionsN)Decimalc i }d|v r| d |d<