Changes between Initial Version and Version 1 of Ticket #17932, comment 9
- Timestamp:
- Jun 2, 2012, 7:11:02 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17932, comment 9
initial v1 1 1 Reopened, as the problem is still occurring. I'm getting an error when syncdb tries to execute the following SQL against Oracle 10g XE: 2 2 {{{ 3 3 CREATE OR REPLACE TRIGGER "ADMIN_CHANGELIST_EVENT_TR" 4 4 BEFORE INSERT ON "ADMIN_CHANGELIST_EVENT" … … 9 9 INTO :new."ID" FROM dual; 10 10 END; 11 11 }}} 12 12 The error is 13 14 django.db.utils.DatabaseError: ORA-06552: PL/SQL: Compilation unit 15 analysis terminated 16 ORA-06553: PLS-320: the declaration of the type of this expression is 17 incomplete or malformed 18 13 {{{ 14 django.db.utils.DatabaseError: ORA-06552: PL/SQL: Compilation unit analysis terminated 15 ORA-06553: PLS-320: the declaration of the type of this expression is incomplete or malformed 16 }}} 19 17 This time it's due to a column named 'date', and just to confuse things further, the column name is accepted for the table creation itself, but fails for the trigger creation. Adding "db_column='event_date'" to the relevant model definition caused the failure to disappear.