gpdb
gpdb copied to clipboard
[7X][NFC] Fix mismatched types.
This patch fixes several type mismatching issues.
-
The DistributedTransactionId is of type uint64, we shouldn't cast it to TransactionId which is of type uint32.
-
The Cost is of type Float8, we should use Float8GetDatum to cast it to Datum.