Create entries for the foreign keys in the system catalog
authorBruce Momjian
Wed, 25 Jun 2003 01:14:37 +0000 (01:14 +0000)
committerBruce Momjian
Wed, 25 Jun 2003 01:14:37 +0000 (01:14 +0000)
chapter.

I got tired of hitting the 'up' link, then finding the table in the
table of contents, and following it back down.

Rod Taylor

doc/src/sgml/catalogs.sgml

index 835739d81bb27a5340511d1380ac7f9cc891bddb..777bdd9291f47302f1e710c5cb5479007e657f62 100644 (file)
@@ -1,6 +1,6 @@
 
 
 
      
       aggfnoid
       regproc
-      pg_proc.oid
+      pg_proc.oid
       pg_proc OID of the aggregate function
      
      
       aggtransfn
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Transition function
      
      
       aggfinalfn
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Final function (zero if none)
      
      
       aggtranstype
       oid
-      pg_type.oid
+      pg_type.oid
       The type of the aggregate function's internal transition (state) data
      
      
      
       amowner
       int4
-      pg_shadow.usesysid
+      pg_shadow.usesysid
       User ID of the owner (currently not used)
      
 
      
       amgettuple
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Next valid tuple function
      
 
      
       aminsert
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Insert this tuple function
      
 
      
       ambeginscan
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Start new scan function
      
 
      
       amrescan
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Restart this scan function
      
 
      
       amendscan
       regproc
-      pg_proc.oid
+      pg_proc.oid
       End this scan function
      
 
      
       ammarkpos
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Mark current scan position function
      
 
      
       amrestrpos
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Restore marked scan position function
      
 
      
       ambuild
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Build new index function
      
 
      
       ambulkdelete
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Bulk-delete function
      
 
      
       amvacuumcleanup
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Post-VACUUM cleanup function
      
 
      
       amcostestimate
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Function to estimate cost of an index scan
      
 
      
       amopclaid
       oid
-      pg_opclass.oid
+      pg_opclass.oid
       The index operator class this entry is for
      
 
      
       amopopr
       oid
-      pg_operator.oid
+      pg_operator.oid
       OID of the operator
      
 
      
       amopclaid
       oid
-      pg_opclass.oid
+      pg_opclass.oid
       The index operator class this entry is for
      
 
      
       amproc
       regproc
-      pg_proc.oid
+      pg_proc.oid
       OID of the procedure
      
 
      
       adrelid
       oid
-      pg_class.oid
+      pg_class.oid
       The table this column belongs to
      
 
      
       attrelid
       oid
-      pg_class.oid
+      pg_class.oid
       The table this column belongs to
      
 
      
       atttypid
       oid
-      pg_type.oid
+      pg_type.oid
       The data type of this column
      
 
      
       castsource
       oid
-      pg_type.oid
+      pg_type.oid
       OID of the source data type
      
 
      
       casttarget
       oid
-      pg_type.oid
+      pg_type.oid
       OID of the target data type
      
 
      
       castfunc
       oid
-      pg_proc.oid
+      pg_proc.oid
       
        The OID of the function to use to perform this cast.  Zero is
        stored if the data types are binary compatible (that is, no
      
       relnamespace
       oid
-      pg_namespace.oid
+      pg_namespace.oid
       
        The OID of the namespace that contains this relation
       
      
       reltype
       oid
-      pg_type.oid
+      pg_type.oid
       
        The OID of the data type that corresponds to this table, if any
        (zero for indexes, which have no pg_type entry)
      
       relowner
       int4
-      pg_shadow.usesysid
+      pg_shadow.usesysid
       Owner of the relation
      
 
      
       relam
       oid
-      pg_am.oid
+      pg_am.oid
       If this is an index, the access method used (B-tree, hash, etc.)
      
 
      
       reltoastrelid
       oid
-      pg_class.oid
+      pg_class.oid
       
        OID of the TOAST table associated with this table, 0 if none.
        The TOAST table stores large attributes out of
      
       reltoastidxid
       oid
-      pg_class.oid
+      pg_class.oid
       
        For a TOAST table, the OID of its index.  0 if not a TOAST table.
       
      
       connamespace
       oid
-      pg_namespace.oid
+      pg_namespace.oid
       
        The OID of the namespace that contains this constraint
       
      
       conrelid
       oid
-      pg_class.oid
+      pg_class.oid
       The table this constraint is on; 0 if not a table constraint
      
 
      
       contypid
       oid
-      pg_type.oid
+      pg_type.oid
       The domain this constraint is on; 0 if not a domain constraint
      
 
      
       confrelid
       oid
-      pg_class.oid
+      pg_class.oid
       If a foreign key, the referenced table; else 0
      
 
      
       conkey
       int2[]
-      pg_attribute.attnum
+      pg_attribute.attnum
       If a table constraint, list of columns which the constraint constrains
      
 
      
       confkey
       int2[]
-      pg_attribute.attnum
+      pg_attribute.attnum
       If a foreign key, list of the referenced columns
      
 
      
       connamespace
       oid
-      pg_namespace.oid
+      pg_namespace.oid
       
        The OID of the namespace that contains this conversion
       
      
       conowner
       int4
-      pg_shadow.usesysid
+      pg_shadow.usesysid
       Owner of the conversion
      
 
      
       conproc
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Conversion procedure
      
 
      
       datdba
       int4
-      pg_shadow.usesysid
+      pg_shadow.usesysid
       Owner of the database, usually the user who created it
      
 
      
       classid
       oid
-      pg_class.oid
+      pg_class.oid
       The OID of the system catalog the dependent object is in
      
 
      
       classoid
       oid
-      pg_class.oid
+      pg_class.oid
       The OID of the system catalog this object appears in
      
 
      
       grolist
       int4[]
-      pg_shadow.usesysid
+      pg_shadow.usesysid
       An array containing the IDs of the users in this group
      
     
      
       indexrelid
       oid
-      pg_class.oid
+      pg_class.oid
       The OID of the pg_class entry for this index
      
 
      
       indrelid
       oid
-      pg_class.oid
+      pg_class.oid
       The OID of the pg_class entry for the table this index is for
      
 
      
       indkey
       int2vector
-      pg_attribute.attnum
+      pg_attribute.attnum
       
        This is an array of indnatts (up to
        INDEX_MAX_KEYS) values that indicate which
      
       indclass
       oidvector
-      pg_opclass.oid
+      pg_opclass.oid
       
        For each column in the index key this contains the OID of
        the operator class to use.  See
      
       inhrelid
       oid
-      pg_class.oid
+      pg_class.oid
       
        The OID of the child table.
       
      
       inhparent
       oid
-      pg_class.oid
+      pg_class.oid
       
        The OID of the parent table.
       
      
       lanplcallfoid
       oid
-      pg_proc.oid
+      pg_proc.oid
       
        For noninternal languages this references the language
        handler, which is a special function that is responsible for
      
       lanvalidator
       oid
-      pg_proc.oid
+      pg_proc.oid
       
        This references a language validator function that is responsible
        for checking the syntax and validity of new functions when they
      
       nspowner
       int4
-      pg_shadow.usesysid
+      pg_shadow.usesysid
       Owner of the namespace
      
 
      
       opcamid
       oid
-      pg_am.oid
+      pg_am.oid
       Index access method opclass is for
      
 
      
       opcnamespace
       oid
-      pg_namespace.oid
+      pg_namespace.oid
       Namespace of this operator class
      
 
      
       opcowner
       int4
-      pg_shadow.usesysid
+      pg_shadow.usesysid
       Operator class owner
      
 
      
       opcintype
       oid
-      pg_type.oid
+      pg_type.oid
       Input data type of the operator class
      
 
      
       opckeytype
       oid
-      pg_type.oid
+      pg_type.oid
       Type of index data, or zero if same as opcintype
      
 
      
       oprnamespace
       oid
-      pg_namespace.oid
+      pg_namespace.oid
       
        The OID of the namespace that contains this operator
       
      
       oprowner
       int4
-      pg_shadow.usesysid
+      pg_shadow.usesysid
       Owner of the operator
      
 
      
       oprleft
       oid
-      pg_type.oid
+      pg_type.oid
       Type of the left operand
      
 
      
       oprright
       oid
-      pg_type.oid
+      pg_type.oid
       Type of the right operand
      
 
      
       oprresult
       oid
-      pg_type.oid
+      pg_type.oid
       Type of the result
      
 
      
       oprcom
       oid
-      pg_operator.oid
+      pg_operator.oid
       Commutator of this operator, if any
      
 
      
       oprnegate
       oid
-      pg_operator.oid
+      pg_operator.oid
       Negator of this operator, if any
      
 
      
       oprlsortop
       oid
-      pg_operator.oid
+      pg_operator.oid
       
        If this operator supports merge joins, the operator that sorts
        the type of the left-hand operand (L<L)
      
       oprrsortop
       oid
-      pg_operator.oid
+      pg_operator.oid
       
        If this operator supports merge joins, the operator that sorts
        the type of the right-hand operand (R<R)
      
       oprltcmpop
       oid
-      pg_operator.oid
+      pg_operator.oid
       
        If this operator supports merge joins, the less-than operator that
        compares the left and right operand types (L<R)
      
       oprgtcmpop
       oid
-      pg_operator.oid
+      pg_operator.oid
       
        If this operator supports merge joins, the greater-than operator that
        compares the left and right operand types (L>R)
      
       oprcode
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Function that implements this operator
      
 
      
       oprrest
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Restriction selectivity estimation function for this operator
      
 
      
       oprjoin
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Join selectivity estimation function for this operator
      
     
      
       pronamespace
       oid
-      pg_namespace.oid
+      pg_namespace.oid
       
        The OID of the namespace that contains this function
       
      
       proowner
       int4
-      pg_shadow.usesysid
+      pg_shadow.usesysid
       Owner of the function
      
 
      
       prolang
       oid
-      pg_language.oid
+      pg_langauge.oid
       Implementation language or call interface of this function
      
 
      
       prorettype
       oid
-      pg_type.oid
+      pg_type.oid
       Data type of the return value
      
 
      
       proargtypes
       oidvector
-      pg_type.oid
+      pg_type.oid
       An array with the data types of the function arguments
      
 
      
       ev_class
       oid
-      pg_class.oid
+      pg_class.oid
       The table this rule is for
      
 
      
       starelid
       oid
-      pg_class.oid
+      pg_class.oid
       The table that the described column belongs to
      
 
      
       staattnum
       int2
-      pg_attribute.attnum
+      pg_attribute.attnum
       The number of the described column
      
 
      
       staopN
       oid
-      pg_operator.oid
+      pg_operator.oid
       
        An operator used to derive the statistics stored in the
        Nth slot.  For example, a
      
       tgrelid
       oid
-      pg_class.oid
+      pg_class.oid
       The table this trigger is on
      
 
      
       tgfoid
       oid
-      pg_proc.oid
+      pg_proc.oid
       The function to be called
      
 
      
       tgconstrrelid
       oid
-      pg_class.oid
+      pg_class.oid
       The table referenced by an referential integrity constraint
      
 
      
       typnamespace
       oid
-      pg_namespace.oid
+      pg_namespace.oid
       
        The OID of the namespace that contains this type
       
      
       typowner
       int4
-      pg_shadow.usesysid
+      pg_shadow.usesysid
       Owner of the type
      
 
      
       typrelid
       oid
-      pg_class.oid
+      pg_class.oid
       
        If this is a composite type (see
        typtype), then this column points to
      
       typelem
       oid
-      pg_type.oid
+      pg_type.oid
       
        If typelem is not 0 then it
        identifies another row in pg_type.
      
       typinput
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Input conversion function (text format)
      
 
      
       typoutput
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Output conversion function (text format)
      
 
      
       typreceive
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Input conversion function (binary format), or 0 if none
      
 
      
       typsend
       regproc
-      pg_proc.oid
+      pg_proc.oid
       Output conversion function (binary format), or 0 if none