feat: support options property

This commit is contained in:
travelliu
2023-08-23 10:57:34 +08:00
parent 423c61ea32
commit ef0eaba37a
4 changed files with 145 additions and 8 deletions

View File

@ -553,8 +553,18 @@ public enum PGProperty {
"if the active node is down, set the timeout threshold for searching for the active node. If the active node is not detected within this timeout period, " +
"the cluster is considered to have no active node and no maintenance is performed on the current cluster. This time should include the RTO time of the active node."),
ADAPTIVE_SET_SQL_TYPE("adaptiveSetSQLType","false","Adaptively modify the inconsistent set sqlType in batch mode. If the first set sqlType is INTEGER and the second set is LONG, " +
"the first one will be automatically modify to LONG")
/**
* Adaptively modify the inconsistent set sqlType in batch mode. If the first set sqlType is INTEGER and
* the second set is LONG, the first one will be automatically modify to LONG
*/
ADAPTIVE_SET_SQL_TYPE("adaptiveSetSQLType", "false", "Adaptively modify the inconsistent set sqlType in batch mode. If the first set sqlType is INTEGER and" +
" the second set is LONG, the first one will be automatically modify to LONG"),
/**
* Specify 'options' connection initialization parameter.
* The value of this parameter may contain spaces and other special characters or their URL representation.
*/
OPTIONS("options", null, "Specify 'options' connection initialization parameter."),
;