@ -67,7 +67,8 @@ CREATE SCHEMA IF NOT EXISTS AUTHORIZATION <replaceable class="parameter">user_na
<term><replaceable class="parameter">schema_name</replaceable></term>
<term><replaceable class="parameter">schema_name</replaceable></term>
<listitem>
<listitem>
<para>
<para>
The name of a schema to be created. If this is omitted, the user name
The name of a schema to be created. If this is omitted, the
<replaceable class="parameter">user_name</replaceable>
is used as the schema name. The name cannot
is used as the schema name. The name cannot
begin with <literal>pg_</literal>, as such names
begin with <literal>pg_</literal>, as such names
are reserved for system schemas.
are reserved for system schemas.
@ -79,9 +80,10 @@ CREATE SCHEMA IF NOT EXISTS AUTHORIZATION <replaceable class="parameter">user_na
<term><replaceable class="parameter">user_name</replaceable></term>
<term><replaceable class="parameter">user_name</replaceable></term>
<listitem>
<listitem>
<para>
<para>
The name of the user who will own the schema. If omitted,
The role name of the user who will own the new schema. If omitted,
defaults to the user executing the command. Only superusers
defaults to the user executing the command. To create a schema
can create schemas owned by users other than themselves.
owned by another role, you must be a direct or indirect member of
that role, or be a superuser.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
@ -197,7 +199,8 @@ CREATE VIEW hollywood.winners AS
all objects within it. <productname>PostgreSQL</productname>
all objects within it. <productname>PostgreSQL</productname>
allows schemas to contain objects owned by users other than the
allows schemas to contain objects owned by users other than the
schema owner. This can happen only if the schema owner grants the
schema owner. This can happen only if the schema owner grants the
<literal>CREATE</> privilege on his schema to someone else.
<literal>CREATE</> privilege on his schema to someone else, or a
superuser chooses to create objects in it.
</para>
</para>
<para>
<para>