~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/alter_schema.rst

  • Committer: Monty Taylor
  • Date: 2011-03-10 18:18:24 UTC
  • mfrom: (2222.2.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2228.
  • Revision ID: mordred@inaugust.com-20110310181824-mv5zqrahenb62y5i
Merge Mark: Documentation Edits

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
ALTER SCHEMA changes the definition of a schema.
5
5
 
6
 
You must own the schema to use ALTER SCHEMA. To rename a schema you must also have the CREATE privilege for the database. To alter the owner, you must also be a direct or indirect member of the new owning role, and you must have the CREATE privilege for the database:
 
6
You must own the schema to use ALTER SCHEMA. To rename a schema you
 
7
must also have the CREATE privilege for the database. To alter the
 
8
owner, you must also be a direct or indirect member of the new owning
 
9
role, and you must have the CREATE privilege for the database:
7
10
 
8
11
.. code-block:: mysql
9
12
 
16
19
 
17
20
new_name
18
21
 
19
 
    The new name of the schema. The new name cannot begin with "pg", as such names are reserved for system schemas. 
 
22
    The new name of the schema.
20
23
 
21
24
new_owner
22
25