~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to src/include/commands/comment.h

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*-------------------------------------------------------------------------
 
2
 *
 
3
 * comment.h
 
4
 *
 
5
 * Prototypes for functions in commands/comment.c
 
6
 *
 
7
 * Copyright (c) 1999-2005, PostgreSQL Global Development Group
 
8
 *
 
9
 *-------------------------------------------------------------------------
 
10
 */
 
11
 
 
12
#ifndef COMMENT_H
 
13
#define COMMENT_H
 
14
 
 
15
#include "nodes/parsenodes.h"
 
16
 
 
17
/*------------------------------------------------------------------
 
18
 * Function Prototypes --
 
19
 *
 
20
 * The following prototypes define the public functions of the comment
 
21
 * related routines.  CommentObject() implements the SQL "COMMENT ON"
 
22
 * command.  DeleteComments() deletes all comments for an object.
 
23
 * CreateComments creates (or deletes, if comment is NULL) a comment
 
24
 * for a specific key.
 
25
 *------------------------------------------------------------------
 
26
 */
 
27
 
 
28
extern void CommentObject(CommentStmt *stmt);
 
29
 
 
30
extern void DeleteComments(Oid oid, Oid classoid, int32 subid);
 
31
 
 
32
extern void CreateComments(Oid oid, Oid classoid, int32 subid, char *comment);
 
33
 
 
34
#endif   /* COMMENT_H */