aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2014-08-29 19:01:04 -0400
committerBruce Momjian <bruce@momjian.us>2014-08-29 19:01:04 -0400
commitc6eaa880eea67a711b30903a9ee2e996bccb775e (patch)
treeeb4e7b182913370a0aaa4ebf04623314349d29d8 /src
parent01363beae52700c7425cb2d2452177133dad3e93 (diff)
downloadpostgresql-c6eaa880eea67a711b30903a9ee2e996bccb775e.tar.gz
postgresql-c6eaa880eea67a711b30903a9ee2e996bccb775e.zip
Update C comment for pg_attribute.attislocal
Indicates if column has ever been local/non-inherited
Diffstat (limited to 'src')
-rw-r--r--src/include/catalog/pg_attribute.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/catalog/pg_attribute.h b/src/include/catalog/pg_attribute.h
index cdde814307e..1bd42a8410f 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) */