mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Hello.
The following patch extends the COMMENT ON functionality to the rest of the database objects beyond just tables, columns, and views. The grammer of the COMMENT ON statement now looks like: COMMENT ON [ [ DATABASE | INDEX | RULE | SEQUENCE | TABLE | TYPE | VIEW ] <objname> | COLUMN <relation>.<attribute> | AGGREGATE <aggname> <aggtype> | FUNCTION <funcname> (arg1, arg2, ...) | OPERATOR <op> (leftoperand_typ rightoperand_typ) | TRIGGER <triggername> ON relname> Mike Mascari (mascarim@yahoo.com)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: creatinh.h,v 1.11 1999/10/15 01:49:46 momjian Exp $
|
||||
* $Id: creatinh.h,v 1.12 1999/10/26 03:12:38 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -18,6 +18,5 @@
|
||||
extern void DefineRelation(CreateStmt *stmt, char relkind);
|
||||
extern void RemoveRelation(char *name);
|
||||
extern void TruncateRelation(char *name);
|
||||
extern void CommentRelation(char *name, char *attr, char *comment);
|
||||
|
||||
#endif /* CREATINH_H */
|
||||
|
||||
Reference in New Issue
Block a user