mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
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
This commit is contained in:
@@ -1052,8 +1052,6 @@ _copyHash(const Hash *from)
|
||||
COPY_SCALAR_FIELD(skewTable);
|
||||
COPY_SCALAR_FIELD(skewColumn);
|
||||
COPY_SCALAR_FIELD(skewInherit);
|
||||
COPY_SCALAR_FIELD(skewColType);
|
||||
COPY_SCALAR_FIELD(skewColTypmod);
|
||||
|
||||
return newnode;
|
||||
}
|
||||
|
||||
@@ -898,8 +898,6 @@ _outHash(StringInfo str, const Hash *node)
|
||||
WRITE_OID_FIELD(skewTable);
|
||||
WRITE_INT_FIELD(skewColumn);
|
||||
WRITE_BOOL_FIELD(skewInherit);
|
||||
WRITE_OID_FIELD(skewColType);
|
||||
WRITE_INT_FIELD(skewColTypmod);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
@@ -2187,8 +2187,6 @@ _readHash(void)
|
||||
READ_OID_FIELD(skewTable);
|
||||
READ_INT_FIELD(skewColumn);
|
||||
READ_BOOL_FIELD(skewInherit);
|
||||
READ_OID_FIELD(skewColType);
|
||||
READ_INT_FIELD(skewColTypmod);
|
||||
|
||||
READ_DONE();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user