CREATE CONSTRAINT manual page wording improvements.

Michael Paesold
This commit is contained in:
Bruce Momjian 2006-10-16 19:33:12 +00:00
parent 52831f7911
commit a2ebf81913

View File

@ -1,5 +1,5 @@
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_constraint.sgml,v 1.15 2006/10/16 19:30:09 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/create_constraint.sgml,v 1.16 2006/10/16 19:33:12 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
@ -24,7 +24,7 @@ CREATE CONSTRAINT TRIGGER <replaceable class="parameter">name</replaceable>
AFTER <replaceable class="parameter">event [ OR ... ]</replaceable> AFTER <replaceable class="parameter">event [ OR ... ]</replaceable>
ON <replaceable class="parameter">table_name</replaceable> ON <replaceable class="parameter">table_name</replaceable>
[ FROM <replaceable class="parameter">referenced_table_name</replaceable> ] [ FROM <replaceable class="parameter">referenced_table_name</replaceable> ]
{ NOT DEFERRABLE | [ DEFERABBLE ] { INITIALLY IMMEDIATE | INITIALLY DEFERRED } } { NOT DEFERRABLE | [ DEFERRABLE ] { INITIALLY IMMEDIATE | INITIALLY DEFERRED } }
FOR EACH ROW FOR EACH ROW
EXECUTE PROCEDURE <replaceable class="parameter">funcname</replaceable> ( <replaceable class="parameter">arguments</replaceable> ) EXECUTE PROCEDURE <replaceable class="parameter">funcname</replaceable> ( <replaceable class="parameter">arguments</replaceable> )
</synopsis> </synopsis>
@ -54,7 +54,7 @@ CREATE CONSTRAINT TRIGGER <replaceable class="parameter">name</replaceable>
created trigger will be of the form created trigger will be of the form
<literal>RI_ConstraintTrigger_0000<literal> (where 0000 is some number <literal>RI_ConstraintTrigger_0000<literal> (where 0000 is some number
assigned by the server). assigned by the server).
Use this assigned name is when dropping the constraint. Use this assigned name when dropping the trigger.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>