@@ -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 10devel as of 2017 -05-15 ).
8+ catalog join relationships (shown below for 11devel as of 2018 -05-07 ).
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 v10 , the *only* fields that should join to more than one target
19+ Currently , the *only* fields that should join to more than one target
2020table are:
2121pg_description.objoid, pg_depend.objid, pg_depend.refobjid,
2222pg_shdescription.objoid, pg_shdepend.objid, pg_shdepend.refobjid,
@@ -35,7 +35,7 @@ regression test. The oidjoins test should be updated after any
3535revision in the patterns of cross-links between system tables.
3636(Typically we update it at the end of each development cycle.)
3737
38- NOTE: as of v10 , make_oidjoins_check produces two bogus join checks:
38+ NOTE: currently , make_oidjoins_check produces two bogus join checks:
3939Join pg_catalog.pg_class.relfilenode => pg_catalog.pg_class.oid
4040Join pg_catalog.pg_database.datlastsysoid => pg_catalog.pg_database.oid
4141These are artifacts and should not be added to the oidjoins regression test.
@@ -106,6 +106,7 @@ Join pg_catalog.pg_constraint.connamespace => pg_catalog.pg_namespace.oid
106106Join pg_catalog.pg_constraint.conrelid => pg_catalog.pg_class.oid
107107Join pg_catalog.pg_constraint.contypid => pg_catalog.pg_type.oid
108108Join pg_catalog.pg_constraint.conindid => pg_catalog.pg_class.oid
109+ Join pg_catalog.pg_constraint.conparentid => pg_catalog.pg_constraint.oid
109110Join pg_catalog.pg_constraint.confrelid => pg_catalog.pg_class.oid
110111Join pg_catalog.pg_conversion.connamespace => pg_catalog.pg_namespace.oid
111112Join pg_catalog.pg_conversion.conowner => pg_catalog.pg_authid.oid
@@ -154,6 +155,7 @@ Join pg_catalog.pg_opfamily.opfmethod => pg_catalog.pg_am.oid
154155Join pg_catalog.pg_opfamily.opfnamespace => pg_catalog.pg_namespace.oid
155156Join pg_catalog.pg_opfamily.opfowner => pg_catalog.pg_authid.oid
156157Join pg_catalog.pg_partitioned_table.partrelid => pg_catalog.pg_class.oid
158+ Join pg_catalog.pg_partitioned_table.partdefid => pg_catalog.pg_class.oid
157159Join pg_catalog.pg_policy.polrelid => pg_catalog.pg_class.oid
158160Join pg_catalog.pg_proc.pronamespace => pg_catalog.pg_namespace.oid
159161Join pg_catalog.pg_proc.proowner => pg_catalog.pg_authid.oid
0 commit comments