Commit 045dc52
Fix the regex matching bug of the GUC gp_resource_group_cgroup_parent
This is a code defect of a original GPDB on resource group enabled.
There is a bug to calculate length of pg_wchar in `gpvars_check_gp_resource_group_cgroup_parent` function.
For example, the value "greenplum database" was originally supposed to be judged as an illegal name, and report error:
"gp_resource_group_cgroup_parent can only contains alphabet, number and non-leading . _ -".
But it was wrongly judged as legal.1 parent 4a607d4 commit 045dc52
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
583 | | - | |
| 583 | + | |
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
| |||
0 commit comments