From c6eaa880eea67a711b30903a9ee2e996bccb775e Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 29 Aug 2014 19:01:04 -0400 Subject: [PATCH] Update C comment for pg_attribute.attislocal Indicates if column has ever been local/non-inherited --- src/include/catalog/pg_attribute.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) */ -- 2.40.0