projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dd5ce2
)
Remove redundant setting of pg_attribute.attcompression
author
John Naylor
Sat, 31 Jul 2021 11:25:27 +0000
(07:25 -0400)
committer
John Naylor
Sat, 31 Jul 2021 11:25:27 +0000
(07:25 -0400)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/catalog/genbki.pl
b/src/backend/catalog/genbki.pl
index 70987b14876c04d8bb4c518ff0907476d940e9f4..96bf96d9f0328d39ea66a05f09f7cd45bca3c736 100644
(file)
--- 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';