postgres.git / summary / log / commit / refs

commit    89404a01b4dadab8231dfa08cab507191c2ac929
Author:   John Naylor <john.naylor@postgresql.org>
Date:     Sat Jul 31 11:25:27 2021 +0000
First released in: 15.0

    Remove redundant setting of pg_attribute.attcompression
    
    Since e6241d8e0, no attribute needs a non-default value of this during
    initdb, so let the usual machinery for defaults take care of it.


src/backend/catalog/genbki.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/catalog/genbki.pl b/src/backend/catalog/genbki.pl index 70987b14876..96bf96d9f03 100644 --- a/src/backend/catalog/genbki.pl +++ b/src/backend/catalog/genbki.pl @@ -905,7 +905,6 @@ sub morph_row_for_pgattr $row->{attbyval} = $type->{typbyval}; $row->{attalign} = $type->{typalign}; $row->{attstorage} = $type->{typstorage}; - $row->{attcompression} = '\0'; # set attndims if it's an array type $row->{attndims} = $type->{typcategory} eq 'A' ? '1' : '0'; [parent: 4dd5ce2fd9b9]