mirror of
https://github.com/postgres/postgres.git
synced 2025-11-22 12:22:45 +03:00
Remove pg_attribute.attcacheoff column
The column is no longer needed as the offset is now cached in the
CompactAttribute struct per commit 5983a4cff.
Author: David Rowley
Reviewed-by: Andres Freund, Victor Yegorov
Discussion: https://postgr.es/m/CAApHDvrBztXP3yx=NKNmo3xwFAFhEdyPnvrDg3=M0RhDs+4vYw@mail.gmail.com
This commit is contained in:
@@ -320,7 +320,6 @@ ConstructTupleDescriptor(Relation heapRelation,
|
||||
|
||||
MemSet(to, 0, ATTRIBUTE_FIXED_PART_SIZE);
|
||||
to->attnum = i + 1;
|
||||
to->attcacheoff = -1;
|
||||
to->attislocal = true;
|
||||
to->attcollation = (i < numkeyatts) ? collationIds[i] : InvalidOid;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user