From c328b6dd8bd85d91a0fd465c30b0bb352ea51e2b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 22 Sep 2002 19:42:52 +0000 Subject: Replace pg_attribute.attisinherited with attislocal and attinhcount columns, to allow more correct behavior in multiple-inheritance cases. Patch by Alvaro Herrera, review by Tom Lane. --- doc/src/sgml/catalogs.sgml | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 01dfe6ad73b..1a3765ab633 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -1,6 +1,6 @@ @@ -822,12 +822,22 @@ - attisinherited + attislocal bool - This column is inherited from some other relation. An inherited - column cannot be dropped nor renamed. + This column is defined locally in the relation. Note that a column may + be locally defined and inherited simultaneously. + + + + + attinhcount + int4 + + + The number of direct ancestors this column has. A column with a + nonzero number of ancestors cannot be dropped nor renamed. @@ -1213,8 +1223,8 @@ 'c' = check constraint, - 'f' = foreign key constraint, - 'p' = primary key constraint, + 'f' = foreign key constraint, + 'p' = primary key constraint, 'u' = unique constraint @@ -3316,7 +3326,7 @@ when storing a value of this type. It applies to storage on disk as well as most representations of the value inside PostgreSQL. - When multiple values are stored consecutively, such + When multiple values are stored consecutively, such as in the representation of a complete row on disk, padding is inserted before a datum of this type so that it begins on the specified boundary. The alignment reference is the beginning -- cgit v1.2.3