pgsql: Consistently truncate non-key suffix columns.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема pgsql: Consistently truncate non-key suffix columns.
Дата
Msg-id E1jIzhq-0003Ed-2W@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Consistently truncate non-key suffix columns.

INCLUDE indexes failed to have their non-key attributes physically
truncated away in certain rare cases.  This led to physically larger
pivot tuples that contained useless non-key attribute values.  The
impact on users should be negligible, but this is still clearly a
regression (Postgres 11 supports INCLUDE indexes, and yet was not
affected).

The bug appeared in commit dd299df8, which introduced "true" suffix
truncation of key attributes.

Discussion: https://postgr.es/m/CAH2-Wz=E8pkV9ivRSFHtv812H5ckf8s1-yhx61_WrJbKccGcrQ@mail.gmail.com
Backpatch: 12-, where "true" suffix truncation was introduced.

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/97cda93d81dc89ab05703e1c3344525ab268e49f

Modified Files
--------------
src/backend/access/nbtree/nbtutils.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Implement operator class parameters
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: pgsql: Implement operator class parameters