git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 626731d) | patch
pageinspect: Improve page_header() for pages of 32kB
2021年7月12日 02:05:27 +0000 (11:05 +0900)
2021年7月12日 02:05:27 +0000 (11:05 +0900)
commit 127404fbe28455d6e8183fa58f3b7aefeba8f909
pageinspect: Improve page_header() for pages of 32kB

ld_upper, ld_lower, pd_special and the page size have been using
smallint as return type, which could cause those fields to return
negative values in certain cases for builds configures with a page size
of 32kB.

Bump pageinspect to 1.10. page_header() is able to handle the correct
return type of those fields at runtime when using an older version of
the extension, with some tests are added to cover that.

Author: Quan Zongliang
Reviewed-by: Michael Paquier, Bharath Rupireddy
Discussion: https://postgr.es/m/8b8ec36e-61fe-14f9-005d-07bc85aa4eed@yeah.net
contrib/pageinspect/Makefile diff | blob | blame | history
contrib/pageinspect/expected/oldextversions.out diff | blob | blame | history
contrib/pageinspect/pageinspect--1.9--1.10.sql [new file with mode: 0644] blob
contrib/pageinspect/pageinspect.control diff | blob | blame | history
contrib/pageinspect/rawpage.c diff | blob | blame | history
contrib/pageinspect/sql/oldextversions.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /