Skip to content

Commit c6eaa88

Browse files
committed
Update C comment for pg_attribute.attislocal
Indicates if column has ever been local/non-inherited
1 parent 01363be commit c6eaa88

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/include/catalog/pg_attribute.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,11 @@ CATALOG(pg_attribute,1249) BKI_BOOTSTRAP BKI_WITHOUT_OIDS BKI_ROWTYPE_OID(75) BK
136136
/* Is dropped (ie, logically invisible) or not */
137137
bool attisdropped;
138138

139-
/* Has a local definition (hence, do not drop when attinhcount is 0) */
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.
143+
*/
140144
bool attislocal;
141145

142146
/* Number of times inherited from direct parent relation(s) */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy