Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#10473 closed (fixed)

Add support for "RETURNING" to Oracle backend.

Reported by: Ian Kelly Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Keywords: oracle returning
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


We should take advantage of the framework's new support for "RETURNING" clauses.

Change History (4)

comment:1 Changed 9 years ago by Ian Kelly

milestone: 1.11.1 beta

comment:2 Changed 9 years ago by Ian Kelly

Resolution: fixed
Status: newclosed

(In [10044]) Fixed #10473: Added Oracle support for "RETURNING" ids from insert statements.

comment:3 Changed 9 years ago by Matt Boersma

Unfortunately, this is only supported in Oracle 10g and later. In 9i (which our common employer happens to use still), it returns this error:
ORA-22816: unsupported feature with RETURNING clause

So we either need a workaround here, or should specify that only Oracle 10g and later are supported in Django 1.1.

comment:4 Changed 7 years ago by Jacob

milestone: 1.1 beta

Milestone 1.1 beta deleted

Note: See TracTickets for help on using tickets.
Back to Top