diff options
Diffstat (limited to 'src/include/nodes')
| -rw-r--r-- | src/include/nodes/nodes.h | 3 | ||||
| -rw-r--r-- | src/include/nodes/parsenodes.h | 14 |
2 files changed, 15 insertions, 2 deletions
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h index 08705ea9f6..09f60466f4 100644 --- a/src/include/nodes/nodes.h +++ b/src/include/nodes/nodes.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: nodes.h,v 1.54 1999/10/02 21:33:33 tgl Exp $ + * $Id: nodes.h,v 1.55 1999/10/15 01:49:47 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -152,6 +152,7 @@ typedef enum NodeTag T_DefineStmt, T_DestroyStmt, T_TruncateStmt, + T_CommentStmt, T_ExtendStmt, T_FetchStmt, T_IndexStmt, diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 1556bf3869..208b31d740 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: parsenodes.h,v 1.84 1999/10/07 04:23:17 tgl Exp $ + * $Id: parsenodes.h,v 1.85 1999/10/15 01:49:47 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -309,6 +309,18 @@ typedef struct TruncateStmt NodeTag type; char *relName; /* relation to be truncated */ } TruncateStmt; + +/* ---------------------- + * Comment On Statement + * ---------------------- + */ +typedef struct CommentStmt +{ + NodeTag type; + char *relname; /* relation to create/drop comment */ + char *attrname; /* attribute to comment on */ + char *comment; /* the actual comment */ +} CommentStmt; /* ---------------------- * Extend Index Statement |
