diff options
| author | Tom Lane | 2002-08-30 19:23:20 +0000 |
|---|---|---|
| committer | Tom Lane | 2002-08-30 19:23:20 +0000 |
| commit | e2d156fa6e8a72fe36b956ea12f2eb09c9320792 (patch) | |
| tree | 5ad356c7ce82255f91a5ec6d36d911c2116f9f3e /src/include/nodes | |
| parent | 96fd7192e7102f9cfc10415c614e3dec19a5227e (diff) | |
Add attisinherited column to pg_attribute; use it to guard against
column additions, deletions, and renames that would let a child table
get out of sync with its parent. Patch by Alvaro Herrera, with some
kibitzing by Tom Lane.
Diffstat (limited to 'src/include/nodes')
| -rw-r--r-- | src/include/nodes/parsenodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 25ec8a3542..19d52d7217 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.202 2002/08/27 04:55:12 tgl Exp $ + * $Id: parsenodes.h,v 1.203 2002/08/30 19:23:20 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -279,6 +279,7 @@ typedef struct ColumnDef NodeTag type; char *colname; /* name of column */ TypeName *typename; /* type of column */ + bool is_inherited; /* column is inherited? */ bool is_not_null; /* NOT NULL constraint specified? */ Node *raw_default; /* default value (untransformed parse * tree) */ |
