It fails when executing this statement:
{{{
CREATE TABLESPACE NAME_OF_TBS
DATAFILE 'name_of_tbs_dev1.dbf' SIZE 50M
REUSE AUTOEXTEND ON NEXT 25M MAXSIZE 500M
}}}
Error message is:
{{{
ORA-20900: RDS only supports Oracle Managed Files. Check ddl and remove
any named identifiers
ORA-06512: at "RDSADMIN.RDSADMIN", line 211
ORA-06512: at line 2)
}}}
What is the best way to add support for oracle managed files i.e.
- Additional param in django settings?
- Catch this exception and generate an OMF compatible SQL statement?
--
Ticket URL: <https://code.djangoproject.com/ticket/29485>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => needsinfo
Comment:
As it stands this is a usage question, which needs to be referred to an
appropriate channel (Django Users, StackOverflow, etc).
It's not clear how this is an **issue** for Django. What's the Django code
that causes the offending SQL to be generated? If you can give us that
then we can assess whether there's something that needs to be addressed
here.
--
Ticket URL: <https://code.djangoproject.com/ticket/29485#comment:1>
Comment (by Vackar Afzal):
My current approach is to Monkey patch the default statements to read as
follows:
{{{
statements = [
"""CREATE TABLESPACE %(tblspace)s""",
"""CREATE TEMPORARY TABLESPACE %(tblspace_temp)s""",
]
}}}
Works for the time being, but would be nice to have it integrated back
into django
--
Ticket URL: <https://code.djangoproject.com/ticket/29485#comment:2>
* resolution: needsinfo => duplicate
Comment:
Duplicate of #29788.
--
Ticket URL: <https://code.djangoproject.com/ticket/29485#comment:3>