Bug #99296 Implement COMMENT ON

Submitted: 18 Apr 2020 12:25 Modified: 18 Apr 2020 18:52
Reporter: Federico Razzoli Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: DDL Severity:S4 (Feature request)
Version: OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[18 Apr 2020 12:25] Federico Razzoli
Description:
Please implement COMMENT ON, which is supported by all major DBMSs (with the exception of SQL Server, but it has a system stored procedure for that):

COMMENT ON <object_type> <object_name> IS [ string | NULL ];

This has several benefits:

* Avoid dropping and recreating an index just to add a comment;
* Avoid repeating a column definition just to add a comment: this is error prone;
* Avoid granting a user ALTER privilege just because we want it to be able to add comments;
* Similarly, avoid granting ALTER ROUTINE, that allows to change the SECURITY clause.

Dataedo CEO stated in a webinar that their tool doesn't add comments to MySQL because they don't want to use ALTER TABLE.

How to repeat:
Repeating a feature request is probably harder than changing this field to only be mandatory for bug :)
[18 Apr 2020 17:57] MySQL Verification Team
Thank you for the report. It only can be verified as Feature Request, so please change it to. Thanks in advance.
[18 Apr 2020 18:16] Federico Razzoli
Yes sorry for the mistake, changing to S4.
[18 Apr 2020 18:52] MySQL Verification Team
Thank you for the feature request.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.051 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.