mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-29 20:14:55 -04:00
cda08307be
- don't need a custom exception here, just use ValueError
23 lines
900 B
Python
23 lines
900 B
Python
# postgresql/__init__.py
|
|
# Copyright (C) 2005-2012 the SQLAlchemy authors and contributors <see AUTHORS file>
|
|
#
|
|
# This module is part of SQLAlchemy and is released under
|
|
# the MIT License: http://www.opensource.org/licenses/mit-license.php
|
|
|
|
from . import base, psycopg2, pg8000, pypostgresql, zxjdbc
|
|
|
|
base.dialect = psycopg2.dialect
|
|
|
|
from .base import \
|
|
INTEGER, BIGINT, SMALLINT, VARCHAR, CHAR, TEXT, NUMERIC, FLOAT, REAL, \
|
|
INET, CIDR, UUID, BIT, MACADDR, DOUBLE_PRECISION, TIMESTAMP, TIME, \
|
|
DATE, BYTEA, BOOLEAN, INTERVAL, ARRAY, ENUM, dialect, array
|
|
from .hstore import HSTORE, hstore
|
|
|
|
__all__ = (
|
|
'INTEGER', 'BIGINT', 'SMALLINT', 'VARCHAR', 'CHAR', 'TEXT', 'NUMERIC',
|
|
'FLOAT', 'REAL', 'INET', 'CIDR', 'UUID', 'BIT', 'MACADDR',
|
|
'DOUBLE_PRECISION', 'TIMESTAMP', 'TIME', 'DATE', 'BYTEA', 'BOOLEAN',
|
|
'INTERVAL', 'ARRAY', 'ENUM', 'dialect', 'array', 'HSTORE', 'hstore'
|
|
)
|