summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/catalog/pg_type.h7
-rw-r--r--src/include/nodes/parsenodes.h16
2 files changed, 15 insertions, 8 deletions
diff --git a/src/include/catalog/pg_type.h b/src/include/catalog/pg_type.h
index 7dc1f0620e2..9965a38dbec 100644
--- a/src/include/catalog/pg_type.h
+++ b/src/include/catalog/pg_type.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_type.h,v 1.102 2001/03/22 04:00:41 momjian Exp $
+ * $Id: pg_type.h,v 1.103 2001/03/23 04:49:56 momjian Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
@@ -77,8 +77,9 @@ CATALOG(pg_type) BOOTSTRAP
* be a "real" array type; some ordinary fixed-length types can also
* be subscripted (e.g., oidvector). Variable-length types can *not*
* be turned into pseudo-arrays like that. Hence, the way to determine
- * whether a type is a "true" array type is typelem != 0 and typlen <
- * 0.
+ * whether a type is a "true" array type is if:
+ *
+ * typelem != 0 and typlen < 0.
*/
Oid typelem;
regproc typinput;
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index 3c093dd390f..1614d787bcb 100644
--- a/src/include/nodes/parsenodes.h
+++ b/src/include/nodes/parsenodes.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: parsenodes.h,v 1.125 2001/03/22 04:00:51 momjian Exp $
+ * $Id: parsenodes.h,v 1.126 2001/03/23 04:49:56 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -116,10 +116,16 @@ typedef enum InhOption
typedef struct AlterTableStmt
{
NodeTag type;
- char subtype; /* A = add column, T = alter column, D =
- * drop column, C = add constraint, X =
- * drop constraint, E = add toast table, U
- * = change owner */
+ char subtype; /*------------
+ * A = add column
+ * T = alter column
+ * D = drop column
+ * C = add constraint
+ * X = drop constraint
+ * E = add toast table,
+ * U = change owner
+ *------------
+ */
char *relname; /* table to work on */
InhOption inhOpt; /* recursively act on children? */
char *name; /* column or constraint name to act on, or