diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-11-26 09:57:23 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-11-26 09:57:23 +0100 |
commit | 36cb5e7c512bef394c9288786c62ef0eb1e891ba (patch) | |
tree | f5825813ce0af3e2d1a8bfc1df6dbe86aa883603 /src/backend/access/common | |
parent | 99e4d24a9d77e7bb87e15b318e96dc36651a7da2 (diff) | |
download | postgresql-36cb5e7c512bef394c9288786c62ef0eb1e891ba.tar.gz postgresql-36cb5e7c512bef394c9288786c62ef0eb1e891ba.zip |
Update comments
Various places wanted to point out that tuple descriptors don't
contain the variable-length fields of pg_attribute. This started when
attacl was added, but more fields have been added since, and these
comments haven't been kept up to date consistently. Reword so that
the purpose is clearer and we don't have to keep updating them.
Diffstat (limited to 'src/backend/access/common')
-rw-r--r-- | src/backend/access/common/tupdesc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/common/tupdesc.c b/src/backend/access/common/tupdesc.c index 4c63bd4dc64..9b506471fed 100644 --- a/src/backend/access/common/tupdesc.c +++ b/src/backend/access/common/tupdesc.c @@ -630,7 +630,7 @@ TupleDescInitEntry(TupleDesc desc, att->attisdropped = false; att->attislocal = true; att->attinhcount = 0; - /* attacl, attoptions and attfdwoptions are not present in tupledescs */ + /* variable-length fields are not present in tupledescs */ tuple = SearchSysCache1(TYPEOID, ObjectIdGetDatum(oidtypeid)); if (!HeapTupleIsValid(tuple)) @@ -691,7 +691,7 @@ TupleDescInitBuiltinEntry(TupleDesc desc, att->attisdropped = false; att->attislocal = true; att->attinhcount = 0; - /* attacl, attoptions and attfdwoptions are not present in tupledescs */ + /* variable-length fields are not present in tupledescs */ att->atttypid = oidtypeid; |