#18514: Creating sequences fails with Oracle 01741 error on custom table name 
with
quotes
-------------------------------------+-------------------------------------
     Reporter:  obmuc                |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  duplicate
     Keywords:  oracle               |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 The offending query is:
 {{{
 BEGIN
     SELECT COUNT(1) INTO i FROM USER_SEQUENCES
         WHERE SEQUENCE_NAME = '"DJANGOTEST"."TABLE_NAME"_SQ';
     IF i = 0 THEN
         EXECUTE IMMEDIATE 'CREATE SEQUENCE
 ""DJANGOTEST"."TABLE_NAME"_SQ"';
     END IF;
 END;
 }}}
 Looks like this is fixed by #27458.

--
Ticket URL: <https://code.djangoproject.com/ticket/18514#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.7f3d0e54473230a9a920b84d192f7ded%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to