diff options
author | Tom Lane | 2001-02-14 21:35:07 +0000 |
---|---|---|
committer | Tom Lane | 2001-02-14 21:35:07 +0000 |
commit | 4a66f9dd54694eb4d7ecce2c7e0f0c50dfde88cd (patch) | |
tree | 8810441569d5cf2e29f2a5c2b67ceb91d74deb2d /src/tools/backend | |
parent | d42d31e78e2f9db73edb0b0ed35cafb1c409bdbf (diff) |
Change scoping of table and join refnames to conform to SQL92: a JOIN
clause with an alias is a <subquery> and therefore hides table references
appearing within it, according to the spec. This is the same as the
preliminary patch I posted to pgsql-patches yesterday, plus some really
grotty code in ruleutils.c to reverse-list a query tree with the correct
alias name depending on context. I'd rather not have done that, but unless
we want to force another initdb for 7.1, there's no other way for now.
Diffstat (limited to 'src/tools/backend')
-rw-r--r-- | src/tools/backend/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/backend/index.html b/src/tools/backend/index.html index 03a5a643e0..cfcc6c6ac9 100644 --- a/src/tools/backend/index.html +++ b/src/tools/backend/index.html @@ -67,7 +67,7 @@ Each table referenced in the query is represented by a <A HREF="../../include/nodes/parsenodes.h"> RangeTableEntry,</A> and they are linked together to form the <I>range table</I> of the query, which is generated by <A HREF="../../backend/parser/parse_clause.c"> -makeRangeTable().</A> Query.rtable holds the query's range table.<P> +transformFromClause().</A> Query.rtable holds the query's range table.<P> Certain queries, like <I>SELECT,</I> return columns of data. Other |