#30630: MemoryError raised by inspectdb executed on Oracle 12c.
-------------------------------------+-------------------------------------
     Reporter:  Alexandru Rudi       |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  2.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  oracle               |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Alexandru Rudi):

 * keywords:   => oracle


Comment:

 {{{#!python
 def __init__(self, connection):
         self.cursor = connection.cursor()
         #self.cursor.outputtypehandler = self._output_type_handler
 }}}

 Disabling that line in base.py in class FormatStylePlaceholderCursor
 removes the MemoryError. No other changes required to default Django 2.2
 implementation.
 Without the output type handler, the inspectdb command completed
 successfully and generated models for all the tables found in the
 database.
 I do not know how to proceed any further and don't even know the negative
 effects of disabling that handler. Is is still required?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30630#comment:6>
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/077.39b3f18402a59aff7fffae5e9d153089%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to