diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-12-06 16:40:13 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-12-06 16:40:13 +0000 |
commit | 3af3f79e69b088a38a0965ca71fa1512738de266 (patch) | |
tree | bc2703cc1672d8039882d1ea6a9d2b408ba4619d | |
parent | e87e82d2b7c6407551988ad8c3f153128163f4a4 (diff) | |
download | postgresql-3af3f79e69b088a38a0965ca71fa1512738de266.tar.gz postgresql-3af3f79e69b088a38a0965ca71fa1512738de266.zip |
In the examples, I missed changing a few 'column' and 'table' mentions
to domain when copying alter table docs.
--
Rod Taylor <rbt@rbt.ca>
-rw-r--r-- | doc/src/sgml/ref/alter_domain.sgml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/sgml/ref/alter_domain.sgml b/doc/src/sgml/ref/alter_domain.sgml index 7562267c0d2..4735d424059 100644 --- a/doc/src/sgml/ref/alter_domain.sgml +++ b/doc/src/sgml/ref/alter_domain.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_domain.sgml,v 1.5 2002/12/06 05:07:16 momjian Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_domain.sgml,v 1.6 2002/12/06 16:40:13 momjian Exp $ PostgreSQL documentation --> @@ -192,25 +192,25 @@ ALTER DOMAIN <replaceable class="PARAMETER">domain</replaceable> Usage </title> <para> - To add a NOT NULL constraint to a column: + To add a NOT NULL constraint to a domain: <programlisting> ALTER DOMAIN zipcode SET NOT NULL; </programlisting> - To remove a NOT NULL constraint from a column: + To remove a NOT NULL constraint from a domain: <programlisting> ALTER DOMAIN zipcode DROP NOT NULL; </programlisting> </para> <para> - To add a check constraint to a table: + To add a check constraint to a domain: <programlisting> ALTER DOMAIN zipcode ADD CONSTRAINT zipchk CHECK (char_length(VALUE) = 5); </programlisting> </para> <para> - To remove a check constraint from a table and all its children: + To remove a check constraint from a domain: <programlisting> ALTER DOMAIN zipcode DROP CONSTRAINT zipchk; </programlisting> |