Allow Oracle database parameters to specify input size.
|Reported by:||jbronn||Owned by:||mtredinnick|
|Component:||Database layer (models, ORM)||Version:||master|
|Severity:||Keywords:||oracle backend clob nclob|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently, the Oracle backend sets the input size to NCLOB for character input > 4000 characters. In GeoDjango, geometry input text is passed into the SDO_UTIL.TO_WKTGEOMETRY stored procedure, which expects input of type CLOB.
This patch allows database parameters to specify their input size via an input_size attribute, that will be used for setinputsizes instead of the default (if it exists). This functionality was added to the gis branch in r7637, and needs to be in trunk for GeoDjango to work on Oracle when the branches merge for 1.0.
Change History (4)
Changed 7 years ago by jbronn
comment:1 Changed 7 years ago by mtredinnick
- Needs documentation unset
- Needs tests unset
- Owner changed from ikelly to mtredinnick
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Ready for checkin
comment:2 Changed 7 years ago by mtredinnick
- Resolution set to fixed
- Status changed from new to closed