DROP RESOURCE LABEL
Function
DROP RESOURCE LABEL deletes a resource label.
Precautions
Only user poladmin, user sysadmin, or the initial user can perform this operation.
Syntax
1
|
DROP RESOURCE LABEL [IF EXISTS] policy_name[, ...]*; |
Parameter Description
label_name
Specifies the resource label name.
Value range: a string. It must comply with the naming convention.
Examples
1 2 3 4 5 |
-- Delete a resource label. openGauss=# DROP RESOURCE LABEL IF EXISTS res_label1; -- Delete a group of resource labels. openGauss=# DROP RESOURCE LABEL IF EXISTS res_label1, res_label2, res_label3; |
Helpful Links
5.1.13.14.17-ALTER RESOURCE LABEL and 5.1.13.14.64-CREATE RESOURCE LABEL
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot