aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2004-01-11 04:58:17 +0000
committerNeil Conway <neilc@samurai.com>2004-01-11 04:58:17 +0000
commite97b8f2da9ee93f3f957bf5bc92b07f5d9e1e1dd (patch)
tree1b48f8067214786c9e7d163d6ff7f0ddc4d33d95 /doc/src
parent4cdf51e64627823088a3f94d21bafbb5fc87f9ea (diff)
downloadpostgresql-e97b8f2da9ee93f3f957bf5bc92b07f5d9e1e1dd.tar.gz
postgresql-e97b8f2da9ee93f3f957bf5bc92b07f5d9e1e1dd.zip
Add CREATE TRIGGER, CREATE INDEX, and CREATE SEQUENCE to the list of
expressions supported by CREATE SCHEMA. Also added the beginning of some regression tests for CREATE SCHEMA; plenty more work is needed here.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/create_schema.sgml14
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/src/sgml/ref/create_schema.sgml b/doc/src/sgml/ref/create_schema.sgml
index e348ff58797..4c0f61ad95a 100644
--- a/doc/src/sgml/ref/create_schema.sgml
+++ b/doc/src/sgml/ref/create_schema.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/create_schema.sgml,v 1.9 2003/11/29 19:51:38 pgsql Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/create_schema.sgml,v 1.10 2004/01/11 04:58:17 neilc Exp $
PostgreSQL documentation
-->
@@ -84,11 +84,13 @@ CREATE SCHEMA AUTHORIZATION <replaceable class="parameter">username</replaceable
<term><replaceable class="parameter">schema_element</replaceable></term>
<listitem>
<para>
- An SQL statement defining an object to be created within the schema.
- Currently, only <command>CREATE TABLE</>, <command>CREATE VIEW</>,
- and <command>GRANT</> are accepted as clauses within
- <command>CREATE SCHEMA</>. Other kinds of objects may be created
- in separate commands after the schema is created.
+ An SQL statement defining an object to be created within the
+ schema. Currently, only <command>CREATE
+ TABLE</>, <command>CREATE VIEW</>, <command>CREATE
+ INDEX</>, <command>CREATE SEQUENCE</>, <command>CREATE
+ TRIGGER</> and <command>GRANT</> are accepted as clauses
+ within <command>CREATE SCHEMA</>. Other kinds of objects may
+ be created in separate commands after the schema is created.
</para>
</listitem>
</varlistentry>