Changeset 818 for trunk/pgdb.py


Ignore:
Timestamp:
Feb 4, 2016, 3:56:19 PM (3 years ago)
Author:
cito
Message:

Add list of supported data types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pgdb.py

    r817 r818  
    387387        'text': str, 'varchar': str,
    388388        'bool': cast_bool, 'bytea': unescape_bytea,
    389         'int2': int, 'int4': int, 'serial': int, 'int8': long,
     389        'int2': int, 'int4': int, 'serial': int, 'int8': long, 'oid': int,
    390390        'hstore': cast_hstore, 'json': jsondecode, 'jsonb': jsondecode,
    391         'oid': long, 'oid8': long,
    392391        'float4': float, 'float8': float,
    393392        'numeric': Decimal, 'money': cast_money,
Note: See TracChangeset for help on using the changeset viewer.