mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Refs #29722 -- Added introspection of materialized views for Oracle.
Thanks Tim Graham for the review.
This commit is contained in:
parent
26c2a6ff88
commit
f091ea3515
9 changed files with 43 additions and 16 deletions
|
@ -764,9 +764,10 @@ and a user granted ``RESOURCE WITH ADMIN OPTION`` can grant ``RESOURCE``, such
|
|||
a user cannot grant the individual privileges (e.g. ``CREATE TABLE``), and thus
|
||||
``RESOURCE WITH ADMIN OPTION`` is not usually sufficient for running tests.
|
||||
|
||||
Some test suites also create views; to run these, the user also needs
|
||||
the ``CREATE VIEW WITH ADMIN OPTION`` privilege. In particular, this is needed
|
||||
for Django's own test suite.
|
||||
Some test suites also create views or materialized views; to run these, the
|
||||
user also needs ``CREATE VIEW WITH ADMIN OPTION`` and
|
||||
``CREATE MATERIALIZED VIEW WITH ADMIN OPTION`` privileges. In particular, this
|
||||
is needed for Django's own test suite.
|
||||
|
||||
All of these privileges are included in the DBA role, which is appropriate
|
||||
for use on a private developer's database.
|
||||
|
|
|
@ -399,6 +399,12 @@ it because ``True`` is its default value).
|
|||
Database-specific notes
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Oracle
|
||||
^^^^^^
|
||||
|
||||
* Models are created for materialized views if :option:`--include-views` is
|
||||
used.
|
||||
|
||||
PostgreSQL
|
||||
^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue