From 89404a01b4dadab8231dfa08cab507191c2ac929 Mon Sep 17 00:00:00 2001 From: John Naylor Date: Sat, 31 Jul 2021 07:25:27 -0400 Subject: [PATCH] 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'; -- 2.39.5