Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
11da9e5c
Commit
11da9e5c
authored
Feb 10, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update findoidjoins notes for 7.1.
parent
fce33c7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
contrib/findoidjoins/README.findoidjoins
contrib/findoidjoins/README.findoidjoins
+11
-8
No files found.
contrib/findoidjoins/README.findoidjoins
View file @
11da9e5c
...
@@ -9,10 +9,10 @@ it on anything but an empty database, such as template1.
...
@@ -9,10 +9,10 @@ it on anything but an empty database, such as template1.
Uses pgeasy library.
Uses pgeasy library.
Run on an empty database, it returns the system join relationships (shown
Run on an empty database, it returns the system join relationships (shown
below for 7.
0
). Note that unexpected matches may indicate bogus entries
below for 7.
1
). Note that unexpected matches may indicate bogus entries
in system tables --- don't accept a peculiar match without question.
in system tables --- don't accept a peculiar match without question.
In particular, a field shown as joining to more than one target table is
In particular, a field shown as joining to more than one target table is
probably messed up. In 7.
0
, the *only* field that should join to more
probably messed up. In 7.
1
, the *only* field that should join to more
than one target is pg_description.objoid. (Running make_oidjoins_check
than one target is pg_description.objoid. (Running make_oidjoins_check
is an easy way to spot fields joining to more than one table, BTW.)
is an easy way to spot fields joining to more than one table, BTW.)
...
@@ -27,14 +27,17 @@ revision in the patterns of cross-links between system tables.
...
@@ -27,14 +27,17 @@ revision in the patterns of cross-links between system tables.
(Ideally we'd just regenerate the script as part of the regression
(Ideally we'd just regenerate the script as part of the regression
tests themselves, but that seems too slow...)
tests themselves, but that seems too slow...)
NOTE: in 7.1, make_oidjoins_check produces two bogus join checks, one for
pg_database.datlastsysoid => pg_description.oid and one for
pg_class.relfilenode => pg_class.oid. These are artifacts and should not
be added to the oidjoins regress test.
---------------------------------------------------------------------------
---------------------------------------------------------------------------
Join pg_aggregate.aggtransfn1 => pg_proc.oid
Join pg_aggregate.aggtransfn => pg_proc.oid
Join pg_aggregate.aggtransfn2 => pg_proc.oid
Join pg_aggregate.aggfinalfn => pg_proc.oid
Join pg_aggregate.aggfinalfn => pg_proc.oid
Join pg_aggregate.aggbasetype => pg_type.oid
Join pg_aggregate.aggbasetype => pg_type.oid
Join pg_aggregate.aggtranstype1 => pg_type.oid
Join pg_aggregate.aggtranstype => pg_type.oid
Join pg_aggregate.aggtranstype2 => pg_type.oid
Join pg_aggregate.aggfinaltype => pg_type.oid
Join pg_aggregate.aggfinaltype => pg_type.oid
Join pg_am.amgettuple => pg_proc.oid
Join pg_am.amgettuple => pg_proc.oid
Join pg_am.aminsert => pg_proc.oid
Join pg_am.aminsert => pg_proc.oid
...
@@ -56,8 +59,8 @@ Join pg_attribute.attrelid => pg_class.oid
...
@@ -56,8 +59,8 @@ Join pg_attribute.attrelid => pg_class.oid
Join pg_attribute.atttypid => pg_type.oid
Join pg_attribute.atttypid => pg_type.oid
Join pg_class.reltype => pg_type.oid
Join pg_class.reltype => pg_type.oid
Join pg_class.relam => pg_am.oid
Join pg_class.relam => pg_am.oid
Join pg_
description.objoid => pg_proc
.oid
Join pg_
class.reltoastrelid => pg_class
.oid
Join pg_
description.objoid => pg_type
.oid
Join pg_
class.reltoastidxid => pg_class
.oid
Join pg_index.indexrelid => pg_class.oid
Join pg_index.indexrelid => pg_class.oid
Join pg_index.indrelid => pg_class.oid
Join pg_index.indrelid => pg_class.oid
Join pg_opclass.opcdeftype => pg_type.oid
Join pg_opclass.opcdeftype => pg_type.oid
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment