diff options
| author | Bruce Momjian | 2014-08-29 23:01:04 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2014-08-29 23:01:04 +0000 |
| commit | c6eaa880eea67a711b30903a9ee2e996bccb775e (patch) | |
| tree | eb4e7b182913370a0aaa4ebf04623314349d29d8 | |
| parent | 01363beae52700c7425cb2d2452177133dad3e93 (diff) | |
Update C comment for pg_attribute.attislocal
Indicates if column has ever been local/non-inherited
| -rw-r--r-- | src/include/catalog/pg_attribute.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/catalog/pg_attribute.h b/src/include/catalog/pg_attribute.h index cdde814307..1bd42a8410 100644 --- a/src/include/catalog/pg_attribute.h +++ b/src/include/catalog/pg_attribute.h @@ -136,7 +136,11 @@ CATALOG(pg_attribute,1249) BKI_BOOTSTRAP BKI_WITHOUT_OIDS BKI_ROWTYPE_OID(75) BK /* Is dropped (ie, logically invisible) or not */ bool attisdropped; - /* Has a local definition (hence, do not drop when attinhcount is 0) */ + /* + * Has a local definition (hence, do not drop when attinhcount is 0) + * This is set and remains set if the column was _ever_ + * local/not-inherited, e.g. this can be set by ALTER TABLE NO INHERIT. + */ bool attislocal; /* Number of times inherited from direct parent relation(s) */ |
