@@ -9,10 +9,10 @@ it on anything but an empty database, such as template1.
9
9
Uses pgeasy library.
10
10
11
11
Run on an empty database, it returns the system join relationships (shown
12
- below for 7.0 ). Note that unexpected matches may indicate bogus entries
12
+ below for 7.1 ). Note that unexpected matches may indicate bogus entries
13
13
in system tables --- don't accept a peculiar match without question.
14
14
In particular, a field shown as joining to more than one target table is
15
- probably messed up. In 7.0 , the *only* field that should join to more
15
+ probably messed up. In 7.1 , the *only* field that should join to more
16
16
than one target is pg_description.objoid. (Running make_oidjoins_check
17
17
is an easy way to spot fields joining to more than one table, BTW.)
18
18
@@ -27,14 +27,17 @@ revision in the patterns of cross-links between system tables.
27
27
(Ideally we'd just regenerate the script as part of the regression
28
28
tests themselves, but that seems too slow...)
29
29
30
+ NOTE: in 7.1, make_oidjoins_check produces two bogus join checks, one for
31
+ pg_database.datlastsysoid => pg_description.oid and one for
32
+ pg_class.relfilenode => pg_class.oid. These are artifacts and should not
33
+ be added to the oidjoins regress test.
34
+
30
35
---------------------------------------------------------------------------
31
36
32
- Join pg_aggregate.aggtransfn1 => pg_proc.oid
33
- Join pg_aggregate.aggtransfn2 => pg_proc.oid
37
+ Join pg_aggregate.aggtransfn => pg_proc.oid
34
38
Join pg_aggregate.aggfinalfn => pg_proc.oid
35
39
Join pg_aggregate.aggbasetype => pg_type.oid
36
- Join pg_aggregate.aggtranstype1 => pg_type.oid
37
- Join pg_aggregate.aggtranstype2 => pg_type.oid
40
+ Join pg_aggregate.aggtranstype => pg_type.oid
38
41
Join pg_aggregate.aggfinaltype => pg_type.oid
39
42
Join pg_am.amgettuple => pg_proc.oid
40
43
Join pg_am.aminsert => pg_proc.oid
@@ -56,8 +59,8 @@ Join pg_attribute.attrelid => pg_class.oid
56
59
Join pg_attribute.atttypid => pg_type.oid
57
60
Join pg_class.reltype => pg_type.oid
58
61
Join pg_class.relam => pg_am.oid
59
- Join pg_description.objoid => pg_proc .oid
60
- Join pg_description.objoid => pg_type .oid
62
+ Join pg_class.reltoastrelid => pg_class .oid
63
+ Join pg_class.reltoastidxid => pg_class .oid
61
64
Join pg_index.indexrelid => pg_class.oid
62
65
Join pg_index.indrelid => pg_class.oid
63
66
Join pg_opclass.opcdeftype => pg_type.oid
0 commit comments