diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-06-24 15:14:04 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-06-24 15:14:04 +0900 |
commit | a3554b2d718520cbd16c13ff5c9f2e8257846170 (patch) | |
tree | afc80a38c54ba5e45c8c7b553d5fd94770ff2c73 /src | |
parent | 7ce461560159948ba0c802c767e42c5f5ae08b4a (diff) | |
download | postgresql-a3554b2d718520cbd16c13ff5c9f2e8257846170.tar.gz postgresql-a3554b2d718520cbd16c13ff5c9f2e8257846170.zip |
Fix comment in heap.c
The description of InsertPgAttributeTuple() does not match its handling
of pg_attribute contents with NULL values for a long time, with 911e702
making things more inconsistent. This adjusts the description to match
the reality.
Author: Daniel Gustafsson
Discussion: https://postgr.es/m/4E4E4B33-9FDF-4D21-B77A-642D027AEAD9@yesql.se
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/catalog/heap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/catalog/heap.c b/src/backend/catalog/heap.c index 9c455448156..3c83fe6bab4 100644 --- a/src/backend/catalog/heap.c +++ b/src/backend/catalog/heap.c @@ -714,8 +714,8 @@ CheckAttributeType(const char *attname, * Construct and insert a new tuple in pg_attribute. * * Caller has already opened and locked pg_attribute. new_attribute is the - * attribute to insert. attcacheoff is always initialized to -1, attacl and - * attoptions are always initialized to NULL. + * attribute to insert. attcacheoff is always initialized to -1, attacl, + * attfdwoptions and attmissingval are always initialized to NULL. * * indstate is the index state for CatalogTupleInsertWithInfo. It can be * passed as NULL, in which case we'll fetch the necessary info. (Don't do |