Results 19 issues of Xing Guo

There's a dependency called [`atty`](https://github.com/softprops/atty) and it's indirectly used by `linfa`. It has a security issue[^1] and hasn't been maintained for a long time. This patch resolve the issue by...

This patch fixes several type mismatching issues. 1. The DistributedTransactionId is of type uint64, we shouldn't cast it to TransactionId which is of type uint32. 2. The Cost is of...

cla-not-required

Currently, gpconfig is able to escape `'$'` in GUC values correctly, we don't need to add additional backslash to escape it. Fix #17286

cla-not-required

After testing, unfortunately, this only works properly on macOS, CentOS ... Ubuntu and Fedora have some bugs with the output ...

bug

This patch helps add checks for potential overflows when converting other date time types to timestamp9 and adds checks for validating then timestamp9 values range [1900-01-01 00:00:00.000000000 UTC+0, 2262-01-01 00:00:00.000000000...

This patch adds support for getting current timestamp in nano second precision by using clock_gettime() [1]. I didn't have a Windows machine so I didn't implement it for Windows. Feedbacks...

We should validate timestamp values when doing conversions. E.g., ``` =# select '2362-04-01'::timestamp::timestamp9; timestamp9 ------------------------------------- 1777-09-10 00:31:09.290448384 +0805 (1 row) ``` I will propose PR to fix this issue.