pgsql: Fix bogus logic for skipping unnecessary partcollationdependenc

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix bogus logic for skipping unnecessary partcollationdependenc
Дата
Msg-id E1gXXKm-0007sK-Bg@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix bogus logic for skipping unnecessary partcollation dependencies.

The idea here is to not call recordDependencyOn for the default collation,
since we know that's pinned.  But what the code actually did was to record
the partition key's dependency on the opclass twice, instead.

Evidently introduced by sloppy coding in commit 2186b608b.  Back-patch
to v10 where that came in.

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/171cae1579124a400e234f89c1fc80f3caed5f68

Modified Files
--------------
src/backend/catalog/heap.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: pgsql: Fix wrong backpatching of ginRedoDeletePage() deadlock fix
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Create a separate oid range for oids assigned by genbki.pl.