$24 GRAYBYTE WORDPRESS FILE MANAGER $93

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/lib64/python2.7/site-packages/sqlalchemy/dialects/postgresql/

HOME
Current File : /lib64/python2.7/site-packages/sqlalchemy/dialects/postgresql//psycopg2cffi.py
# dialects/postgresql/psycopg2cffi.py
# Copyright (C) 2005-2024 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
r"""
.. dialect:: postgresql+psycopg2cffi
    :name: psycopg2cffi
    :dbapi: psycopg2cffi
    :connectstring: postgresql+psycopg2cffi://user:password@host:port/dbname[?key=value&key=value...]
    :url: https://pypi.org/project/psycopg2cffi/

``psycopg2cffi`` is an adaptation of ``psycopg2``, using CFFI for the C
layer. This makes it suitable for use in e.g. PyPy. Documentation
is as per ``psycopg2``.

.. versionadded:: 1.0.0

.. seealso::

    :mod:`sqlalchemy.dialects.postgresql.psycopg2`

"""  # noqa
from .psycopg2 import PGDialect_psycopg2


class PGDialect_psycopg2cffi(PGDialect_psycopg2):
    driver = "psycopg2cffi"
    supports_unicode_statements = True
    supports_statement_cache = True

    # psycopg2cffi's first release is 2.5.0, but reports
    # __version__ as 2.4.4.  Subsequent releases seem to have
    # fixed this.

    FEATURE_VERSION_MAP = dict(
        native_json=(2, 4, 4),
        native_jsonb=(2, 7, 1),
        sane_multi_rowcount=(2, 4, 4),
        array_oid=(2, 4, 4),
        hstore_adapter=(2, 4, 4),
    )

    @classmethod
    def dbapi(cls):
        return __import__("psycopg2cffi")

    @classmethod
    def _psycopg2_extensions(cls):
        root = __import__("psycopg2cffi", fromlist=["extensions"])
        return root.extensions

    @classmethod
    def _psycopg2_extras(cls):
        root = __import__("psycopg2cffi", fromlist=["extras"])
        return root.extras


dialect = PGDialect_psycopg2cffi

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
23 Sep 2024 10.41 AM
root / root
0755
__init__.py
2.501 KB
5 Sep 2024 10.50 PM
root / root
0644
__init__.pyc
3.057 KB
23 Sep 2024 10.41 AM
root / root
0644
array.py
13.873 KB
5 Sep 2024 10.50 PM
root / root
0644
array.pyc
15.474 KB
23 Sep 2024 10.41 AM
root / root
0644
asyncpg.py
35.495 KB
5 Sep 2024 10.50 PM
root / root
0644
base.py
159.868 KB
5 Sep 2024 10.50 PM
root / root
0644
base.pyc
156.604 KB
23 Sep 2024 10.41 AM
root / root
0644
dml.py
9.345 KB
5 Sep 2024 10.50 PM
root / root
0644
dml.pyc
9.052 KB
23 Sep 2024 10.41 AM
root / root
0644
ext.py
8.458 KB
5 Sep 2024 10.50 PM
root / root
0644
ext.pyc
9.17 KB
23 Sep 2024 10.41 AM
root / root
0644
hstore.py
12.58 KB
5 Sep 2024 10.50 PM
root / root
0644
hstore.pyc
15.711 KB
23 Sep 2024 10.41 AM
root / root
0644
json.py
10.564 KB
5 Sep 2024 10.50 PM
root / root
0644
json.pyc
11.884 KB
23 Sep 2024 10.41 AM
root / root
0644
pg8000.py
16.653 KB
5 Sep 2024 10.50 PM
root / root
0644
pg8000.pyc
26.467 KB
23 Sep 2024 10.41 AM
root / root
0644
provision.py
4.465 KB
5 Sep 2024 10.50 PM
root / root
0644
provision.pyc
4.725 KB
23 Sep 2024 10.41 AM
root / root
0644
psycopg2.py
39.401 KB
5 Sep 2024 10.50 PM
root / root
0644
psycopg2.pyc
38.875 KB
23 Sep 2024 10.41 AM
root / root
0644
psycopg2cffi.py
1.668 KB
5 Sep 2024 10.50 PM
root / root
0644
psycopg2cffi.pyc
2.146 KB
23 Sep 2024 10.41 AM
root / root
0644
pygresql.py
8.393 KB
5 Sep 2024 10.50 PM
root / root
0644
pygresql.pyc
10.762 KB
23 Sep 2024 10.41 AM
root / root
0644
pypostgresql.py
3.615 KB
5 Sep 2024 10.50 PM
root / root
0644
pypostgresql.pyc
4.838 KB
23 Sep 2024 10.41 AM
root / root
0644
ranges.py
4.683 KB
5 Sep 2024 10.50 PM
root / root
0644
ranges.pyc
6.939 KB
23 Sep 2024 10.41 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF