1999-10-26 05:12:39 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* comment.h
|
2000-04-12 19:17:23 +02:00
|
|
|
*
|
1999-10-26 05:12:39 +02:00
|
|
|
* Prototypes for functions in commands/comment.c
|
|
|
|
*
|
|
|
|
* Copyright (c) 1999, PostgreSQL Global Development Group
|
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef COMMENT_H
|
|
|
|
#define COMMENT_H
|
|
|
|
|
2000-06-15 02:52:26 +02:00
|
|
|
#include "nodes/pg_list.h"
|
|
|
|
|
1999-10-26 05:12:39 +02:00
|
|
|
/*------------------------------------------------------------------
|
|
|
|
* Function Prototypes --
|
2000-04-12 19:17:23 +02:00
|
|
|
*
|
1999-10-26 05:12:39 +02:00
|
|
|
* The following protoypes define the public functions of the comment
|
|
|
|
* related routines. CreateComments() is used to create/drop a comment
|
2000-04-12 19:17:23 +02:00
|
|
|
* for any object with a valid oid. DeleteComments() deletes, if any,
|
|
|
|
* the comments associated with the object. CommentObject() is used to
|
1999-10-26 05:12:39 +02:00
|
|
|
* create comments to be identified by the specific type.
|
|
|
|
*------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
2001-03-22 05:01:46 +01:00
|
|
|
extern void DeleteComments(Oid oid);
|
2000-06-09 00:38:00 +02:00
|
|
|
extern void CommentObject(int objtype, char *objname, char *objproperty,
|
2001-03-22 05:01:46 +01:00
|
|
|
List *objlist, char *comment);
|
1999-10-26 05:12:39 +02:00
|
|
|
|
|
|
|
#endif /* COMMENT_H */
|