-- @testpoint:opengauss关键字pctfree(非保留),作为用户组名
--关键字不带引号-成功
drop group if exists pctfree;
SQL SUCCESS
create group pctfree with password 'gauss@123';
SQL SUCCESS
drop group pctfree;
SQL SUCCESS
--关键字带双引号-成功
drop group if exists "pctfree";
SQL SUCCESS
create group "pctfree" with password 'gauss@123';
SQL SUCCESS
drop group "pctfree";
SQL SUCCESS
--关键字带单引号-合理报错
drop group if exists 'pctfree';
?.*ERROR: syntax error at or near "'pctfree'".*
?.*Position: .*
create group 'pctfree' with password 'gauss@123';
?.*ERROR: syntax error at or near "'pctfree'".*
?.*Position: .*
--关键字带反引号-合理报错
drop group if exists `pctfree`;
?.*ERROR: syntax error at or near "`".*
?.*Position: .*
create group `pctfree` with password 'gauss@123';
?.*ERROR: syntax error at or near "`".*
?.*Position: .*