mirror of
https://github.com/postgres/postgres.git
synced 2025-05-22 00:02:02 -04:00
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)
23 lines
578 B
C
23 lines
578 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* creatinh.h
|
|
* prototypes for creatinh.c.
|
|
*
|
|
*
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: creatinh.h,v 1.12 1999/10/26 03:12:38 momjian Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef CREATINH_H
|
|
#define CREATINH_H
|
|
|
|
#include "nodes/parsenodes.h"
|
|
|
|
extern void DefineRelation(CreateStmt *stmt, char relkind);
|
|
extern void RemoveRelation(char *name);
|
|
extern void TruncateRelation(char *name);
|
|
|
|
#endif /* CREATINH_H */
|