]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The String type now generates VARCHAR2 on Oracle
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 24 Sep 2011 15:02:29 +0000 (11:02 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 24 Sep 2011 15:02:29 +0000 (11:02 -0400)
commit3f347edd14cf9ab1b01c7570a65228d964d2b4a6
tree0cfe284dfd14f6c875da5e3485f8151a35e62b52
parentf11d14caecc497a063d84143306f95d0027fad50
  - The String type now generates VARCHAR2 on Oracle
    which is recommended as the default VARCHAR.
    Added an explicit VARCHAR2 and NVARCHAR2 to the Oracle
    dialect as well.   Using NVARCHAR still generates
    "NVARCHAR2" - there is no "NVARCHAR" on Oracle -
    this remains a slight breakage of the "uppercase types
    always give exactly that" policy.  VARCHAR still
    generates "VARCHAR", keeping with the policy.   If
    Oracle were to ever define "VARCHAR" as something
    different as they claim (IMHO this will never happen),
    the type would be available.  [ticket:2252]
CHANGES
lib/sqlalchemy/dialects/oracle/base.py
test/dialect/test_oracle.py