@@ -5,7 +5,7 @@ findoidjoins
55
66This program scans a database and prints oid fields (also reg* fields)
77and the tables they join to. It is normally used to check the system
8- catalog join relationships (shown below for 9.1devel ).
8+ catalog join relationships (shown below for 9.2devel as of 2011-11-14 ).
99
1010Historically this has been run against an empty database such as template1,
1111but there's a problem with that approach: some of the catalogs are empty
@@ -16,7 +16,7 @@ catalogs in interesting ways.
1616Note that unexpected matches may indicate bogus entries in system tables;
1717don't accept a peculiar match without question. In particular, a field
1818shown as joining to more than one target table is probably messed up.
19- In 9.1devel , the *only* fields that should join to more than one target
19+ In 9.2devel , the *only* fields that should join to more than one target
2020table are pg_description.objoid, pg_depend.objid, pg_depend.refobjid,
2121pg_shdescription.objoid, pg_shdepend.objid, and pg_shdepend.refobjid.
2222(Running make_oidjoins_check is an easy way to spot fields joining to more
@@ -33,7 +33,7 @@ regression test. The oidjoins test should be updated after any
3333revision in the patterns of cross-links between system tables.
3434(Typically we update it at the end of each development cycle.)
3535
36- NOTE: as of 9.1devel , make_oidjoins_check produces two bogus join checks:
36+ NOTE: as of 9.2devel , make_oidjoins_check produces two bogus join checks:
3737Join pg_catalog.pg_class.relfilenode => pg_catalog.pg_class.oid
3838Join pg_catalog.pg_database.datlastsysoid => pg_catalog.pg_database.oid
3939These are artifacts and should not be added to the oidjoins regress test.
@@ -138,7 +138,14 @@ Join pg_catalog.pg_proc.pronamespace => pg_catalog.pg_namespace.oid
138138Join pg_catalog.pg_proc.proowner => pg_catalog.pg_authid.oid
139139Join pg_catalog.pg_proc.prolang => pg_catalog.pg_language.oid
140140Join pg_catalog.pg_proc.provariadic => pg_catalog.pg_type.oid
141+ Join pg_catalog.pg_proc.protransform => pg_catalog.pg_proc.oid
141142Join pg_catalog.pg_proc.prorettype => pg_catalog.pg_type.oid
143+ Join pg_catalog.pg_range.rngtypid => pg_catalog.pg_type.oid
144+ Join pg_catalog.pg_range.rngsubtype => pg_catalog.pg_type.oid
145+ Join pg_catalog.pg_range.rngcollation => pg_catalog.pg_collation.oid
146+ Join pg_catalog.pg_range.rngsubopc => pg_catalog.pg_opclass.oid
147+ Join pg_catalog.pg_range.rngcanonical => pg_catalog.pg_proc.oid
148+ Join pg_catalog.pg_range.rngsubdiff => pg_catalog.pg_proc.oid
142149Join pg_catalog.pg_rewrite.ev_class => pg_catalog.pg_class.oid
143150Join pg_catalog.pg_shdepend.refclassid => pg_catalog.pg_class.oid
144151Join pg_catalog.pg_shdescription.classoid => pg_catalog.pg_class.oid
@@ -186,6 +193,7 @@ Join pg_catalog.pg_type.typcollation => pg_catalog.pg_collation.oid
186193Join pg_catalog.pg_constraint.conpfeqop []=> pg_catalog.pg_operator.oid
187194Join pg_catalog.pg_constraint.conppeqop []=> pg_catalog.pg_operator.oid
188195Join pg_catalog.pg_constraint.conffeqop []=> pg_catalog.pg_operator.oid
196+ Join pg_catalog.pg_constraint.conexclop []=> pg_catalog.pg_operator.oid
189197Join pg_catalog.pg_proc.proallargtypes []=> pg_catalog.pg_type.oid
190198
191199---------------------------------------------------------------------------