summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2020-06-03 00:05:25 -0400
committerBen Burwell <ben@benburwell.com>2020-06-03 00:05:25 -0400
commitf3e0b43b6b2c8f1a2fee3468100b2d926fad7284 (patch)
tree180ac8efe2f73af0e7a3bc6081435904c996bb48
parent0da52f233b01bd8dcaa9cfa0882726be12358092 (diff)
Add support for more explain node attributes
-rw-r--r--postgres/postgres.go23
1 files changed, 23 insertions, 0 deletions
diff --git a/postgres/postgres.go b/postgres/postgres.go
index 5333f8d..c38bb31 100644
--- a/postgres/postgres.go
+++ b/postgres/postgres.go
@@ -110,6 +110,7 @@ type Plan struct {
Alias *string `json:"Alias"`
RecheckCond *string `json:"Recheck Cond"`
RowsRemovedByIndexRecheck *int `json:"Rows Removed by Index Recheck"`
+ RowsRemovedByFilter *int `json:"Rows Removed by Filter"`
ExactHeapBlocks *int `json:"Exact Heap Blocks"`
LossyHeapBlocks *int `json:"Lossy Heap Blocks"`
IndexName *string `json:"Index Name"`
@@ -117,6 +118,28 @@ type Plan struct {
ScanDirection *string `json:"Scan Direction"`
ParallelAware *bool `json:"Parallel Aware"`
FunctionName *string `json:"Function Name"`
+ TableFunctionName *string `json:"Table Function Name"`
+ CTEName *string `json:"CTE Name"`
+ TuplestoreName *string `json:"Tuplestore Name"`
+ PartialMode *string `json:"Partial Mode"`
+ Operation *string `json:"Operation"`
+ SubplanName *string `json:"Subplan Name"`
+ CustomPlanProvider *string `json:"Custom Plan Provider"`
+ Command *string `json:"Command"`
+ InnerUnique *bool `json:"Inner Unique"`
+ OrderBy *string `json:"Order By"`
+ Filter *string `json:"Filter"`
+ HeapFetches *string `json:"HeapFetches"`
+ WorkersPlanned *int `json:"Workers Planned"`
+ WorkersLaunched *int `json:"Workers Launched"`
+ SingleCopy *bool `json:"Single Copy"`
+ FunctionCall []string `json:"Function Call"`
+ TableFunctionCall []string `json:"Table Function Call"`
+ TIDCond *string `json:"TID Cond"`
+ JoinFilter *string `json:"Join Filter"`
+ MergeCond *string `json:"Merge Cond"`
+ HashCond *string `json:"Hash Cond"`
+ PresortedKey []string `json:"Presorted Key"`
Plans []*Plan `json:"Plans"`
}