| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- # dialects/postgresql/__init__.py
- # Copyright (C) 2005-2025 the SQLAlchemy authors and contributors
- # <see AUTHORS file>
- #
- # This module is part of SQLAlchemy and is released under
- # the MIT License: https://www.opensource.org/licenses/mit-license.php
- # mypy: ignore-errors
- from types import ModuleType
- from . import array as arraylib # noqa # keep above base and other dialects
- from . import asyncpg # noqa
- from . import base
- from . import pg8000 # noqa
- from . import psycopg # noqa
- from . import psycopg2 # noqa
- from . import psycopg2cffi # noqa
- from .array import All
- from .array import Any
- from .array import ARRAY
- from .array import array
- from .base import BIGINT
- from .base import BOOLEAN
- from .base import CHAR
- from .base import DATE
- from .base import DOMAIN
- from .base import DOUBLE_PRECISION
- from .base import FLOAT
- from .base import INTEGER
- from .base import NUMERIC
- from .base import REAL
- from .base import SMALLINT
- from .base import TEXT
- from .base import UUID
- from .base import VARCHAR
- from .dml import Insert
- from .dml import insert
- from .ext import aggregate_order_by
- from .ext import array_agg
- from .ext import ExcludeConstraint
- from .ext import phraseto_tsquery
- from .ext import plainto_tsquery
- from .ext import to_tsquery
- from .ext import to_tsvector
- from .ext import ts_headline
- from .ext import websearch_to_tsquery
- from .hstore import HSTORE
- from .hstore import hstore
- from .json import JSON
- from .json import JSONB
- from .json import JSONPATH
- from .named_types import CreateDomainType
- from .named_types import CreateEnumType
- from .named_types import DropDomainType
- from .named_types import DropEnumType
- from .named_types import ENUM
- from .named_types import NamedType
- from .ranges import AbstractMultiRange
- from .ranges import AbstractRange
- from .ranges import AbstractSingleRange
- from .ranges import DATEMULTIRANGE
- from .ranges import DATERANGE
- from .ranges import INT4MULTIRANGE
- from .ranges import INT4RANGE
- from .ranges import INT8MULTIRANGE
- from .ranges import INT8RANGE
- from .ranges import MultiRange
- from .ranges import NUMMULTIRANGE
- from .ranges import NUMRANGE
- from .ranges import Range
- from .ranges import TSMULTIRANGE
- from .ranges import TSRANGE
- from .ranges import TSTZMULTIRANGE
- from .ranges import TSTZRANGE
- from .types import BIT
- from .types import BYTEA
- from .types import CIDR
- from .types import CITEXT
- from .types import INET
- from .types import INTERVAL
- from .types import MACADDR
- from .types import MACADDR8
- from .types import MONEY
- from .types import OID
- from .types import REGCLASS
- from .types import REGCONFIG
- from .types import TIME
- from .types import TIMESTAMP
- from .types import TSQUERY
- from .types import TSVECTOR
- # Alias psycopg also as psycopg_async
- psycopg_async = type(
- "psycopg_async", (ModuleType,), {"dialect": psycopg.dialect_async}
- )
- base.dialect = dialect = psycopg2.dialect
- __all__ = (
- "INTEGER",
- "BIGINT",
- "SMALLINT",
- "VARCHAR",
- "CHAR",
- "TEXT",
- "NUMERIC",
- "FLOAT",
- "REAL",
- "INET",
- "CIDR",
- "CITEXT",
- "UUID",
- "BIT",
- "MACADDR",
- "MACADDR8",
- "MONEY",
- "OID",
- "REGCLASS",
- "REGCONFIG",
- "TSQUERY",
- "TSVECTOR",
- "DOUBLE_PRECISION",
- "TIMESTAMP",
- "TIME",
- "DATE",
- "BYTEA",
- "BOOLEAN",
- "INTERVAL",
- "ARRAY",
- "ENUM",
- "DOMAIN",
- "dialect",
- "array",
- "HSTORE",
- "hstore",
- "INT4RANGE",
- "INT8RANGE",
- "NUMRANGE",
- "DATERANGE",
- "INT4MULTIRANGE",
- "INT8MULTIRANGE",
- "NUMMULTIRANGE",
- "DATEMULTIRANGE",
- "TSVECTOR",
- "TSRANGE",
- "TSTZRANGE",
- "TSMULTIRANGE",
- "TSTZMULTIRANGE",
- "JSON",
- "JSONB",
- "JSONPATH",
- "Any",
- "All",
- "DropEnumType",
- "DropDomainType",
- "CreateDomainType",
- "NamedType",
- "CreateEnumType",
- "ExcludeConstraint",
- "Range",
- "aggregate_order_by",
- "array_agg",
- "insert",
- "Insert",
- )
|