diff options
author | Stephen Frost <sfrost@snowman.net> | 2015-09-10 09:22:19 -0400 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2015-09-10 09:22:19 -0400 |
commit | 21a7c077b8278b64e54bfb7b24504a764d0c0167 (patch) | |
tree | 9e3451b0f6bef878626324954d121231efd9523a /src/backend | |
parent | 7786fe004c6b07fa5becdb65870e1f0d8f0ca92f (diff) | |
download | postgresql-21a7c077b8278b64e54bfb7b24504a764d0c0167.tar.gz postgresql-21a7c077b8278b64e54bfb7b24504a764d0c0167.zip |
Fix typo in setrefs.c
We're adding OIDs, not TIDs, to invalItems.
Pointed out by Etsuro Fujita.
Back-patch to all supported branches.
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/optimizer/plan/setrefs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/optimizer/plan/setrefs.c b/src/backend/optimizer/plan/setrefs.c index c80e8a0007f..61a5093cef1 100644 --- a/src/backend/optimizer/plan/setrefs.c +++ b/src/backend/optimizer/plan/setrefs.c @@ -1056,7 +1056,7 @@ copyVar(Var *var) * This is code that is common to all variants of expression-fixing. * We must look up operator opcode info for OpExpr and related nodes, * add OIDs from regclass Const nodes into root->glob->relationOids, and - * add catalog TIDs for user-defined functions into root->glob->invalItems. + * add catalog OIDs for user-defined functions into root->glob->invalItems. * * We assume it's okay to update opcode info in-place. So this could possibly * scribble on the planner's input data structures, but it's OK. |