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
390e59cd
Commit
390e59cd
authored
Aug 20, 2008
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix obsolete comment. It's no longer the case that Param nodes don't
carry typmod.
parent
0ba9b565
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
src/backend/optimizer/plan/subselect.c
src/backend/optimizer/plan/subselect.c
+4
-9
No files found.
src/backend/optimizer/plan/subselect.c
View file @
390e59cd
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/optimizer/plan/subselect.c,v 1.13
5 2008/08/17 02:19:19
tgl Exp $
* $PostgreSQL: pgsql/src/backend/optimizer/plan/subselect.c,v 1.13
6 2008/08/20 15:49:30
tgl Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -94,14 +94,9 @@ replace_outer_var(PlannerInfo *root, Var *var)
...
@@ -94,14 +94,9 @@ replace_outer_var(PlannerInfo *root, Var *var)
* NOTE: in sufficiently complex querytrees, it is possible for the same
* NOTE: in sufficiently complex querytrees, it is possible for the same
* varno/abslevel to refer to different RTEs in different parts of the
* varno/abslevel to refer to different RTEs in different parts of the
* parsetree, so that different fields might end up sharing the same Param
* parsetree, so that different fields might end up sharing the same Param
* number. As long as we check the vartype as well, I believe that this
* number. As long as we check the vartype/typmod as well, I believe that
* sort of aliasing will cause no trouble. The correct field should get
* this sort of aliasing will cause no trouble. The correct field should
* stored into the Param slot at execution in each part of the tree.
* get stored into the Param slot at execution in each part of the tree.
*
* We also need to demand a match on vartypmod. This does not matter for
* the Param itself, since those are not typmod-dependent, but it does
* matter when make_subplan() instantiates a modified copy of the Var for
* a subplan's args list.
*/
*/
i
=
0
;
i
=
0
;
foreach
(
ppl
,
root
->
glob
->
paramlist
)
foreach
(
ppl
,
root
->
glob
->
paramlist
)
...
...
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