mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-06 12:20:15 +01:00
Fix typo in setrefs.c
We're adding OIDs, not TIDs, to invalItems. Pointed out by Etsuro Fujita. Back-patch to all supported branches.
This commit is contained in:
parent
6698567142
commit
0473e04787
|
|
@ -765,7 +765,7 @@ copyVar(Var *var)
|
||||||
* This is code that is common to all variants of expression-fixing.
|
* This is code that is common to all variants of expression-fixing.
|
||||||
* We must look up operator opcode info for OpExpr and related nodes,
|
* We must look up operator opcode info for OpExpr and related nodes,
|
||||||
* add OIDs from regclass Const nodes into glob->relationOids,
|
* add OIDs from regclass Const nodes into glob->relationOids,
|
||||||
* and add catalog TIDs for user-defined functions into glob->invalItems.
|
* and add catalog OIDs for user-defined functions into glob->invalItems.
|
||||||
*
|
*
|
||||||
* We assume it's okay to update opcode info in-place. So this could possibly
|
* 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.
|
* scribble on the planner's input data structures, but it's OK.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user