Skip to content

Commit 3af3f79

Browse files
committed
In the examples, I missed changing a few 'column' and 'table' mentions
to domain when copying alter table docs. -- Rod Taylor <rbt@rbt.ca>
1 parent e87e82d commit 3af3f79

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/src/sgml/ref/alter_domain.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_domain.sgml,v 1.5 2002/12/06 05:07:16 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_domain.sgml,v 1.6 2002/12/06 16:40:13 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -192,25 +192,25 @@ ALTER DOMAIN <replaceable class="PARAMETER">domain</replaceable>
192192
Usage
193193
</title>
194194
<para>
195-
To add a NOT NULL constraint to a column:
195+
To add a NOT NULL constraint to a domain:
196196
<programlisting>
197197
ALTER DOMAIN zipcode SET NOT NULL;
198198
</programlisting>
199-
To remove a NOT NULL constraint from a column:
199+
To remove a NOT NULL constraint from a domain:
200200
<programlisting>
201201
ALTER DOMAIN zipcode DROP NOT NULL;
202202
</programlisting>
203203
</para>
204204

205205
<para>
206-
To add a check constraint to a table:
206+
To add a check constraint to a domain:
207207
<programlisting>
208208
ALTER DOMAIN zipcode ADD CONSTRAINT zipchk CHECK (char_length(VALUE) = 5);
209209
</programlisting>
210210
</para>
211211

212212
<para>
213-
To remove a check constraint from a table and all its children:
213+
To remove a check constraint from a domain:
214214
<programlisting>
215215
ALTER DOMAIN zipcode DROP CONSTRAINT zipchk;
216216
</programlisting>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy