Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3af3f79

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 parente87e82d commit3af3f79

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/0605:07:16 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_domain.sgml,v 1.6 2002/12/0616: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 acolumn:
195+
To add a NOT NULL constraint to adomain:
196196
<programlisting>
197197
ALTER DOMAIN zipcode SET NOT NULL;
198198
</programlisting>
199-
To remove a NOT NULL constraint from acolumn:
199+
To remove a NOT NULL constraint from adomain:
200200
<programlisting>
201201
ALTER DOMAIN zipcode DROP NOT NULL;
202202
</programlisting>
203203
</para>
204204

205205
<para>
206-
To add a check constraint to atable:
206+
To add a check constraint to adomain:
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 atable and all its children:
213+
To remove a check constraint from adomain:
214214
<programlisting>
215215
ALTER DOMAIN zipcode DROP CONSTRAINT zipchk;
216216
</programlisting>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp