Ignore:
Timestamp:
Jan 28, 2016, 4:25:36 PM (4 years ago)
Author:
cito
Message:

Enrich type_code strings in the DB API 2

The type codes now carry e.g. the information whether a type is a record.
This allows to provide a RECORD type object that compares equal to all
kinds of records, similar to the already existing ARRAY type object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/contents/changelog.rst

    r795 r796  
    2727    The column names and types can now also be requested through the
    2828    colnames and coltypes attributes, which are not part of DB-API 2 though.
     29    The type_code provided by the description attribute is still equal to
     30    the PostgreSQL internal type name, but now carries some more information
     31    in additional attributes. The size, precision and scale information that
     32    is part of the description is now properly set for numeric types.
    2933  - If you pass a Python list as one of the parameters to a DB-API 2 cursor,
    3034    it is now automatically bound using an ARRAY constructor. If you pass a
Note: See TracChangeset for help on using the changeset viewer.