Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd5d7d07

Browse files
committed
Again update C comments for pg_attribute.attislocal
1 parent4b4b680 commitd5d7d07

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎src/include/catalog/pg_attribute.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,13 @@ CATALOG(pg_attribute,1249) BKI_BOOTSTRAP BKI_WITHOUT_OIDS BKI_ROWTYPE_OID(75) BK
137137
boolattisdropped;
138138

139139
/*
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.
140+
* This flag specifies whether this column has ever had a local
141+
* definition. It is set for normal non-inherited columns, but also
142+
* 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.
143147
*/
144148
boolattislocal;
145149

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp