summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-05-14 11:07:40 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-05-14 11:07:40 -0400
commitf6747434873693e001737ca06c30dcbcc2320b20 (patch)
tree5f0cbac59a1c528f91884a9b6ea239348fe67001 /src/include
parentf04c9a61468904b6815b2bc73a48878817766e0e (diff)
Remove no-longer-needed fields of Hash plan nodes.
skewColType/skewColTypmod are no longer used in the wake of commit 9aab83fc5, and seem unlikely to be wanted in future, so let's drop 'em. Discussion: https://postgr.es/m/16364.1494520862@sss.pgh.pa.us
Diffstat (limited to 'src/include')
-rw-r--r--src/include/nodes/plannodes.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/include/nodes/plannodes.h b/src/include/nodes/plannodes.h
index 164105a3a9d..0b08e49dd4b 100644
--- a/src/include/nodes/plannodes.h
+++ b/src/include/nodes/plannodes.h
@@ -858,8 +858,7 @@ typedef struct GatherMerge
*
* If the executor is supposed to try to apply skew join optimization, then
* skewTable/skewColumn/skewInherit identify the outer relation's join key
- * column, from which the relevant MCV statistics can be fetched. Also, its
- * type information is provided to save a lookup.
+ * column, from which the relevant MCV statistics can be fetched.
* ----------------
*/
typedef struct Hash
@@ -868,8 +867,6 @@ typedef struct Hash
Oid skewTable; /* outer join key's table OID, or InvalidOid */
AttrNumber skewColumn; /* outer join key's column #, or zero */
bool skewInherit; /* is outer join rel an inheritance tree? */
- Oid skewColType; /* datatype of the outer key column */
- int32 skewColTypmod; /* typmod of the outer key column */
/* all other info is in the parent HashJoin node */
} Hash;