Skip to content

Commit dcfc5bc

Browse files
committed
Execute expression using CustomConst node
1 parent 480ff13 commit dcfc5bc

File tree

3 files changed

+76
-388
lines changed

3 files changed

+76
-388
lines changed

src/include/relation_info.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,18 @@ typedef struct
159159
Oid parent_rel;
160160
} PartParentInfo;
161161

162+
/*
163+
* CustomConst
164+
* Const with Var pointer
165+
* We can know that is CustomConst by checking `location`. It should be
166+
* equal -2
167+
*/
168+
typedef struct
169+
{
170+
Const cns;
171+
Var *orig;
172+
} CustomConst;
173+
162174
/*
163175
* PartParentSearch
164176
* Represents status of a specific cached entry.

0 commit comments

Comments
 (0)