We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent4b4b680 commitd5d7d07Copy full SHA for d5d7d07
src/include/catalog/pg_attribute.h
@@ -137,9 +137,13 @@ CATALOG(pg_attribute,1249) BKI_BOOTSTRAP BKI_WITHOUT_OIDS BKI_ROWTYPE_OID(75) BK
137
boolattisdropped;
138
139
/*
140
- * Has a local definition (hence, do not drop when attinhcount is 0)
141
- * This is set and remains set if the column was _ever_
142
- * local/not-inherited, e.g. this can be set by ALTER TABLE NO INHERIT.
+ * This flag specifies whether this column has ever had a local
+ * definition. It is set for normal non-inherited columns, but also
+ * for columns that are inherited from parents if also explicitly listed
143
+ * in CREATE TABLE INHERITS. It is also set when inheritance is removed
144
+ * from a table with ALTER TABLE NO INHERIT. If the flag is set, the
145
+ * column is not dropped by a parent's DROP COLUMN even if this causes
146
+ * the column's attinhcount to become zero.
147
*/
148
boolattislocal;
149