Document values for pg_constraint confupdtype, confdeltype and confmatchtype columns.
authorAndrew Dunstan <andrew@dunslane.net>
Fri, 9 Jan 2009 01:53:10 +0000 (01:53 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Fri, 9 Jan 2009 01:53:10 +0000 (01:53 +0000)
doc/src/sgml/catalogs.sgml

index e34a2f9f0284dbba584bfef7ac40f0a67a4188ba..f12d402d2c2543aa0a8fb37524ce1b7bd95226bb 100644 (file)
       <entry><structfield>confupdtype</structfield></entry>
       <entry><type>char</type></entry>
       <entry></entry>
-      <entry>Foreign key update action code</entry>
+      <entry>Foreign key update action code:
+           <literal>a</> = no action,
+           <literal>r</> = restrict,
+           <literal>c</> = cascade,
+           <literal>n</> = set null,
+           <literal>d</> = set default
+         </entry>
      </row>
 
      <row>
       <entry><structfield>confdeltype</structfield></entry>
       <entry><type>char</type></entry>
       <entry></entry>
-      <entry>Foreign key deletion action code</entry>
+      <entry>Foreign key deletion action code:
+           <literal>a</> = no action,
+           <literal>r</> = restrict,
+           <literal>c</> = cascade,
+           <literal>n</> = set null,
+           <literal>d</> = set default
+         </entry>
      </row>
 
      <row>
       <entry><structfield>confmatchtype</structfield></entry>
       <entry><type>char</type></entry>
       <entry></entry>
-      <entry>Foreign key match type</entry>
+      <entry>Foreign key match type:
+           <literal>f</> = full,
+           <literal>p</> = partial,
+           <literal>u</> = simple (unspecified)
+         </entry>
      </row>
 
      <row>