Changes between Version 4 and Version 5 of rfc21_ogrsqlcast


Ignore:
Timestamp:
Jan 26, 2008, 1:11:09 PM (16 years ago)
Author:
tamas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • rfc21_ogrsqlcast

    v4 v5  
    5656
    5757<data type> ::= character [ ( field_length ) ]
    58                | float [ ( field_length ) ]
    59                | numeric [ ( field_length [, field_precision ] ) ]
    60                | integer [ ( field_length ) ]
    61                | timestamp
     58                | float [ ( field_length ) ]
     59                | numeric [ ( field_length [, field_precision ] ) ]
     60                | integer [ ( field_length ) ]
     61                | date [ ( field_length ) ]
     62                | time [ ( field_length ) ]
     63                | timestamp [ ( field_length ) ]
    6264
    6365<field-func> ::= AVG | MAX | MIN | SUM | COUNT
     
    88901. In swq.h I'll have to add to 4 fields to swq_col_def to hold the field_alias the target_type, the field_length, and field_precision
    8991
    90 2. In swq.h SWQ_DATETIME will be added to swq_field_type enum.
     922. In swq.h SWQ_DATE, SWQ_TIME, SWQ_TIMESTAMP will be added to swq_field_type enum.
    9193
    92943. In swq.c I'll have to change swq_select_preparse to take care of the field alias and the