digraph { graph [rankdir = "LR", label = "Plan Tree: SELECT ID, name FROM employee LIMIT 3;"] node [shape=record,style=filled,fillcolor=gray95] edge [arrowtail=empty] 17[label = " Alias (17)|aliasname: employee| colnames: "] 19[label = " String (19)|id"] 18[label = " List (18)|<1> [0]|<2> [1]|<3> [2]|<4> [3]|<5> [4]|<6> [5]"] 20[label = " String (20)|name"] 21[label = " String (21)|salary"] 22[label = " String (22)|start_date"] 23[label = " String (23)|city"] 24[label = " String (24)|region"] 16[label = " RangeTblEntry(RTE) (16)| eref: |rtekind: RTE_RELATION|relid: 41003|relkind: 114|inh: false|inFromCl: true|requiredPerms: 2|selectedCols: (b 9 10)|modifiedCols: (b)"] 8[label = " SeqScan (8)|startup_cost: 0.00|total_cost: 16.40|plan_rows: 640|plan_width: 42| targetlist: |extParam: (b)|allParam: (b)|scanrelid: 1"] 2[label = " Limit (2)|startup_cost: 0.00|total_cost: 0.08|plan_rows: 3|plan_width: 42| targetlist: | lefttree: |extParam: (b)|allParam: (b)| limitCount: "] 15[label = " List (15)|<1> [0]"] 25[label = " OidList (25)|41003 "] 1[label = " PlannedStmt (1)|commandType: CMD_SELECT|queryId: 0|hasReturning: false|hasModifyingCTE: false|canSetTag: true|transientPlan: false| planTree: | rtable: |rewindPlanIDs: (b)| relationOids: |nParamExec: 0"] 17:colnames -> 18:head [headlabel = "17", taillabel = "18"] 18:1 -> 19:head [headlabel = "18", taillabel = "19"] 18:2 -> 20:head [headlabel = "18", taillabel = "20"] 18:3 -> 21:head [headlabel = "18", taillabel = "21"] 18:4 -> 22:head [headlabel = "18", taillabel = "22"] 18:5 -> 23:head [headlabel = "18", taillabel = "23"] 18:6 -> 24:head [headlabel = "18", taillabel = "24"] 16:eref -> 17:head [headlabel = "16", taillabel = "17"] 8:targetlist -> 9:head [headlabel = "8", taillabel = "9"] 2:lefttree -> 8:head [headlabel = "2", taillabel = "8"] 2:limitCount -> 14:head [headlabel = "2", taillabel = "14"] 2:targetlist -> 3:head [headlabel = "2", taillabel = "3"] 15:1 -> 16:head [headlabel = "15", taillabel = "16"] 1:planTree -> 2:head [headlabel = "1", taillabel = "2"] 1:rtable -> 15:head [headlabel = "1", taillabel = "15"] 1:relationOids -> 25:head [headlabel = "1", taillabel = "25"] subgraph cluster_0 { label = "Target List"; 10[label = " TargetEntry (10)| expr: |resno: 1|resname: id|resorigtbl: 41003|resorigcol: 1|resjunk: false"] 11[label = " Var (11)|varno: 1|varattno: 1|vartype: 23|vartypmod: -1|varlevelsup: 0|varnoold: 1|varoattno: 1|location: 7"] 9[label = " List (9)|<1> [0]|<2> [1]"] 12[label = " TargetEntry (12)| expr: |resno: 2|resname: name|resorigtbl: 41003|resorigcol: 2|resjunk: false"] 13[label = " Var (13)|varno: 1|varattno: 2|vartype: 1043|vartypmod: 14|varcollid: 100|varlevelsup: 0|varnoold: 1|varoattno: 2|location: 11"] 10:expr -> 11:head [headlabel = "10", taillabel = "11"] 9:1 -> 10:head [headlabel = "9", taillabel = "10"] 9:2 -> 12:head [headlabel = "9", taillabel = "12"] 12:expr -> 13:head [headlabel = "12", taillabel = "13"] } subgraph cluster_1 { label = "Express Tree"; 14[label = " Const (14)|consttype: 20|consttypmod: -1|constlen: 8|constbyval: true|constisnull: false"] } subgraph cluster_2 { label = "Target List"; 5[label = " Var (5)|varno: OUTER_VAR|varattno: 1|vartype: 23|vartypmod: -1|varlevelsup: 0|varnoold: 1|varoattno: 1"] 4[label = " TargetEntry (4)| expr: |resno: 1|resname: id|resorigtbl: 41003|resorigcol: 1|resjunk: false"] 3[label = " List (3)|<1> [0]|<2> [1]"] 7[label = " Var (7)|varno: OUTER_VAR|varattno: 2|vartype: 1043|vartypmod: 14|varcollid: 100|varlevelsup: 0|varnoold: 1|varoattno: 2"] 6[label = " TargetEntry (6)| expr: |resno: 2|resname: name|resorigtbl: 41003|resorigcol: 2|resjunk: false"] 4:expr -> 5:head [headlabel = "4", taillabel = "5"] 3:1 -> 4:head [headlabel = "3", taillabel = "4"] 3:2 -> 6:head [headlabel = "3", taillabel = "6"] 6:expr -> 7:head [headlabel = "6", taillabel = "7"] } }