mirror of https://github.com/citusdata/citus.git
fix wrong type convertion (#7116)
partitionMethod and replicationModel are both type char, there seems meaningless to convert them to type Oid implicitly.pull/7126/head
parent
a5ce601c07
commit
b10320be6f
|
@ -4987,8 +4987,8 @@ CitusTableTypeIdList(CitusTableType citusTableType)
|
|||
Datum replicationModelDatum = datumArray[Anum_pg_dist_partition_repmodel - 1];
|
||||
Datum colocationIdDatum = datumArray[Anum_pg_dist_partition_colocationid - 1];
|
||||
|
||||
Oid partitionMethod = DatumGetChar(partMethodDatum);
|
||||
Oid replicationModel = DatumGetChar(replicationModelDatum);
|
||||
char partitionMethod = DatumGetChar(partMethodDatum);
|
||||
char replicationModel = DatumGetChar(replicationModelDatum);
|
||||
uint32 colocationId = DatumGetUInt32(colocationIdDatum);
|
||||
|
||||
if (IsCitusTableTypeInternal(partitionMethod, replicationModel, colocationId,
|
||||
|
|
Loading…
Reference in New Issue