diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-09-22 19:42:52 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-09-22 19:42:52 +0000 |
commit | c328b6dd8bd85d91a0fd465c30b0bb352ea51e2b (patch) | |
tree | 1e519e14923a8f0021b4ee1ac08dcf619ada1f5d /src/include/nodes/parsenodes.h | |
parent | 634e440b582e9b4dcf7d7626964c9f0767dd7f70 (diff) |
Replace pg_attribute.attisinherited with attislocal and attinhcount
columns, to allow more correct behavior in multiple-inheritance cases.
Patch by Alvaro Herrera, review by Tom Lane.
Diffstat (limited to 'src/include/nodes/parsenodes.h')
-rw-r--r-- | src/include/nodes/parsenodes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 56e3922ea9f..cde4acebc21 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: parsenodes.h,v 1.207 2002/09/18 21:35:24 tgl Exp $ + * $Id: parsenodes.h,v 1.208 2002/09/22 19:42:52 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -301,7 +301,8 @@ typedef struct ColumnDef NodeTag type; char *colname; /* name of column */ TypeName *typename; /* type of column */ - bool is_inherited; /* column is inherited? */ + int inhcount; /* number of times column is inherited */ + bool is_local; /* column has local (non-inherited) def'n */ bool is_not_null; /* NOT NULL constraint specified? */ Node *raw_default; /* default value (untransformed parse * tree) */ |