@@ -7,10 +7,10 @@ anything but an empty database, such as template1; else it's likely to
7
7
be very slow.
8
8
9
9
Run on an empty database, it returns the system join relationships (shown
10
- below for 7.3 ). Note that unexpected matches may indicate bogus entries
10
+ below for 7.4 ). Note that unexpected matches may indicate bogus entries
11
11
in system tables --- don't accept a peculiar match without question.
12
12
In particular, a field shown as joining to more than one target table is
13
- probably messed up. In 7.3 , the *only* fields that should join to more
13
+ probably messed up. In 7.4 , the *only* fields that should join to more
14
14
than one target are pg_description.objoid, pg_depend.objid, and
15
15
pg_depend.refobjid. (Running make_oidjoins_check is an easy way to spot
16
16
fields joining to more than one table, BTW.)
@@ -26,10 +26,12 @@ revision in the patterns of cross-links between system tables.
26
26
(Ideally we'd just regenerate the script as part of the regression
27
27
tests themselves, but that seems too slow...)
28
28
29
- NOTE: in 7.3 , make_oidjoins_check produces two bogus join checks :
29
+ NOTE: in 7.4 , make_oidjoins_check produces one bogus join check :
30
30
Join pg_catalog.pg_class.relfilenode => pg_catalog.pg_class.oid
31
- Join pg_catalog.pg_database.datlastsysoid => pg_catalog.pg_conversion.oid
32
- These are artifacts and should not be added to the oidjoins regress test.
31
+ This is an artifact and should not be added to the oidjoins regress test.
32
+ Also beware of any claim that pg_database.datlastsysoid joins to anything;
33
+ this does not actually happen in 7.4, but it did happen before and might
34
+ happen again in future, depending on what operation initdb does last.
33
35
34
36
---------------------------------------------------------------------------
35
37
@@ -46,6 +48,7 @@ Join pg_catalog.pg_am.ammarkpos => pg_catalog.pg_proc.oid
46
48
Join pg_catalog.pg_am.amrestrpos => pg_catalog.pg_proc.oid
47
49
Join pg_catalog.pg_am.ambuild => pg_catalog.pg_proc.oid
48
50
Join pg_catalog.pg_am.ambulkdelete => pg_catalog.pg_proc.oid
51
+ Join pg_catalog.pg_am.amvacuumcleanup => pg_catalog.pg_proc.oid
49
52
Join pg_catalog.pg_am.amcostestimate => pg_catalog.pg_proc.oid
50
53
Join pg_catalog.pg_amop.amopclaid => pg_catalog.pg_opclass.oid
51
54
Join pg_catalog.pg_amop.amopopr => pg_catalog.pg_operator.oid
@@ -61,6 +64,8 @@ Join pg_catalog.pg_class.reltype => pg_catalog.pg_type.oid
61
64
Join pg_catalog.pg_class.relam => pg_catalog.pg_am.oid
62
65
Join pg_catalog.pg_class.reltoastrelid => pg_catalog.pg_class.oid
63
66
Join pg_catalog.pg_class.reltoastidxid => pg_catalog.pg_class.oid
67
+ Join pg_catalog.pg_constraint.connamespace => pg_catalog.pg_namespace.oid
68
+ Join pg_catalog.pg_constraint.contypid => pg_catalog.pg_type.oid
64
69
Join pg_catalog.pg_conversion.connamespace => pg_catalog.pg_namespace.oid
65
70
Join pg_catalog.pg_conversion.conproc => pg_catalog.pg_proc.oid
66
71
Join pg_catalog.pg_depend.classid => pg_catalog.pg_class.oid
@@ -100,6 +105,9 @@ Join pg_catalog.pg_type.typrelid => pg_catalog.pg_class.oid
100
105
Join pg_catalog.pg_type.typelem => pg_catalog.pg_type.oid
101
106
Join pg_catalog.pg_type.typinput => pg_catalog.pg_proc.oid
102
107
Join pg_catalog.pg_type.typoutput => pg_catalog.pg_proc.oid
108
+ Join pg_catalog.pg_type.typreceive => pg_catalog.pg_proc.oid
109
+ Join pg_catalog.pg_type.typsend => pg_catalog.pg_proc.oid
110
+ Join pg_catalog.pg_type.typbasetype => pg_catalog.pg_type.oid
103
111
104
112
---------------------------------------------------------------------------
105
113
0 commit comments