@@ -50,6 +50,25 @@ Extension knows 53 such elements. I.e. `PlannerInfo->all_relids` or `RelOptInfo-
50
50
51
51
![ Bitmapset references] ( resources/bitmapset-refs.gif )
52
52
53
+ ### Show Expr in their text representation
54
+
55
+ In members of ` Expr ` nodes you can see their text representation.
56
+ I.e. for ` OpExpr ` you will see something like ` a.x = 1 ` .
57
+ This works for most of ` Exprs ` , except * bulky* (` SubPlan ` , ` Case ` , ...).
58
+
59
+ ![ Show Exprs text representation] ( ./resources/expr_repr.gif )
60
+
61
+ Also, there are shortcuts for: ` EquivalenceMember ` , ` RestrictInfo ` and ` TargetEntry ` .
62
+ Their expressions are displayed right after their member, so you will not have to keep opening and closing variables to see what's inside.
63
+ A quick glance will make it clear what's inside!
64
+
65
+ ![ Expressions of equivalence members displayed immediately] ( ./resources/ec_members_exprs.png )
66
+
67
+ > NOTE: not all and not always ` Expr ` s will be displayed.
68
+ > Some of subtypes just not supported (i.e. ` SubPlan ` or ` Case ` ).
69
+ > Also, for displaying representation it's required to have range table.
70
+ > In such cases placeholder is displayed.
71
+
53
72
### Dump ` Node * ` state to log
54
73
55
74
In PostgreSQL there is ` pprint(Node *) ` which dumps passed Node variable to
@@ -223,6 +242,12 @@ Known issues:
223
242
224
243
## Release Notes
225
244
245
+ ### 1.6.0
246
+
247
+ Show expression representation of ` Expr ` nodes.
248
+
249
+ Show expression of ` TargetEntry ` , ` EquivalenceMember ` and ` RestrictInfo ` in description field to quick check elements of corresponding arrays.
250
+
226
251
### 1.5.1
227
252
228
253
Update contents of created configuration file (by command).
0 commit comments